interface VPCGatewayAttachmentReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.EC2.VPCGatewayAttachmentReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsec2#VPCGatewayAttachmentReference |
Java | software.amazon.awscdk.interfaces.ec2.VPCGatewayAttachmentReference |
Python | aws_cdk.interfaces.aws_ec2.VPCGatewayAttachmentReference |
TypeScript | aws-cdk-lib » interfaces » aws_ec2 » VPCGatewayAttachmentReference |
A reference to a VPCGatewayAttachment resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_aws_ec2 } from 'aws-cdk-lib/interfaces';
const vPCGatewayAttachmentReference: interfaces_aws_ec2.VPCGatewayAttachmentReference = {
attachmentType: 'attachmentType',
vpcId: 'vpcId',
};
Properties
| Name | Type | Description |
|---|---|---|
| attachment | string | The AttachmentType of the VPCGatewayAttachment resource. |
| vpc | string | The VpcId of the VPCGatewayAttachment resource. |
attachmentType
Type:
string
The AttachmentType of the VPCGatewayAttachment resource.
vpcId
Type:
string
The VpcId of the VPCGatewayAttachment resource.

.NET
Go
Java
Python
TypeScript