We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
The AWS::RDS::OptionGroup resource creates or updates an option group, to enable and configure features that are specific to a particular DB engine.
Using getOptionGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOptionGroup(args: GetOptionGroupArgs, opts?: InvokeOptions): Promise<GetOptionGroupResult>
function getOptionGroupOutput(args: GetOptionGroupOutputArgs, opts?: InvokeOptions): Output<GetOptionGroupResult>def get_option_group(option_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOptionGroupResult
def get_option_group_output(option_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOptionGroupResult]func LookupOptionGroup(ctx *Context, args *LookupOptionGroupArgs, opts ...InvokeOption) (*LookupOptionGroupResult, error)
func LookupOptionGroupOutput(ctx *Context, args *LookupOptionGroupOutputArgs, opts ...InvokeOption) LookupOptionGroupResultOutput> Note: This function is named LookupOptionGroup in the Go SDK.
public static class GetOptionGroup
{
public static Task<GetOptionGroupResult> InvokeAsync(GetOptionGroupArgs args, InvokeOptions? opts = null)
public static Output<GetOptionGroupResult> Invoke(GetOptionGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOptionGroupResult> getOptionGroup(GetOptionGroupArgs args, InvokeOptions options)
public static Output<GetOptionGroupResult> getOptionGroup(GetOptionGroupArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:rds:getOptionGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- 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:
myoptiongroupIf you don't specify a value forOptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
- 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:
myoptiongroupIf you don't specify a value forOptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
- 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:
myoptiongroupIf you don't specify a value forOptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
- 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:
myoptiongroupIf you don't specify a value forOptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
- 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 forOptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
- 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:
myoptiongroupIf you don't specify a value forOptionGroupNameproperty, a name is automatically created for the option group. This value is stored as a lowercase string.
getOptionGroup Result
The following output properties are available:
- Option
Configurations List<Pulumi.Aws Native. Rds. Outputs. Option Group Option Configuration> - A list of all available options for an option group.
-
List<Pulumi.
Aws Native. Outputs. Tag> - Tags to assign to the option group.
- Option
Configurations []OptionGroup Option Configuration - A list of all available options for an option group.
- Tag
- Tags to assign to the option group.
- option
Configurations List<OptionGroup Option Configuration> - A list of all available options for an option group.
- List<Tag>
- Tags to assign to the option group.
- option
Configurations OptionGroup Option Configuration[] - A list of all available options for an option group.
- Tag[]
- Tags to assign to the option group.
- option_
configurations Sequence[OptionGroup Option Configuration] - A list of all available options for an option group.
- Sequence[root_Tag]
- Tags to assign to the option group.
- option
Configurations List<Property Map> - A list of all available options for an option group.
- List<Property Map>
- Tags to assign to the option group.
Supporting Types
OptionGroupOptionConfiguration
- 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
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
