Class VpcPeeringConnection

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-06-30T04:56:55.475Z")
    @Stability(Stable)
    public class VpcPeeringConnection
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_peering_connection aws_vpc_peering_connection}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • VpcPeeringConnection

        protected VpcPeeringConnection​(software.amazon.jsii.JsiiObjectRef objRef)
      • VpcPeeringConnection

        protected VpcPeeringConnection​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • VpcPeeringConnection

        @Stability(Stable)
        public VpcPeeringConnection​(@NotNull
                                    software.constructs.Construct scope,
                                    @NotNull
                                    String id,
                                    @NotNull
                                    VpcPeeringConnectionConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_peering_connection aws_vpc_peering_connection} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • putAccepter

        @Stability(Stable)
        public void putAccepter​(@NotNull
                                VpcPeeringConnectionAccepter value)
        Parameters:
        value - This parameter is required.
      • putRequester

        @Stability(Stable)
        public void putRequester​(@NotNull
                                 VpcPeeringConnectionRequester value)
        Parameters:
        value - This parameter is required.
      • putTimeouts

        @Stability(Stable)
        public void putTimeouts​(@NotNull
                                VpcPeeringConnectionTimeouts value)
        Parameters:
        value - This parameter is required.
      • resetAccepter

        @Stability(Stable)
        public void resetAccepter()
      • resetAutoAccept

        @Stability(Stable)
        public void resetAutoAccept()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetPeerOwnerId

        @Stability(Stable)
        public void resetPeerOwnerId()
      • resetPeerRegion

        @Stability(Stable)
        public void resetPeerRegion()
      • resetRequester

        @Stability(Stable)
        public void resetRequester()
      • resetTags

        @Stability(Stable)
        public void resetTags()
      • resetTagsAll

        @Stability(Stable)
        public void resetTagsAll()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • getAcceptStatus

        @Stability(Stable)
        @NotNull
        public String getAcceptStatus()
      • getAutoAcceptInput

        @Stability(Stable)
        @Nullable
        public Object getAutoAcceptInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getPeerOwnerIdInput

        @Stability(Stable)
        @Nullable
        public String getPeerOwnerIdInput()
      • getPeerRegionInput

        @Stability(Stable)
        @Nullable
        public String getPeerRegionInput()
      • getPeerVpcIdInput

        @Stability(Stable)
        @Nullable
        public String getPeerVpcIdInput()
      • getTagsAllInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getTagsAllInput()
      • getTagsInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getTagsInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getVpcIdInput

        @Stability(Stable)
        @Nullable
        public String getVpcIdInput()
      • getAutoAccept

        @Stability(Stable)
        @NotNull
        public Object getAutoAccept()
      • setAutoAccept

        @Stability(Stable)
        public void setAutoAccept​(@NotNull
                                  Boolean value)
      • setAutoAccept

        @Stability(Stable)
        public void setAutoAccept​(@NotNull
                                  com.hashicorp.cdktf.IResolvable value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getPeerOwnerId

        @Stability(Stable)
        @NotNull
        public String getPeerOwnerId()
      • setPeerOwnerId

        @Stability(Stable)
        public void setPeerOwnerId​(@NotNull
                                   String value)
      • getPeerRegion

        @Stability(Stable)
        @NotNull
        public String getPeerRegion()
      • setPeerRegion

        @Stability(Stable)
        public void setPeerRegion​(@NotNull
                                  String value)
      • getPeerVpcId

        @Stability(Stable)
        @NotNull
        public String getPeerVpcId()
      • setPeerVpcId

        @Stability(Stable)
        public void setPeerVpcId​(@NotNull
                                 String value)
      • getTags

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getTags()
      • setTags

        @Stability(Stable)
        public void setTags​(@NotNull
                            Map<String,​String> value)
      • getTagsAll

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getTagsAll()
      • setTagsAll

        @Stability(Stable)
        public void setTagsAll​(@NotNull
                               Map<String,​String> value)
      • getVpcId

        @Stability(Stable)
        @NotNull
        public String getVpcId()
      • setVpcId

        @Stability(Stable)
        public void setVpcId​(@NotNull
                             String value)