Interface CfnVPCGatewayAttachmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVPCGatewayAttachmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:18.079Z")
@Stability(Stable)
public interface CfnVPCGatewayAttachmentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnVPCGatewayAttachment
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; CfnVPCGatewayAttachmentProps cfnVPCGatewayAttachmentProps = CfnVPCGatewayAttachmentProps.builder() .vpcId("vpcId") // the properties below are optional .internetGatewayId("internetGatewayId") .vpnGatewayId("vpnGatewayId") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVPCGatewayAttachmentProps
static final class
An implementation forCfnVPCGatewayAttachmentProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpcId
The ID of the VPC.- See Also:
-
getInternetGatewayId
The ID of the internet gateway.You must specify either
InternetGatewayId
orVpnGatewayId
, but not both.- See Also:
-
getVpnGatewayId
The ID of the virtual private gateway.You must specify either
InternetGatewayId
orVpnGatewayId
, but not both.- See Also:
-
builder
-