Describe Security Group Rules
ec2_describe_security_group_rules | R Documentation |
Describes one or more of your security group rules¶
Description¶
Describes one or more of your security group rules.
Usage¶
ec2_describe_security_group_rules(Filters, SecurityGroupRuleIds, DryRun,
NextToken, MaxResults)
Arguments¶
Filters |
One or more filters.
|
SecurityGroupRuleIds |
The IDs of the security group rules. |
DryRun |
Checks whether you have the required permissions for the action,
without actually making the request, and provides an error response. If
you have the required permissions, the error response is
|
NextToken |
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request. |
MaxResults |
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. This value can be between 5 and 1000. If this parameter is not specified, then all items are returned. For more information, see Pagination. |
Value¶
A list with the following syntax:
list(
SecurityGroupRules = list(
list(
SecurityGroupRuleId = "string",
GroupId = "string",
GroupOwnerId = "string",
IsEgress = TRUE|FALSE,
IpProtocol = "string",
FromPort = 123,
ToPort = 123,
CidrIpv4 = "string",
CidrIpv6 = "string",
PrefixListId = "string",
ReferencedGroupInfo = list(
GroupId = "string",
PeeringStatus = "string",
UserId = "string",
VpcId = "string",
VpcPeeringConnectionId = "string"
),
Description = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
SecurityGroupRuleArn = "string"
)
),
NextToken = "string"
)
Request syntax¶
svc$describe_security_group_rules(
Filters = list(
list(
Name = "string",
Values = list(
"string"
)
)
),
SecurityGroupRuleIds = list(
"string"
),
DryRun = TRUE|FALSE,
NextToken = "string",
MaxResults = 123
)