We recommend new projects start with resources from the AWS provider.
aws-native.rds.OptionGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::RDS::OptionGroup resource creates or updates an option group, to enable and configure features that are specific to a particular DB engine.
Create OptionGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OptionGroup(name: string, args: OptionGroupArgs, opts?: CustomResourceOptions);@overload
def OptionGroup(resource_name: str,
                args: OptionGroupArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def OptionGroup(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                engine_name: Optional[str] = None,
                major_engine_version: Optional[str] = None,
                option_group_description: Optional[str] = None,
                option_configurations: Optional[Sequence[OptionGroupOptionConfigurationArgs]] = None,
                option_group_name: Optional[str] = None,
                tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewOptionGroup(ctx *Context, name string, args OptionGroupArgs, opts ...ResourceOption) (*OptionGroup, error)public OptionGroup(string name, OptionGroupArgs args, CustomResourceOptions? opts = null)
public OptionGroup(String name, OptionGroupArgs args)
public OptionGroup(String name, OptionGroupArgs args, CustomResourceOptions options)
type: aws-native:rds:OptionGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OptionGroupArgs
- 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 OptionGroupArgs
- 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 OptionGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OptionGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OptionGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
OptionGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OptionGroup resource accepts the following input properties:
- EngineName string
- Specifies the name of the engine that this option group should be associated with.
Valid Values:- mariadb
- mysql
- oracle-ee
- oracle-ee-cdb
- oracle-se2
- oracle-se2-cdb
- postgres
- sqlserver-ee
- sqlserver-se
- sqlserver-ex
- sqlserver-web
 
- MajorEngine stringVersion 
- Specifies the major version of the engine that this option group should be associated with.
- OptionGroup stringDescription 
- The description of the option group.
- OptionConfigurations List<Pulumi.Aws Native. Rds. Inputs. Option Group Option Configuration> 
- A list of all available options for an option group.
- OptionGroup stringName 
- The name of the option group to be created. Constraints: - Must be 1 to 255 letters, numbers, or hyphens
- First character must be a letter
- Can't end with a hyphen or contain two consecutive hyphens
 - Example: - myoptiongroupIf you don't specify a value for- OptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- Tags to assign to the option group.
- EngineName string
- Specifies the name of the engine that this option group should be associated with.
Valid Values:- mariadb
- mysql
- oracle-ee
- oracle-ee-cdb
- oracle-se2
- oracle-se2-cdb
- postgres
- sqlserver-ee
- sqlserver-se
- sqlserver-ex
- sqlserver-web
 
- MajorEngine stringVersion 
- Specifies the major version of the engine that this option group should be associated with.
- OptionGroup stringDescription 
- The description of the option group.
- OptionConfigurations []OptionGroup Option Configuration Args 
- A list of all available options for an option group.
- OptionGroup stringName 
- The name of the option group to be created. Constraints: - Must be 1 to 255 letters, numbers, or hyphens
- First character must be a letter
- Can't end with a hyphen or contain two consecutive hyphens
 - Example: - myoptiongroupIf you don't specify a value for- OptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
- 
TagArgs 
- Tags to assign to the option group.
- engineName String
- Specifies the name of the engine that this option group should be associated with.
Valid Values:- mariadb
- mysql
- oracle-ee
- oracle-ee-cdb
- oracle-se2
- oracle-se2-cdb
- postgres
- sqlserver-ee
- sqlserver-se
- sqlserver-ex
- sqlserver-web
 
- majorEngine StringVersion 
- Specifies the major version of the engine that this option group should be associated with.
- optionGroup StringDescription 
- The description of the option group.
- optionConfigurations List<OptionGroup Option Configuration> 
- A list of all available options for an option group.
- optionGroup StringName 
- The name of the option group to be created. Constraints: - Must be 1 to 255 letters, numbers, or hyphens
- First character must be a letter
- Can't end with a hyphen or contain two consecutive hyphens
 - Example: - myoptiongroupIf you don't specify a value for- OptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
- List<Tag>
- Tags to assign to the option group.
- engineName string
- Specifies the name of the engine that this option group should be associated with.
Valid Values:- mariadb
- mysql
- oracle-ee
- oracle-ee-cdb
- oracle-se2
- oracle-se2-cdb
- postgres
- sqlserver-ee
- sqlserver-se
- sqlserver-ex
- sqlserver-web
 
- majorEngine stringVersion 
- Specifies the major version of the engine that this option group should be associated with.
- optionGroup stringDescription 
- The description of the option group.
- optionConfigurations OptionGroup Option Configuration[] 
- A list of all available options for an option group.
- optionGroup stringName 
- The name of the option group to be created. Constraints: - Must be 1 to 255 letters, numbers, or hyphens
- First character must be a letter
- Can't end with a hyphen or contain two consecutive hyphens
 - Example: - myoptiongroupIf you don't specify a value for- OptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
- Tag[]
- Tags to assign to the option group.
- engine_name str
- Specifies the name of the engine that this option group should be associated with.
Valid Values:- mariadb
- mysql
- oracle-ee
- oracle-ee-cdb
- oracle-se2
- oracle-se2-cdb
- postgres
- sqlserver-ee
- sqlserver-se
- sqlserver-ex
- sqlserver-web
 
- major_engine_ strversion 
- Specifies the major version of the engine that this option group should be associated with.
- option_group_ strdescription 
- The description of the option group.
- option_configurations Sequence[OptionGroup Option Configuration Args] 
- A list of all available options for an option group.
- option_group_ strname 
- The name of the option group to be created. Constraints: - Must be 1 to 255 letters, numbers, or hyphens
- First character must be a letter
- Can't end with a hyphen or contain two consecutive hyphens
 - Example: - myoptiongroupIf you don't specify a value for- OptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
- 
Sequence[TagArgs] 
- Tags to assign to the option group.
- engineName String
- Specifies the name of the engine that this option group should be associated with.
Valid Values:- mariadb
- mysql
- oracle-ee
- oracle-ee-cdb
- oracle-se2
- oracle-se2-cdb
- postgres
- sqlserver-ee
- sqlserver-se
- sqlserver-ex
- sqlserver-web
 
- majorEngine StringVersion 
- Specifies the major version of the engine that this option group should be associated with.
- optionGroup StringDescription 
- The description of the option group.
- optionConfigurations List<Property Map>
- A list of all available options for an option group.
- optionGroup StringName 
- The name of the option group to be created. Constraints: - Must be 1 to 255 letters, numbers, or hyphens
- First character must be a letter
- Can't end with a hyphen or contain two consecutive hyphens
 - Example: - myoptiongroupIf you don't specify a value for- OptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
- List<Property Map>
- Tags to assign to the option group.
Outputs
All input properties are implicitly available as output properties. Additionally, the OptionGroup 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 string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
OptionGroupOptionConfiguration, OptionGroupOptionConfigurationArgs        
- OptionName string
- The configuration of options to include in a group.
- DbSecurity List<string>Group Memberships 
- A list of DB security groups used for this option.
- OptionSettings List<Pulumi.Aws Native. Rds. Inputs. Option Group Option Setting> 
- The option settings to include in an option group.
- OptionVersion string
- The version for the option.
- Port int
- The optional port for the option.
- VpcSecurity List<string>Group Memberships 
- A list of VPC security group names used for this option.
- OptionName string
- The configuration of options to include in a group.
- DbSecurity []stringGroup Memberships 
- A list of DB security groups used for this option.
- OptionSettings []OptionGroup Option Setting 
- The option settings to include in an option group.
- OptionVersion string
- The version for the option.
- Port int
- The optional port for the option.
- VpcSecurity []stringGroup Memberships 
- A list of VPC security group names used for this option.
- optionName String
- The configuration of options to include in a group.
- dbSecurity List<String>Group Memberships 
- A list of DB security groups used for this option.
- optionSettings List<OptionGroup Option Setting> 
- The option settings to include in an option group.
- optionVersion String
- The version for the option.
- port Integer
- The optional port for the option.
- vpcSecurity List<String>Group Memberships 
- A list of VPC security group names used for this option.
- optionName string
- The configuration of options to include in a group.
- dbSecurity string[]Group Memberships 
- A list of DB security groups used for this option.
- optionSettings OptionGroup Option Setting[] 
- The option settings to include in an option group.
- optionVersion string
- The version for the option.
- port number
- The optional port for the option.
- vpcSecurity string[]Group Memberships 
- A list of VPC security group names used for this option.
- option_name str
- The configuration of options to include in a group.
- db_security_ Sequence[str]group_ memberships 
- A list of DB security groups used for this option.
- option_settings Sequence[OptionGroup Option Setting] 
- The option settings to include in an option group.
- option_version str
- The version for the option.
- port int
- The optional port for the option.
- vpc_security_ Sequence[str]group_ memberships 
- A list of VPC security group names used for this option.
- optionName String
- The configuration of options to include in a group.
- dbSecurity List<String>Group Memberships 
- A list of DB security groups used for this option.
- optionSettings List<Property Map>
- The option settings to include in an option group.
- optionVersion String
- The version for the option.
- port Number
- The optional port for the option.
- vpcSecurity List<String>Group Memberships 
- A list of VPC security group names used for this option.
OptionGroupOptionSetting, OptionGroupOptionSettingArgs        
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.