Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS::Redshift::ClusterSecurityGroupIngress

Specifies inbound (ingress) rules for an Amazon Redshift security group.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "Type" : "AWS::Redshift::ClusterSecurityGroupIngress", "Properties" : { "ClusterSecurityGroupName" : String, "CIDRIP" : String, "EC2SecurityGroupName" : String, "EC2SecurityGroupOwnerId" : String } }

YAML

Copy
Type: "AWS::Redshift::ClusterSecurityGroupIngress" Properties: ClusterSecurityGroupName: String CIDRIP: String EC2SecurityGroupName: String EC2SecurityGroupOwnerId: 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 EC2SecurityGroupName parameter.

Required: Conditional. If you specify the EC2SecurityGroupName property, 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

Copy
"myClusterSecurityGroupIngressIP" : { "Type": "AWS::Redshift::ClusterSecurityGroupIngress", "Properties": { "ClusterSecurityGroupName" : {"Ref":"myClusterSecurityGroup"}, "CIDRIP" : "10.0.0.0/16" } }

YAML

Copy
myClusterSecurityGroupIngressIP: Type: "AWS::Redshift::ClusterSecurityGroupIngress" Properties: ClusterSecurityGroupName: Ref: "myClusterSecurityGroup" CIDRIP: "10.0.0.0/16"

See Also