Class CfnOptionGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.rds.CfnOptionGroup
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:08.240Z")
@Stability(Stable)
public class CfnOptionGroup
extends CfnResource
implements IInspectable, ITaggable
The
AWS::RDS::OptionGroup
resource creates or updates an option group, to enable and configure features that are specific to a particular DB engine.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.rds.*; CfnOptionGroup cfnOptionGroup = CfnOptionGroup.Builder.create(this, "MyCfnOptionGroup") .engineName("engineName") .majorEngineVersion("majorEngineVersion") .optionGroupDescription("optionGroupDescription") // the properties below are optional .optionConfigurations(List.of(OptionConfigurationProperty.builder() .optionName("optionName") // the properties below are optional .dbSecurityGroupMemberships(List.of("dbSecurityGroupMemberships")) .optionSettings(List.of(OptionSettingProperty.builder() .name("name") .value("value") .build())) .optionVersion("optionVersion") .port(123) .vpcSecurityGroupMemberships(List.of("vpcSecurityGroupMemberships")) .build())) .optionGroupName("optionGroupName") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnOptionGroup
.static interface
TheOptionConfiguration
property type specifies an individual option, and its settings, within anAWS::RDS::OptionGroup
resource.static interface
TheOptionSetting
property type specifies the value for an option within anOptionSetting
property.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnOptionGroup
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnOptionGroup
(software.amazon.jsii.JsiiObjectRef objRef) CfnOptionGroup
(software.constructs.Construct scope, String id, CfnOptionGroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the name of the engine that this option group should be associated with.Specifies the major version of the engine that this option group should be associated with.A list of all available options for an option group.The description of the option group.The name of the option group to be created.getTags()
Tag Manager which manages the tags for this resource.Tags to assign to the option group.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setEngineName
(String value) Specifies the name of the engine that this option group should be associated with.void
setMajorEngineVersion
(String value) Specifies the major version of the engine that this option group should be associated with.void
setOptionConfigurations
(List<Object> value) A list of all available options for an option group.void
A list of all available options for an option group.void
setOptionGroupDescription
(String value) The description of the option group.void
setOptionGroupName
(String value) The name of the option group to be created.void
setTagsRaw
(List<CfnTag> value) Tags to assign to the option group.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnOptionGroup
protected CfnOptionGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnOptionGroup
protected CfnOptionGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnOptionGroup
@Stability(Stable) public CfnOptionGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnOptionGroupProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getEngineName
Specifies the name of the engine that this option group should be associated with. -
setEngineName
Specifies the name of the engine that this option group should be associated with. -
getMajorEngineVersion
Specifies the major version of the engine that this option group should be associated with. -
setMajorEngineVersion
Specifies the major version of the engine that this option group should be associated with. -
getOptionGroupDescription
The description of the option group. -
setOptionGroupDescription
The description of the option group. -
getOptionConfigurations
A list of all available options for an option group. -
setOptionConfigurations
A list of all available options for an option group. -
setOptionConfigurations
A list of all available options for an option group. -
getOptionGroupName
The name of the option group to be created. -
setOptionGroupName
The name of the option group to be created. -
getTagsRaw
Tags to assign to the option group. -
setTagsRaw
Tags to assign to the option group.
-