Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeSecurityGroupReferencesCommand

[VPC only] Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request.

example

Use a bare-bones client and the command you need to make an API call.

import { EC2Client, DescribeSecurityGroupReferencesCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, DescribeSecurityGroupReferencesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new DescribeSecurityGroupReferencesCommand(input);
const response = await client.send(command);
see

DescribeSecurityGroupReferencesCommandInput for command's input shape.

see

DescribeSecurityGroupReferencesCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeSecurityGroupReferencesCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions