ParameterGroup
Provides a DAX Parameter Group resource.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Dax.ParameterGroup("example", new Aws.Dax.ParameterGroupArgs
{
Parameters =
{
new Aws.Dax.Inputs.ParameterGroupParameterArgs
{
Name = "query-ttl-millis",
Value = "100000",
},
new Aws.Dax.Inputs.ParameterGroupParameterArgs
{
Name = "record-ttl-millis",
Value = "100000",
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/dax"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dax.NewParameterGroup(ctx, "example", &dax.ParameterGroupArgs{
Parameters: dax.ParameterGroupParameterArray{
&dax.ParameterGroupParameterArgs{
Name: pulumi.String("query-ttl-millis"),
Value: pulumi.String("100000"),
},
&dax.ParameterGroupParameterArgs{
Name: pulumi.String("record-ttl-millis"),
Value: pulumi.String("100000"),
},
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
example = aws.dax.ParameterGroup("example", parameters=[
{
"name": "query-ttl-millis",
"value": "100000",
},
{
"name": "record-ttl-millis",
"value": "100000",
},
])import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.dax.ParameterGroup("example", {
parameters: [
{
name: "query-ttl-millis",
value: "100000",
},
{
name: "record-ttl-millis",
value: "100000",
},
],
});Create a ParameterGroup Resource
new ParameterGroup(name: string, args?: ParameterGroupArgs, opts?: CustomResourceOptions);def ParameterGroup(resource_name, opts=None, description=None, name=None, parameters=None, __props__=None);func NewParameterGroup(ctx *Context, name string, args *ParameterGroupArgs, opts ...ResourceOption) (*ParameterGroup, error)public ParameterGroup(string name, ParameterGroupArgs? args = null, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ParameterGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ParameterGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ParameterGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
ParameterGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ParameterGroup resource accepts the following input properties:
- Description string
A description of the parameter group.
- Name string
The name of the parameter group.
- Parameters
List<Parameter
Group Parameter Args> The parameters of the parameter group.
- Description string
A description of the parameter group.
- Name string
The name of the parameter group.
- Parameters
[]Parameter
Group Parameter The parameters of the parameter group.
- description string
A description of the parameter group.
- name string
The name of the parameter group.
- parameters
Parameter
Group Parameter[] The parameters of the parameter group.
- description str
A description of the parameter group.
- name str
The name of the parameter group.
- parameters
List[Parameter
Group Parameter] The parameters of the parameter group.
Outputs
All input properties are implicitly available as output properties. Additionally, the ParameterGroup resource produces the following output properties:
Look up an Existing ParameterGroup Resource
Get an existing ParameterGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ParameterGroupState, opts?: CustomResourceOptions): ParameterGroupstatic get(resource_name, id, opts=None, description=None, name=None, parameters=None, __props__=None);func GetParameterGroup(ctx *Context, name string, id IDInput, state *ParameterGroupState, opts ...ResourceOption) (*ParameterGroup, error)public static ParameterGroup Get(string name, Input<string> id, ParameterGroupState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Description string
A description of the parameter group.
- Name string
The name of the parameter group.
- Parameters
List<Parameter
Group Parameter Args> The parameters of the parameter group.
- Description string
A description of the parameter group.
- Name string
The name of the parameter group.
- Parameters
[]Parameter
Group Parameter The parameters of the parameter group.
- description string
A description of the parameter group.
- name string
The name of the parameter group.
- parameters
Parameter
Group Parameter[] The parameters of the parameter group.
- description str
A description of the parameter group.
- name str
The name of the parameter group.
- parameters
List[Parameter
Group Parameter] The parameters of the parameter group.
Supporting Types
ParameterGroupParameter
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.