TransitGatewayAttachment
@cosmos-building-blocks/network › Globals › TransitGatewayAttachment
Hierarchy
Resource
↳ TransitGatewayAttachment
Implements
- IConstruct
- IConstruct
- IResource
- ITransitGatewayAttachment
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:
Name | Type |
---|---|
scope | Construct |
id | string |
props | TransitGatewayAttachmentProps |
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
Name | Type |
---|---|
destinationCidrBlock | string |
Returns: void