Interface CfnVPCPeeringConnectionProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.176Z") @Stability(Stable) public interface CfnVPCPeeringConnectionProps extends
Properties for defining a CfnVPCPeeringConnection.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnVPCPeeringConnectionProps cfnVPCPeeringConnectionProps = CfnVPCPeeringConnectionProps.builder()
         // the properties below are optional
  • Method Details

    • getPeerVpcId

      @Stability(Stable) @NotNull String getPeerVpcId()
      The ID of the VPC with which you are creating the VPC peering connection.

      You must specify this parameter in the request.

    • getVpcId

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

      @Stability(Stable) @Nullable default String getPeerOwnerId()
      The AWS account ID of the owner of the accepter VPC.

      Default: Your AWS account ID

    • getPeerRegion

      @Stability(Stable) @Nullable default String getPeerRegion()
      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.

      Default: The Region in which you make the request.

    • getPeerRoleArn

      @Stability(Stable) @Nullable default String getPeerRoleArn()
      The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.

      This is required when you are peering a VPC in a different AWS account.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      Any tags assigned to the resource.
    • builder

      @Stability(Stable) static CfnVPCPeeringConnectionProps.Builder builder()
      a CfnVPCPeeringConnectionProps.Builder of CfnVPCPeeringConnectionProps