CfnClusterSecurityGroupIngressProps

class aws_cdk.aws_redshift.CfnClusterSecurityGroupIngressProps(*, cluster_security_group_name, cidrip=None, ec2_security_group_name=None, ec2_security_group_owner_id=None)

Bases: object

Properties for defining a CfnClusterSecurityGroupIngress.

Parameters
  • cluster_security_group_name (str) – The name of the security group to which the ingress rule is added.

  • cidrip (Optional[str]) – The IP range to be added the Amazon Redshift security group.

  • ec2_security_group_name (Optional[str]) – The EC2 security group to be added the Amazon Redshift security group.

  • ec2_security_group_owner_id (Optional[str]) – 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.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_redshift as redshift

cfn_cluster_security_group_ingress_props = redshift.CfnClusterSecurityGroupIngressProps(
    cluster_security_group_name="clusterSecurityGroupName",

    # the properties below are optional
    cidrip="cidrip",
    ec2_security_group_name="ec2SecurityGroupName",
    ec2_security_group_owner_id="ec2SecurityGroupOwnerId"
)

Attributes

cidrip

The IP range to be added the Amazon Redshift security group.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-cidrip

Return type

Optional[str]

cluster_security_group_name

The name of the security group to which the ingress rule is added.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-clustersecuritygroupname

Return type

str

ec2_security_group_name

The EC2 security group to be added the Amazon Redshift security group.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-ec2securitygroupname

Return type

Optional[str]

ec2_security_group_owner_id

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.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-ec2securitygroupownerid

Return type

Optional[str]