vpc — Virtual Private Cloud
vpc · type

SecurityGroupPolicy

11 fields

FieldTypeDescription
PolicyIndexintegerThe index number of security group rules, which dynamically changes with the rules. This parameter can be obtained via the `DescribeSecurityGroupPolicies` API and used with the `Version` field in the returned value of the API.
ProtocolstringProtocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL.
PortstringPort (`all`, a single port, or a port range).
ServiceTemplateServiceTemplateSpecificationProtocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive.
CidrBlockstringEither `CidrBlock` or `Ipv6CidrBlock can be specified. Note that if `0.0.0.0/n` is entered, it is mapped to 0.0.0.0/0.
Ipv6CidrBlockstringThe CIDR block or IPv6 (mutually exclusive).
SecurityGroupIdstringThe security group instance ID, such as `sg-ohuuioma`.
AddressTemplateAddressTemplateSpecificationIP address ID or IP address group ID.
ActionstringACCEPT or DROP.
PolicyDescriptionstringSecurity group policy description.
ModifyTimestringThe last modification time of the security group.

Nested inside