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:
- Engine
Name 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
- Major
Engine stringVersion - Specifies the major version of the engine that this option group should be associated with.
- Option
Group stringDescription - The description of the option group.
- Option
Configurations List<Pulumi.Aws Native. Rds. Inputs. Option Group Option Configuration> - A list of all available options for an option group.
- Option
Group 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:
myoptiongroup
If you don't specify a value forOptionGroupName
property, 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.
- Engine
Name 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
- Major
Engine stringVersion - Specifies the major version of the engine that this option group should be associated with.
- Option
Group stringDescription - The description of the option group.
- Option
Configurations []OptionGroup Option Configuration Args - A list of all available options for an option group.
- Option
Group 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:
myoptiongroup
If you don't specify a value forOptionGroupName
property, a name is automatically created for the option group. This value is stored as a lowercase string.- Tag
Args - Tags to assign to the option group.
- engine
Name 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
- major
Engine StringVersion - Specifies the major version of the engine that this option group should be associated with.
- option
Group StringDescription - The description of the option group.
- option
Configurations List<OptionGroup Option Configuration> - A list of all available options for an option group.
- option
Group 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:
myoptiongroup
If you don't specify a value forOptionGroupName
property, 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.
- engine
Name 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
- major
Engine stringVersion - Specifies the major version of the engine that this option group should be associated with.
- option
Group stringDescription - The description of the option group.
- option
Configurations OptionGroup Option Configuration[] - A list of all available options for an option group.
- option
Group 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:
myoptiongroup
If you don't specify a value forOptionGroupName
property, 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:
myoptiongroup
If you don't specify a value forOptionGroupName
property, a name is automatically created for the option group. This value is stored as a lowercase string.- Sequence[Tag
Args] - Tags to assign to the option group.
- engine
Name 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
- major
Engine StringVersion - Specifies the major version of the engine that this option group should be associated with.
- option
Group StringDescription - The description of the option group.
- option
Configurations List<Property Map> - A list of all available options for an option group.
- option
Group 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:
myoptiongroup
If you don't specify a value forOptionGroupName
property, 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
- Option
Name string - The configuration of options to include in a group.
- Db
Security List<string>Group Memberships - A list of DB security groups used for this option.
- Option
Settings List<Pulumi.Aws Native. Rds. Inputs. Option Group Option Setting> - The option settings to include in an option group.
- Option
Version string - The version for the option.
- Port int
- The optional port for the option.
- Vpc
Security List<string>Group Memberships - A list of VPC security group names used for this option.
- Option
Name string - The configuration of options to include in a group.
- Db
Security []stringGroup Memberships - A list of DB security groups used for this option.
- Option
Settings []OptionGroup Option Setting - The option settings to include in an option group.
- Option
Version string - The version for the option.
- Port int
- The optional port for the option.
- Vpc
Security []stringGroup Memberships - A list of VPC security group names used for this option.
- option
Name String - The configuration of options to include in a group.
- db
Security List<String>Group Memberships - A list of DB security groups used for this option.
- option
Settings List<OptionGroup Option Setting> - The option settings to include in an option group.
- option
Version String - The version for the option.
- port Integer
- The optional port for the option.
- vpc
Security List<String>Group Memberships - A list of VPC security group names used for this option.
- option
Name string - The configuration of options to include in a group.
- db
Security string[]Group Memberships - A list of DB security groups used for this option.
- option
Settings OptionGroup Option Setting[] - The option settings to include in an option group.
- option
Version string - The version for the option.
- port number
- The optional port for the option.
- vpc
Security 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.
- option
Name String - The configuration of options to include in a group.
- db
Security List<String>Group Memberships - A list of DB security groups used for this option.
- option
Settings List<Property Map> - The option settings to include in an option group.
- option
Version String - The version for the option.
- port Number
- The optional port for the option.
- vpc
Security 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.