We recommend new projects start with resources from the AWS provider.
aws-native.rds.getOptionGroup
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.
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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getOptionGroup Result
The following output properties are available:
- OptionConfigurations 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.
- OptionConfigurations []OptionGroup Option Configuration 
- A list of all available options for an option group.
- Tag
- Tags to assign to the option group.
- optionConfigurations List<OptionGroup Option Configuration> 
- A list of all available options for an option group.
- List<Tag>
- Tags to assign to the option group.
- optionConfigurations 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.
- optionConfigurations 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   
- 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   
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.