-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsredshift_CfnClusterSecurityGroupIngressProps.go
36 lines (33 loc) · 1.59 KB
/
awsredshift_CfnClusterSecurityGroupIngressProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package awsredshift
// Properties for defining a `CfnClusterSecurityGroupIngress`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnClusterSecurityGroupIngressProps := &cfnClusterSecurityGroupIngressProps{
// clusterSecurityGroupName: jsii.String("clusterSecurityGroupName"),
//
// // the properties below are optional
// cidrip: jsii.String("cidrip"),
// ec2SecurityGroupName: jsii.String("ec2SecurityGroupName"),
// ec2SecurityGroupOwnerId: jsii.String("ec2SecurityGroupOwnerId"),
// }
//
type CfnClusterSecurityGroupIngressProps struct {
// The name of the security group to which the ingress rule is added.
ClusterSecurityGroupName *string `field:"required" json:"clusterSecurityGroupName" yaml:"clusterSecurityGroupName"`
// The IP range to be added the Amazon Redshift security group.
Cidrip *string `field:"optional" json:"cidrip" yaml:"cidrip"`
// The EC2 security group to be added the Amazon Redshift security group.
Ec2SecurityGroupName *string `field:"optional" json:"ec2SecurityGroupName" yaml:"ec2SecurityGroupName"`
// 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.
Ec2SecurityGroupOwnerId *string `field:"optional" json:"ec2SecurityGroupOwnerId" yaml:"ec2SecurityGroupOwnerId"`
}