Skip to content

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

Description

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.

Usage

ec2_describe_security_group_references(DryRun, GroupId)

Arguments

  • 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 DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • GroupId

    [required] The IDs of the security groups in your account.

Value

A list with the following syntax:

list(
  SecurityGroupReferenceSet = list(
    list(
      GroupId = "string",
      ReferencingVpcId = "string",
      VpcPeeringConnectionId = "string",
      TransitGatewayId = "string"
    )
  )
)

Request syntax

svc$describe_security_group_references(
  DryRun = TRUE|FALSE,
  GroupId = list(
    "string"
  )
)

Examples

# This example describes the security group references for the specified
# security group.
svc$describe_security_group_references(
  GroupId = list(
    "sg-903004f8"
  )
)