AWS::Redshift::ClusterSecurityGroupIngress
Specifies inbound (ingress) rules for an Amazon Redshift security group.
Topics
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Redshift::ClusterSecurityGroupIngress", "Properties" : { "ClusterSecurityGroupName" :String, "CIDRIP" :String, "EC2SecurityGroupName" :String, "EC2SecurityGroupOwnerId" :String} }
YAML
Type: "AWS::Redshift::ClusterSecurityGroupIngress" Properties: ClusterSecurityGroupName:StringCIDRIP:StringEC2SecurityGroupName:StringEC2SecurityGroupOwnerId:String
Properties
ClusterSecurityGroupName-
The name of the Amazon Redshift security group that will be associated with the ingress rule.
Required: Yes
Type: String
Update requires: Replacement
CIDRIP-
The IP address range that has inbound access to the Amazon Redshift security group.
Required: No
Type: String
Update requires: Replacement
EC2SecurityGroupName-
The Amazon EC2 security group that will be added the Amazon Redshift security group.
Required: No
Type: String
Update requires: Replacement
EC2SecurityGroupOwnerId-
The 12-digit AWS account number of the owner of the Amazon EC2 security group that is specified by the
EC2SecurityGroupNameparameter.Required: Conditional. If you specify the
EC2SecurityGroupNameproperty, you must specify this property.Type: String
Update requires: Replacement
Template Snippet
The following snippet describes a ingress rules for an Amazon Redshift cluster security group:
JSON
"myClusterSecurityGroupIngressIP" : { "Type": "AWS::Redshift::ClusterSecurityGroupIngress", "Properties": { "ClusterSecurityGroupName" : {"Ref":"myClusterSecurityGroup"}, "CIDRIP" : "10.0.0.0/16" } }
YAML
myClusterSecurityGroupIngressIP: Type: "AWS::Redshift::ClusterSecurityGroupIngress" Properties: ClusterSecurityGroupName: Ref: "myClusterSecurityGroup" CIDRIP: "10.0.0.0/16"
