interface CfnOptionGroupProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.RDS.CfnOptionGroupProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#CfnOptionGroupProps |
Java | software.amazon.awscdk.services.rds.CfnOptionGroupProps |
Python | aws_cdk.aws_rds.CfnOptionGroupProps |
TypeScript | aws-cdk-lib » aws_rds » CfnOptionGroupProps |
Properties for defining a CfnOptionGroup.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const cfnOptionGroupProps: rds.CfnOptionGroupProps = {
engineName: 'engineName',
majorEngineVersion: 'majorEngineVersion',
optionGroupDescription: 'optionGroupDescription',
// the properties below are optional
optionConfigurations: [{
optionName: 'optionName',
// the properties below are optional
dbSecurityGroupMemberships: ['dbSecurityGroupMemberships'],
optionSettings: [{
name: 'name',
value: 'value',
}],
optionVersion: 'optionVersion',
port: 123,
vpcSecurityGroupMemberships: ['vpcSecurityGroupMemberships'],
}],
optionGroupName: 'optionGroupName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| engine | string | Specifies the name of the engine that this option group should be associated with. |
| major | string | Specifies the major version of the engine that this option group should be associated with. |
| option | string | The description of the option group. |
| option | IResolvable | (IResolvable | Option)[] | A list of all available options for an option group. |
| option | string | The name of the option group to be created. |
| tags? | Cfn[] | Tags to assign to the option group. |
engineName
Type:
string
Specifies the name of the engine that this option group should be associated with.
Valid Values:
mariadbmysqloracle-eeoracle-ee-cdboracle-se2oracle-se2-cdbpostgressqlserver-eesqlserver-sesqlserver-exsqlserver-web
majorEngineVersion
Type:
string
Specifies the major version of the engine that this option group should be associated with.
optionGroupDescription
Type:
string
The description of the option group.
optionConfigurations?
Type:
IResolvable | (IResolvable | Option)[]
(optional)
A list of all available options for an option group.
optionGroupName?
Type:
string
(optional)
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 for OptionGroupName property, a name is automatically created for the option group.
This value is stored as a lowercase string.
tags?
Type:
Cfn[]
(optional)
Tags to assign to the option group.

.NET
Go
Java
Python
TypeScript