Class CfnClusterSecurityGroupIngress.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSecurityGroupIngress>
- Enclosing class:
CfnClusterSecurityGroupIngress
@Stability(Stable)
public static final class CfnClusterSecurityGroupIngress.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSecurityGroupIngress>
A fluent builder for
CfnClusterSecurityGroupIngress
.-
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.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 CfnClusterSecurityGroupIngress.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnClusterSecurityGroupIngress.Builder
.
-
clusterSecurityGroupName
@Stability(Stable) public CfnClusterSecurityGroupIngress.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:
-
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:
-
ec2SecurityGroupName
@Stability(Stable) public CfnClusterSecurityGroupIngress.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 CfnClusterSecurityGroupIngress.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:
111122223333
Conditional. If you specify the
EC2SecurityGroupName
property, 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnClusterSecurityGroupIngress>
- Returns:
- a newly built instance of
CfnClusterSecurityGroupIngress
.
-