Skip to content

/AWS1/CL_EC2=>DESCRIBESTALESECURITYGROUPS()

About DescribeStaleSecurityGroups

Describes the stale security group rules for security groups referenced across a VPC peering connection, transit gateway connection, or with a security group VPC association. Rules are stale when they reference a deleted security group. Rules can also be stale if they reference a security group in a peer VPC for which the VPC peering connection has been deleted, across a transit gateway where the transit gateway has been deleted (or the transit gateway security group referencing feature has been disabled), or if a security group VPC association has been disassociated.

Method Signature

IMPORTING

Required arguments:

IV_VPCID TYPE /AWS1/EC2VPCID /AWS1/EC2VPCID

The ID of the VPC.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

IV_MAXRESULTS TYPE /AWS1/EC2DSCSTALESECGRSMAXRSS /AWS1/EC2DSCSTALESECGRSMAXRSS

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. For more information, see Pagination.

IV_NEXTTOKEN TYPE /AWS1/EC2DSCSTALESECGRSNEXTTOK /AWS1/EC2DSCSTALESECGRSNEXTTOK

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DSCSTALESECGRSRS /AWS1/CL_EC2DSCSTALESECGRSRS