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 theEC2SecurityGroupName
property, you must specify this property.
- Link:
- 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.
- cluster_security_group_name
The name of the security group to which the ingress rule is added.
- ec2_security_group_name
The EC2 security group to be added the Amazon Redshift security group.
- 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.