Interface CfnSecurityGroupIngressProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSecurityGroupIngressProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.504Z") @Stability(Stable) public interface CfnSecurityGroupIngressProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnSecurityGroupIngress.

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.elasticache.*;
 CfnSecurityGroupIngressProps cfnSecurityGroupIngressProps = CfnSecurityGroupIngressProps.builder()
         .cacheSecurityGroupName("cacheSecurityGroupName")
         .ec2SecurityGroupName("ec2SecurityGroupName")
         // the properties below are optional
         .ec2SecurityGroupOwnerId("ec2SecurityGroupOwnerId")
         .build();
 
  • Method Details

    • getCacheSecurityGroupName

      @Stability(Stable) @NotNull String getCacheSecurityGroupName()
      The name of the Cache Security Group to authorize.
    • getEc2SecurityGroupName

      @Stability(Stable) @NotNull String getEc2SecurityGroupName()
      Name of the EC2 Security Group to include in the authorization.
    • getEc2SecurityGroupOwnerId

      @Stability(Stable) @Nullable default String getEc2SecurityGroupOwnerId()
      Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property.

      The Amazon access key ID is not an acceptable value.

    • builder

      @Stability(Stable) static CfnSecurityGroupIngressProps.Builder builder()
      Returns:
      a CfnSecurityGroupIngressProps.Builder of CfnSecurityGroupIngressProps