Interface CfnVPCGatewayAttachmentProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnVPCGatewayAttachmentProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.173Z") @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();
 
  • Method Details

    • getVpcId

      @Stability(Stable) @NotNull String getVpcId()
      The ID of the VPC.
    • getInternetGatewayId

      @Stability(Stable) @Nullable default String getInternetGatewayId()
      The ID of the internet gateway.

      You must specify either InternetGatewayId or VpnGatewayId , but not both.

    • getVpnGatewayId

      @Stability(Stable) @Nullable default String getVpnGatewayId()
      The ID of the virtual private gateway.

      You must specify either InternetGatewayId or VpnGatewayId , but not both.

    • builder

      @Stability(Stable) static CfnVPCGatewayAttachmentProps.Builder builder()
      Returns:
      a CfnVPCGatewayAttachmentProps.Builder of CfnVPCGatewayAttachmentProps