[VPC only] Describes the stale security group rules for security groups in a specified VPC. Rules are stale when they reference a deleted security group in a peer VPC, or a security group in a peer VPC for which the VPC peering connection has been deleted.
ec2_describe_stale_security_groups(DryRun, MaxResults, NextToken, VpcId)
A list with the following syntax:
list(
NextToken = "string",
StaleSecurityGroupSet = list(
list(
Description = "string",
GroupId = "string",
GroupName = "string",
StaleIpPermissions = list(
list(
FromPort = 123,
IpProtocol = "string",
IpRanges = list(
"string"
),
PrefixListIds = list(
"string"
),
ToPort = 123,
UserIdGroupPairs = list(
list(
Description = "string",
GroupId = "string",
GroupName = "string",
PeeringStatus = "string",
UserId = "string",
VpcId = "string",
VpcPeeringConnectionId = "string"
)
)
)
),
StaleIpPermissionsEgress = list(
list(
FromPort = 123,
IpProtocol = "string",
IpRanges = list(
"string"
),
PrefixListIds = list(
"string"
),
ToPort = 123,
UserIdGroupPairs = list(
list(
Description = "string",
GroupId = "string",
GroupName = "string",
PeeringStatus = "string",
UserId = "string",
VpcId = "string",
VpcPeeringConnectionId = "string"
)
)
)
),
VpcId = "string"
)
)
)
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 DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
The token for the next set of items to return. (You received this token from a prior call.)
[required] The ID of the VPC.
svc$describe_stale_security_groups(
DryRun = TRUE|FALSE,
MaxResults = 123,
NextToken = "string",
VpcId = "string"
)