@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.035Z") @Stability(value=Stable) public interface CfnVPCPeeringConnectionProps 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.*;
CfnVPCPeeringConnectionProps cfnVPCPeeringConnectionProps = CfnVPCPeeringConnectionProps.builder()
.peerVpcId("peerVpcId")
.vpcId("vpcId")
// the properties below are optional
.peerOwnerId("peerOwnerId")
.peerRegion("peerRegion")
.peerRoleArn("peerRoleArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVPCPeeringConnectionProps.Builder
A builder for
CfnVPCPeeringConnectionProps |
static class |
CfnVPCPeeringConnectionProps.Jsii$Proxy
An implementation for
CfnVPCPeeringConnectionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnVPCPeeringConnectionProps.Builder |
builder() |
default String |
getPeerOwnerId()
`AWS::EC2::VPCPeeringConnection.PeerOwnerId`.
|
default String |
getPeerRegion()
`AWS::EC2::VPCPeeringConnection.PeerRegion`.
|
default String |
getPeerRoleArn()
`AWS::EC2::VPCPeeringConnection.PeerRoleArn`.
|
String |
getPeerVpcId()
`AWS::EC2::VPCPeeringConnection.PeerVpcId`.
|
default List<CfnTag> |
getTags()
`AWS::EC2::VPCPeeringConnection.Tags`.
|
String |
getVpcId()
`AWS::EC2::VPCPeeringConnection.VpcId`.
|
@Stability(value=Stable) @Nullable default String getPeerOwnerId()
@Stability(value=Stable) @Nullable default String getPeerRegion()
@Stability(value=Stable) @Nullable default String getPeerRoleArn()
@Stability(value=Stable) @NotNull String getPeerVpcId()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @NotNull String getVpcId()
@Stability(value=Stable) static CfnVPCPeeringConnectionProps.Builder builder()
Copyright © 2021. All rights reserved.