Class: SecurityGroupIngress

EC2.SecurityGroupIngress

new SecurityGroupIngress()

Properties:
Name Type Description
CidrIp String Required: Conditional. Specifies a CIDR range.For an overview of CIDR ranges, go to the Wikipedia Tutorial.Update requires: Replacement
FromPort Number Required: Conditional. Start of port range for the TCP and UDP protocols, or an ICMP type number. If you specify icmp for the IpProtocol property, you can specify -1 as a wildcard (i.e., any ICMP type number).Update requires: Replacement
GroupId String Required: Conditional. ID of the Amazon EC2 or VPC security group to modify. The group must belong to your account.Update requires: Replacement
GroupName String Required: Conditional. Name of the Amazon EC2 security group (non-VPC security group) to modify. This value can be a reference to an AWS::EC2::SecurityGroup resource or the name of an existing Amazon EC2 security group.Update requires: Replacement
IpProtocol String Required: Yes. IP protocol name or number. For valid values, see the IpProtocol parameter in AuthorizeSecurityGroupIngressUpdate requires: Replacement
SourceSecurityGroupId String Required: Conditional. Specifies the ID of the source security group or uses the Ref intrinsic function to refer to the logical ID of a security group defined in the same template.Update requires: Replacement
SourceSecurityGroupName String Required: Conditional. Specifies the name of the Amazon EC2 security group (non-VPC security group) to allow access or uses the Ref intrinsic function to refer to the logical name of a security group defined in the same template. For instances in a VPC, specify the SourceSecurityGroupId property.Update requires: Replacement
SourceSecurityGroupOwnerId String Required: Conditional. Specifies the AWS Account ID of the owner of the Amazon EC2 security group specified in the SourceSecurityGroupName property.Update requires: Replacement
ToPort Number Required: Conditional. End of port range for the TCP and UDP protocols, or an ICMP code. If you specify icmp for the IpProtocol property, you can specify -1 as a wildcard (i.e., any ICMP code).Update requires: Replacement
Source:

Extends

  • WKResource

EC2.SecurityGroupIngress

new SecurityGroupIngress()

Properties:
Name Type Description
CidrIp String Required: Conditional. Specifies a CIDR range.For an overview of CIDR ranges, go to the Wikipedia Tutorial.Update requires: Replacement
FromPort Number Required: Conditional. Start of port range for the TCP and UDP protocols, or an ICMP type number. If you specify icmp for the IpProtocol property, you can specify -1 as a wildcard (i.e., any ICMP type number).Update requires: Replacement
GroupId String Required: Conditional. ID of the Amazon EC2 or VPC security group to modify. The group must belong to your account.Update requires: Replacement
GroupName String Required: Conditional. Name of the Amazon EC2 security group (non-VPC security group) to modify. This value can be a reference to an AWS::EC2::SecurityGroup resource or the name of an existing Amazon EC2 security group.Update requires: Replacement
IpProtocol String Required: Yes. IP protocol name or number. For valid values, see the IpProtocol parameter in AuthorizeSecurityGroupIngressUpdate requires: Replacement
SourceSecurityGroupId String Required: Conditional. Specifies the ID of the source security group or uses the Ref intrinsic function to refer to the logical ID of a security group defined in the same template.Update requires: Replacement
SourceSecurityGroupName String Required: Conditional. Specifies the name of the Amazon EC2 security group (non-VPC security group) to allow access or uses the Ref intrinsic function to refer to the logical name of a security group defined in the same template. For instances in a VPC, specify the SourceSecurityGroupId property.Update requires: Replacement
SourceSecurityGroupOwnerId String Required: Conditional. Specifies the AWS Account ID of the owner of the Amazon EC2 security group specified in the SourceSecurityGroupName property.Update requires: Replacement
ToPort Number Required: Conditional. End of port range for the TCP and UDP protocols, or an ICMP code. If you specify icmp for the IpProtocol property, you can specify -1 as a wildcard (i.e., any ICMP code).Update requires: Replacement
Source:

Extends

  • WKResource