@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.010Z") @Stability(value=Stable) public interface CfnSecurityGroupIngressProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSecurityGroupIngressProps.Builder
A builder for
CfnSecurityGroupIngressProps |
static class |
CfnSecurityGroupIngressProps.Jsii$Proxy
An implementation for
CfnSecurityGroupIngressProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSecurityGroupIngressProps.Builder |
builder() |
String |
getCacheSecurityGroupName()
The name of the Cache Security Group to authorize.
|
String |
getEc2SecurityGroupName()
Name of the EC2 Security Group to include in the authorization.
|
default String |
getEc2SecurityGroupOwnerId()
Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property.
|
@Stability(value=Stable) @NotNull String getCacheSecurityGroupName()
@Stability(value=Stable) @NotNull String getEc2SecurityGroupName()
@Stability(value=Stable) @Nullable default String getEc2SecurityGroupOwnerId()
The Amazon access key ID is not an acceptable value.
@Stability(value=Stable) static CfnSecurityGroupIngressProps.Builder builder()
Copyright © 2022. All rights reserved.