Skip to content

Describe Security Group References

ec2_describe_security_group_references R Documentation

Describes the VPCs on the other side of a VPC peering 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 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

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

## End(Not run)