CfnSecurityGroupIngressProps

class aws_cdk.aws_ec2.CfnSecurityGroupIngressProps(*, ip_protocol, cidr_ip=None, cidr_ipv6=None, description=None, from_port=None, group_id=None, group_name=None, source_prefix_list_id=None, source_security_group_id=None, source_security_group_name=None, source_security_group_owner_id=None, to_port=None)

Bases: object

__init__(*, ip_protocol, cidr_ip=None, cidr_ipv6=None, description=None, from_port=None, group_id=None, group_name=None, source_prefix_list_id=None, source_security_group_id=None, source_security_group_name=None, source_security_group_owner_id=None, to_port=None)

Properties for defining a AWS::EC2::SecurityGroupIngress.

Parameters
  • ip_protocol (str) – AWS::EC2::SecurityGroupIngress.IpProtocol.

  • cidr_ip (Optional[str]) – AWS::EC2::SecurityGroupIngress.CidrIp.

  • cidr_ipv6 (Optional[str]) – AWS::EC2::SecurityGroupIngress.CidrIpv6.

  • description (Optional[str]) – AWS::EC2::SecurityGroupIngress.Description.

  • from_port (Union[int, float, None]) – AWS::EC2::SecurityGroupIngress.FromPort.

  • group_id (Optional[str]) – AWS::EC2::SecurityGroupIngress.GroupId.

  • group_name (Optional[str]) – AWS::EC2::SecurityGroupIngress.GroupName.

  • source_prefix_list_id (Optional[str]) – AWS::EC2::SecurityGroupIngress.SourcePrefixListId.

  • source_security_group_id (Optional[str]) – AWS::EC2::SecurityGroupIngress.SourceSecurityGroupId.

  • source_security_group_name (Optional[str]) – AWS::EC2::SecurityGroupIngress.SourceSecurityGroupName.

  • source_security_group_owner_id (Optional[str]) – AWS::EC2::SecurityGroupIngress.SourceSecurityGroupOwnerId.

  • to_port (Union[int, float, None]) – AWS::EC2::SecurityGroupIngress.ToPort.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html

Attributes

cidr_ip

AWS::EC2::SecurityGroupIngress.CidrIp.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-cidrip

Return type

Optional[str]

cidr_ipv6

AWS::EC2::SecurityGroupIngress.CidrIpv6.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-cidripv6

Return type

Optional[str]

description

AWS::EC2::SecurityGroupIngress.Description.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-description

Return type

Optional[str]

from_port

AWS::EC2::SecurityGroupIngress.FromPort.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-fromport

Return type

Union[int, float, None]

group_id

AWS::EC2::SecurityGroupIngress.GroupId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-groupid

Return type

Optional[str]

group_name

AWS::EC2::SecurityGroupIngress.GroupName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-groupname

Return type

Optional[str]

ip_protocol

AWS::EC2::SecurityGroupIngress.IpProtocol.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-ipprotocol

Return type

str

source_prefix_list_id

AWS::EC2::SecurityGroupIngress.SourcePrefixListId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-securitygroupingress-sourceprefixlistid

Return type

Optional[str]

source_security_group_id

AWS::EC2::SecurityGroupIngress.SourceSecurityGroupId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-sourcesecuritygroupid

Return type

Optional[str]

source_security_group_name

AWS::EC2::SecurityGroupIngress.SourceSecurityGroupName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-sourcesecuritygroupname

Return type

Optional[str]

source_security_group_owner_id

AWS::EC2::SecurityGroupIngress.SourceSecurityGroupOwnerId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-sourcesecuritygroupownerid

Return type

Optional[str]

to_port

AWS::EC2::SecurityGroupIngress.ToPort.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-toport

Return type

Union[int, float, None]