Class CfnDBSecurityGroupIngressPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
AWS::RDS::DBSecurityGroupIngress resource enables ingress to a DB security group using one of two forms of authorization.
First, you can add EC2 or VPC security groups to the DB security group if the application using the database is running on EC2 or VPC instances. Second, IP ranges are available if the application accessing your database is running on the Internet.
This type supports updates. For more information about updating stacks, see AWS CloudFormation Stacks Updates .
For details about the settings for DB security group ingress, see AuthorizeDBSecurityGroupIngress .
EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 User Guide , the blog EC2-Classic Networking is Retiring – Here’s How to Prepare , and Moving a DB instance not in a VPC into a VPC in the Amazon RDS User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.rds.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnDBSecurityGroupIngressPropsMixin cfnDBSecurityGroupIngressPropsMixin = CfnDBSecurityGroupIngressPropsMixin.Builder.create(CfnDBSecurityGroupIngressMixinProps.builder()
.cidrip("cidrip")
.dbSecurityGroupName("dbSecurityGroupName")
.ec2SecurityGroupId("ec2SecurityGroupId")
.ec2SecurityGroupName("ec2SecurityGroupName")
.ec2SecurityGroupOwnerId("ec2SecurityGroupOwnerId")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDBSecurityGroupIngressPropsMixin.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::RDS::DBSecurityGroupIngress.CfnDBSecurityGroupIngressPropsMixin(CfnDBSecurityGroupIngressMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::RDS::DBSecurityGroupIngress.protectedCfnDBSecurityGroupIngressPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDBSecurityGroupIngressPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnDBSecurityGroupIngressMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnDBSecurityGroupIngressPropsMixin
protected CfnDBSecurityGroupIngressPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDBSecurityGroupIngressPropsMixin
protected CfnDBSecurityGroupIngressPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDBSecurityGroupIngressPropsMixin
@Stability(Stable) public CfnDBSecurityGroupIngressPropsMixin(@NotNull CfnDBSecurityGroupIngressMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::RDS::DBSecurityGroupIngress.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnDBSecurityGroupIngressPropsMixin
@Stability(Stable) public CfnDBSecurityGroupIngressPropsMixin(@NotNull CfnDBSecurityGroupIngressMixinProps props) Create a mixin to apply properties toAWS::RDS::DBSecurityGroupIngress.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-