Interface CfnSecurityGroupProps

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

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

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.*;
 CfnSecurityGroupProps cfnSecurityGroupProps = CfnSecurityGroupProps.builder()
         .description("description")
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getDescription

      @Stability(Stable) @NotNull String getDescription()
      A description for the cache security group.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      A tag that can be added to an ElastiCache security group.

      Tags are composed of a Key/Value pair. You can use tags to categorize and track all your security groups. A tag with a null Value is permitted.

    • builder

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