@Stability(value=Stable) public static final class CfnVPCPeeringConnection.Builder extends Object implements software.amazon.jsii.Builder<CfnVPCPeeringConnection>
CfnVPCPeeringConnection.| Modifier and Type | Method and Description |
|---|---|
CfnVPCPeeringConnection |
build() |
static CfnVPCPeeringConnection.Builder |
create(software.constructs.Construct scope,
String id) |
CfnVPCPeeringConnection.Builder |
peerOwnerId(String peerOwnerId)
The AWS account ID of the owner of the accepter VPC.
|
CfnVPCPeeringConnection.Builder |
peerRegion(String peerRegion)
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
|
CfnVPCPeeringConnection.Builder |
peerRoleArn(String peerRoleArn)
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
|
CfnVPCPeeringConnection.Builder |
peerVpcId(String peerVpcId)
The ID of the VPC with which you are creating the VPC peering connection.
|
CfnVPCPeeringConnection.Builder |
tags(List<? extends CfnTag> tags)
Any tags assigned to the resource.
|
CfnVPCPeeringConnection.Builder |
vpcId(String vpcId)
The ID of the VPC.
|
@Stability(value=Stable) public static CfnVPCPeeringConnection.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnVPCPeeringConnection.Builder.@Stability(value=Stable) public CfnVPCPeeringConnection.Builder peerVpcId(String peerVpcId)
You must specify this parameter in the request.
peerVpcId - The ID of the VPC with which you are creating the VPC peering connection. This parameter is required.this@Stability(value=Stable) public CfnVPCPeeringConnection.Builder vpcId(String vpcId)
vpcId - The ID of the VPC. This parameter is required.this@Stability(value=Stable) public CfnVPCPeeringConnection.Builder peerOwnerId(String peerOwnerId)
Default: Your AWS account ID
peerOwnerId - The AWS account ID of the owner of the accepter VPC. This parameter is required.this@Stability(value=Stable) public CfnVPCPeeringConnection.Builder peerRegion(String peerRegion)
Default: The Region in which you make the request.
peerRegion - The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request. This parameter is required.this@Stability(value=Stable) public CfnVPCPeeringConnection.Builder peerRoleArn(String peerRoleArn)
This is required when you are peering a VPC in a different AWS account.
peerRoleArn - The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account. This parameter is required.this@Stability(value=Stable) public CfnVPCPeeringConnection.Builder tags(List<? extends CfnTag> tags)
tags - Any tags assigned to the resource. This parameter is required.this@Stability(value=Stable) public CfnVPCPeeringConnection build()
build in interface software.amazon.jsii.Builder<CfnVPCPeeringConnection>Copyright © 2022. All rights reserved.