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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSecurityGroupPropsstatic final classAn implementation forCfnSecurityGroupProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
A description for the cache security group. -
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
- Returns:
- a
CfnSecurityGroupProps.BuilderofCfnSecurityGroupProps
-