Class CfnClusterSecurityGroupIngressPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.CfnClusterSecurityGroupIngressPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSecurityGroupIngressPropsMixin>
- Enclosing class:
CfnClusterSecurityGroupIngressPropsMixin
@Stability(Stable)
public static final class CfnClusterSecurityGroupIngressPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSecurityGroupIngressPropsMixin>
A fluent builder for
CfnClusterSecurityGroupIngressPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The IP range to be added the Amazon Redshift security group.clusterSecurityGroupName(String clusterSecurityGroupName) The name of the security group to which the ingress rule is added.create()create(CfnPropertyMixinOptions options) ec2SecurityGroupName(String ec2SecurityGroupName) The EC2 security group to be added the Amazon Redshift security group.ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter.
-
Method Details
-
create
@Stability(Stable) public static CfnClusterSecurityGroupIngressPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnClusterSecurityGroupIngressPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnClusterSecurityGroupIngressPropsMixin.Builder.
-
cidrip
The IP range to be added the Amazon Redshift security group.- Parameters:
cidrip- The IP range to be added the Amazon Redshift security group. This parameter is required.- Returns:
this- See Also:
-
clusterSecurityGroupName
@Stability(Stable) public CfnClusterSecurityGroupIngressPropsMixin.Builder clusterSecurityGroupName(String clusterSecurityGroupName) The name of the security group to which the ingress rule is added.- Parameters:
clusterSecurityGroupName- The name of the security group to which the ingress rule is added. This parameter is required.- Returns:
this- See Also:
-
ec2SecurityGroupName
@Stability(Stable) public CfnClusterSecurityGroupIngressPropsMixin.Builder ec2SecurityGroupName(String ec2SecurityGroupName) The EC2 security group to be added the Amazon Redshift security group.- Parameters:
ec2SecurityGroupName- The EC2 security group to be added the Amazon Redshift security group. This parameter is required.- Returns:
this- See Also:
-
ec2SecurityGroupOwnerId
@Stability(Stable) public CfnClusterSecurityGroupIngressPropsMixin.Builder ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter.The AWS Access Key ID is not an acceptable value.
Example:
111122223333Conditional. If you specify the
EC2SecurityGroupNameproperty, you must specify this property.- Parameters:
ec2SecurityGroupOwnerId- The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterSecurityGroupIngressPropsMixin>- Returns:
- a newly built instance of
CfnClusterSecurityGroupIngressPropsMixin.
-