aws-cdk-lib.aws_ec2.CfnTransitGatewayPeeringAttachmentProps

interface CfnTransitGatewayPeeringAttachmentProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnTransitGatewayPeeringAttachmentProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnTransitGatewayPeeringAttachmentProps
Javasoftware.amazon.awscdk.services.ec2.CfnTransitGatewayPeeringAttachmentProps
Pythonaws_cdk.aws_ec2.CfnTransitGatewayPeeringAttachmentProps
TypeScript aws-cdk-lib » aws_ec2 » CfnTransitGatewayPeeringAttachmentProps

Properties for defining a CfnTransitGatewayPeeringAttachment.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnTransitGatewayPeeringAttachmentProps: ec2.CfnTransitGatewayPeeringAttachmentProps = {
  peerAccountId: 'peerAccountId',
  peerRegion: 'peerRegion',
  peerTransitGatewayId: 'peerTransitGatewayId',
  transitGatewayId: 'transitGatewayId',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
peerAccountIdstringThe ID of the AWS account that owns the transit gateway.
peerRegionstringThe Region of the transit gateway.
peerTransitGatewayIdstringThe ID of the transit gateway.
transitGatewayIdstringThe ID of the transit gateway peering attachment.
tags?CfnTag[]The tags for the transit gateway peering attachment.

peerAccountId

Type: string

The ID of the AWS account that owns the transit gateway.


peerRegion

Type: string

The Region of the transit gateway.


peerTransitGatewayId

Type: string

The ID of the transit gateway.


transitGatewayId

Type: string

The ID of the transit gateway peering attachment.


tags?

Type: CfnTag[] (optional)

The tags for the transit gateway peering attachment.