Class: EC2SecurityGroupRulePropertyType

Types~EC2SecurityGroupRulePropertyType

new EC2SecurityGroupRulePropertyType()

Properties:
Name Type Description
CidrIp String Required: Conditional. Specifies a CIDR range.
DestinationSecurityGroupId String Required: Conditional. Specifies the GroupId of the destination Amazon VPC security group.
FromPort Number Required: No. The start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).
IpProtocol String Required: Yes. An IP protocol name or number. For valid values, go to the IpProtocol parameter in AuthorizeSecurityGroupIngress
SourceSecurityGroupId String Required: Conditional. For VPC security groups only. Specifies the ID of the Amazon EC2 Security Group to allow access. You can use the Ref intrinsic function to refer to the logical ID of a security group defined in the same template.
SourceSecurityGroupName String Required: Conditional. For non-VPC security groups only. Specifies the name of the Amazon EC2 Security Group to use for access. You can use the Ref intrinsic function to refer to the logical name of a security group that is defined in the same template.
SourceSecurityGroupOwnerId String Required: Conditional. Specifies the AWS Account ID of the owner of the Amazon EC2 Security Group that is specified in the SourceSecurityGroupName property.
ToPort Number Required: No. The end of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).
Source: