AWS Classic v5.41.0, May 15 23
AWS Classic v5.41.0, May 15 23
aws.neptune.ParameterGroup
Explore with Pulumi AI
Manages a Neptune Parameter Group
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Neptune.ParameterGroup("example", new()
{
Family = "neptune1",
Parameters = new[]
{
new Aws.Neptune.Inputs.ParameterGroupParameterArgs
{
Name = "neptune_query_timeout",
Value = "25",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/neptune"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := neptune.NewParameterGroup(ctx, "example", &neptune.ParameterGroupArgs{
Family: pulumi.String("neptune1"),
Parameters: neptune.ParameterGroupParameterArray{
&neptune.ParameterGroupParameterArgs{
Name: pulumi.String("neptune_query_timeout"),
Value: pulumi.String("25"),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.neptune.ParameterGroup;
import com.pulumi.aws.neptune.ParameterGroupArgs;
import com.pulumi.aws.neptune.inputs.ParameterGroupParameterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ParameterGroup("example", ParameterGroupArgs.builder()
.family("neptune1")
.parameters(ParameterGroupParameterArgs.builder()
.name("neptune_query_timeout")
.value("25")
.build())
.build());
}
}
import pulumi
import pulumi_aws as aws
example = aws.neptune.ParameterGroup("example",
family="neptune1",
parameters=[aws.neptune.ParameterGroupParameterArgs(
name="neptune_query_timeout",
value="25",
)])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.neptune.ParameterGroup("example", {
family: "neptune1",
parameters: [{
name: "neptune_query_timeout",
value: "25",
}],
});
resources:
example:
type: aws:neptune:ParameterGroup
properties:
family: neptune1
parameters:
- name: neptune_query_timeout
value: '25'
Create ParameterGroup Resource
new ParameterGroup(name: string, args: ParameterGroupArgs, opts?: CustomResourceOptions);
@overload
def ParameterGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
family: Optional[str] = None,
name: Optional[str] = None,
parameters: Optional[Sequence[ParameterGroupParameterArgs]] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def ParameterGroup(resource_name: str,
args: ParameterGroupArgs,
opts: Optional[ResourceOptions] = None)
func NewParameterGroup(ctx *Context, name string, args ParameterGroupArgs, opts ...ResourceOption) (*ParameterGroup, error)
public ParameterGroup(string name, ParameterGroupArgs args, CustomResourceOptions? opts = null)
public ParameterGroup(String name, ParameterGroupArgs args)
public ParameterGroup(String name, ParameterGroupArgs args, CustomResourceOptions options)
type: aws:neptune:ParameterGroup
properties: # The arguments to resource properties.
options: # 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.
- resource_name str
- The unique name of the resource.
- args ParameterGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args ParameterGroupArgs
- The arguments to resource properties.
- options 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 Architecture and Concepts docs.
Inputs
The ParameterGroup resource accepts the following input properties:
- Family string
The family of the Neptune parameter group.
- Description string
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- Name string
The name of the Neptune parameter.
- Parameters
List<Parameter
Group Parameter Args> A list of Neptune parameters to apply.
- Dictionary<string, string>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Family string
The family of the Neptune parameter group.
- Description string
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- Name string
The name of the Neptune parameter.
- Parameters
[]Parameter
Group Parameter Args A list of Neptune parameters to apply.
- map[string]string
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- family String
The family of the Neptune parameter group.
- description String
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- name String
The name of the Neptune parameter.
- parameters
List<Parameter
Group Parameter Args> A list of Neptune parameters to apply.
- Map<String,String>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- family string
The family of the Neptune parameter group.
- description string
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- name string
The name of the Neptune parameter.
- parameters
Parameter
Group Parameter Args[] A list of Neptune parameters to apply.
- {[key: string]: string}
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- family str
The family of the Neptune parameter group.
- description str
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- name str
The name of the Neptune parameter.
- parameters
Sequence[Parameter
Group Parameter Args] A list of Neptune parameters to apply.
- Mapping[str, str]
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- family String
The family of the Neptune parameter group.
- description String
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- name String
The name of the Neptune parameter.
- parameters List<Property Map>
A list of Neptune parameters to apply.
- Map<String>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the ParameterGroup resource produces the following output properties:
Look up 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
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
description: Optional[str] = None,
family: Optional[str] = None,
name: Optional[str] = None,
parameters: Optional[Sequence[ParameterGroupParameterArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> ParameterGroup
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)
public static ParameterGroup get(String name, Output<String> id, ParameterGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Arn string
The Neptune parameter group Amazon Resource Name (ARN).
- Description string
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- Family string
The family of the Neptune parameter group.
- Name string
The name of the Neptune parameter.
- Parameters
List<Parameter
Group Parameter Args> A list of Neptune parameters to apply.
- Dictionary<string, string>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
The Neptune parameter group Amazon Resource Name (ARN).
- Description string
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- Family string
The family of the Neptune parameter group.
- Name string
The name of the Neptune parameter.
- Parameters
[]Parameter
Group Parameter Args A list of Neptune parameters to apply.
- map[string]string
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
The Neptune parameter group Amazon Resource Name (ARN).
- description String
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- family String
The family of the Neptune parameter group.
- name String
The name of the Neptune parameter.
- parameters
List<Parameter
Group Parameter Args> A list of Neptune parameters to apply.
- Map<String,String>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
The Neptune parameter group Amazon Resource Name (ARN).
- description string
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- family string
The family of the Neptune parameter group.
- name string
The name of the Neptune parameter.
- parameters
Parameter
Group Parameter Args[] A list of Neptune parameters to apply.
- {[key: string]: string}
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
The Neptune parameter group Amazon Resource Name (ARN).
- description str
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- family str
The family of the Neptune parameter group.
- name str
The name of the Neptune parameter.
- parameters
Sequence[Parameter
Group Parameter Args] A list of Neptune parameters to apply.
- Mapping[str, str]
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
The Neptune parameter group Amazon Resource Name (ARN).
- description String
The description of the Neptune parameter group. Defaults to "Managed by Pulumi".
- family String
The family of the Neptune parameter group.
- name String
The name of the Neptune parameter.
- parameters List<Property Map>
A list of Neptune parameters to apply.
- Map<String>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Supporting Types
ParameterGroupParameter
- Name string
The name of the Neptune parameter.
- Value string
The value of the Neptune parameter.
- Apply
Method string The apply method of the Neptune parameter. Valid values are
immediate
andpending-reboot
. Defaults topending-reboot
.
- Name string
The name of the Neptune parameter.
- Value string
The value of the Neptune parameter.
- Apply
Method string The apply method of the Neptune parameter. Valid values are
immediate
andpending-reboot
. Defaults topending-reboot
.
- name String
The name of the Neptune parameter.
- value String
The value of the Neptune parameter.
- apply
Method String The apply method of the Neptune parameter. Valid values are
immediate
andpending-reboot
. Defaults topending-reboot
.
- name string
The name of the Neptune parameter.
- value string
The value of the Neptune parameter.
- apply
Method string The apply method of the Neptune parameter. Valid values are
immediate
andpending-reboot
. Defaults topending-reboot
.
- name str
The name of the Neptune parameter.
- value str
The value of the Neptune parameter.
- apply_
method str The apply method of the Neptune parameter. Valid values are
immediate
andpending-reboot
. Defaults topending-reboot
.
- name String
The name of the Neptune parameter.
- value String
The value of the Neptune parameter.
- apply
Method String The apply method of the Neptune parameter. Valid values are
immediate
andpending-reboot
. Defaults topending-reboot
.
Import
Neptune Parameter Groups can be imported using the name
, e.g.,
$ pulumi import aws:neptune/parameterGroup:ParameterGroup some_pg some-pg
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.