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

def ParameterGroup(resource_name, opts=None, description=None, name=None, parameters=None, __props__=None);
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<ParameterGroupParameterArgs>

The parameters of the parameter group.

Description string

A description of the parameter group.

Name string

The name of the parameter group.

Parameters []ParameterGroupParameter

The parameters of the parameter group.

description string

A description of the parameter group.

name string

The name of the parameter group.

parameters ParameterGroupParameter[]

The parameters of the parameter group.

description str

A description of the parameter group.

name str

The name of the parameter group.

parameters List[ParameterGroupParameter]

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:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

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): ParameterGroup
static 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<ParameterGroupParameterArgs>

The parameters of the parameter group.

Description string

A description of the parameter group.

Name string

The name of the parameter group.

Parameters []ParameterGroupParameter

The parameters of the parameter group.

description string

A description of the parameter group.

name string

The name of the parameter group.

parameters ParameterGroupParameter[]

The parameters of the parameter group.

description str

A description of the parameter group.

name str

The name of the parameter group.

parameters List[ParameterGroupParameter]

The parameters of the parameter group.

Supporting Types

ParameterGroupParameter

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

The name of the parameter.

Value string

The value for the parameter.

Name string

The name of the parameter.

Value string

The value for the parameter.

name string

The name of the parameter.

value string

The value for the parameter.

name str

The name of the parameter.

value str

The value for the parameter.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.