TransitGatewayAttachment

@cosmos-building-blocks/networkGlobalsTransitGatewayAttachment

Hierarchy

  • Resource

    TransitGatewayAttachment

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

+ new TransitGatewayAttachment(scope: Construct, id: string, props: TransitGatewayAttachmentProps): TransitGatewayAttachment

Overrides void

Defined in packages/@cosmos-building-blocks/network/src/transit-gateway/transit-gateway-attachment.ts:24

Parameters:

NameType
scopeConstruct
idstring
propsTransitGatewayAttachmentProps

Returns: TransitGatewayAttachment

Properties

Readonly attachmentId

attachmentId: string

Implementation of ITransitGatewayAttachment.attachmentId

Defined in packages/@cosmos-building-blocks/network/src/transit-gateway/transit-gateway-attachment.ts:21


Readonly gateway

gateway: ITransitGateway

Implementation of ITransitGatewayAttachment.gateway

Defined in packages/@cosmos-building-blocks/network/src/transit-gateway/transit-gateway-attachment.ts:22


Readonly subnets

subnets: ISubnet[]

Implementation of ITransitGatewayAttachment.subnets

Defined in packages/@cosmos-building-blocks/network/src/transit-gateway/transit-gateway-attachment.ts:24


Readonly vpc

vpc: IVpc

Implementation of ITransitGatewayAttachment.vpc

Defined in packages/@cosmos-building-blocks/network/src/transit-gateway/transit-gateway-attachment.ts:23

Methods

addRoute

addRoute(id: string, props: object): void

Defined in packages/@cosmos-building-blocks/network/src/transit-gateway/transit-gateway-attachment.ts:49

Parameters:

id: string

props: object

NameType
destinationCidrBlockstring

Returns: void