describe_security_group_references
¶
describe_security_group_references(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
group_id: Optional[GroupIds] = None,
) -> DescribeSecurityGroupReferencesResult
Describes the VPCs on the other side of a VPC peering or Transit Gateway connection that are referencing the security groups you've specified in this request.
Parameters:
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
group_id(Optional[GroupIds], default:None) –The IDs of the security groups in your account.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe security group references This example describes the security group references for the specified security group.
Source code in docs_src/capo_ec2/_services/ec2.py
32734 32735 32736 32737 32738 32739 32740 32741 32742 32743 32744 32745 32746 32747 32748 32749 32750 32751 32752 32753 32754 32755 32756 32757 32758 32759 32760 32761 32762 32763 32764 32765 32766 32767 32768 32769 32770 32771 32772 32773 32774 32775 32776 32777 32778 32779 32780 32781 32782 32783 32784 32785 32786 | |