vpc — Virtual Private Cloud
vpc · type
SecurityGroupPolicy
11 fields
| Field | Type | Description |
|---|---|---|
| PolicyIndex | integer | The 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. |
| Protocol | string | Protocol. Valid values: TCP, UDP, ICMP, ICMPv6, ALL. |
| Port | string | Port (`all`, a single port, or a port range). |
| ServiceTemplate | ServiceTemplateSpecification | Protocol port ID or protocol port group ID. ServiceTemplate and Protocol+Port are mutually exclusive. |
| CidrBlock | string | Either `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. |
| Ipv6CidrBlock | string | The CIDR block or IPv6 (mutually exclusive). |
| SecurityGroupId | string | The security group instance ID, such as `sg-ohuuioma`. |
| AddressTemplate | AddressTemplateSpecification | IP address ID or IP address group ID. |
| Action | string | ACCEPT or DROP. |
| PolicyDescription | string | Security group policy description. |
| ModifyTime | string | The last modification time of the security group. |
