@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.997Z") @Stability(value=Stable) public interface CfnVPNConnectionProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnVPNConnectionProps cfnVPNConnectionProps = CfnVPNConnectionProps.builder()
.customerGatewayId("customerGatewayId")
.type("type")
// the properties below are optional
.staticRoutesOnly(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.transitGatewayId("transitGatewayId")
.vpnGatewayId("vpnGatewayId")
.vpnTunnelOptionsSpecifications(List.of(VpnTunnelOptionsSpecificationProperty.builder()
.preSharedKey("preSharedKey")
.tunnelInsideCidr("tunnelInsideCidr")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVPNConnectionProps.Builder
A builder for
CfnVPNConnectionProps |
static class |
CfnVPNConnectionProps.Jsii$Proxy
An implementation for
CfnVPNConnectionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnVPNConnectionProps.Builder |
builder() |
String |
getCustomerGatewayId()
`AWS::EC2::VPNConnection.CustomerGatewayId`.
|
default Object |
getStaticRoutesOnly()
`AWS::EC2::VPNConnection.StaticRoutesOnly`.
|
default List<CfnTag> |
getTags()
`AWS::EC2::VPNConnection.Tags`.
|
default String |
getTransitGatewayId()
`AWS::EC2::VPNConnection.TransitGatewayId`.
|
String |
getType()
`AWS::EC2::VPNConnection.Type`.
|
default String |
getVpnGatewayId()
`AWS::EC2::VPNConnection.VpnGatewayId`.
|
default Object |
getVpnTunnelOptionsSpecifications()
`AWS::EC2::VPNConnection.VpnTunnelOptionsSpecifications`.
|
@Stability(value=Stable) @NotNull String getCustomerGatewayId()
@Stability(value=Stable) @Nullable default Object getStaticRoutesOnly()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @Nullable default String getTransitGatewayId()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default String getVpnGatewayId()
@Stability(value=Stable) @Nullable default Object getVpnTunnelOptionsSpecifications()
@Stability(value=Stable) static CfnVPNConnectionProps.Builder builder()
CfnVPNConnectionProps.Builder of CfnVPNConnectionPropsCopyright © 2021. All rights reserved.