Class Ec2TransitGateway

  • 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:52.794Z")
    @Stability(Stable)
    public class Ec2TransitGateway
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway aws_ec2_transit_gateway}.
    • Field Detail

      • TF_RESOURCE_TYPE

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

      • Ec2TransitGateway

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

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

        @Stability(Stable)
        public Ec2TransitGateway​(@NotNull
                                 software.constructs.Construct scope,
                                 @NotNull
                                 String id,
                                 @Nullable
                                 Ec2TransitGatewayConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway aws_ec2_transit_gateway} 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 -
      • Ec2TransitGateway

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

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

      • putTimeouts

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

        @Stability(Stable)
        public void resetAmazonSideAsn()
      • resetAutoAcceptSharedAttachments

        @Stability(Stable)
        public void resetAutoAcceptSharedAttachments()
      • resetDefaultRouteTableAssociation

        @Stability(Stable)
        public void resetDefaultRouteTableAssociation()
      • resetDefaultRouteTablePropagation

        @Stability(Stable)
        public void resetDefaultRouteTablePropagation()
      • resetDescription

        @Stability(Stable)
        public void resetDescription()
      • resetDnsSupport

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

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

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

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

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

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

        @Stability(Stable)
        public void resetTransitGatewayCidrBlocks()
      • resetVpnEcmpSupport

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

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

        @Stability(Stable)
        @NotNull
        public String getArn()
      • getAssociationDefaultRouteTableId

        @Stability(Stable)
        @NotNull
        public String getAssociationDefaultRouteTableId()
      • getOwnerId

        @Stability(Stable)
        @NotNull
        public String getOwnerId()
      • getPropagationDefaultRouteTableId

        @Stability(Stable)
        @NotNull
        public String getPropagationDefaultRouteTableId()
      • getAmazonSideAsnInput

        @Stability(Stable)
        @Nullable
        public Number getAmazonSideAsnInput()
      • getAutoAcceptSharedAttachmentsInput

        @Stability(Stable)
        @Nullable
        public String getAutoAcceptSharedAttachmentsInput()
      • getDefaultRouteTableAssociationInput

        @Stability(Stable)
        @Nullable
        public String getDefaultRouteTableAssociationInput()
      • getDefaultRouteTablePropagationInput

        @Stability(Stable)
        @Nullable
        public String getDefaultRouteTablePropagationInput()
      • getDescriptionInput

        @Stability(Stable)
        @Nullable
        public String getDescriptionInput()
      • getDnsSupportInput

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

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

        @Stability(Stable)
        @Nullable
        public String getMulticastSupportInput()
      • 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()
      • getTransitGatewayCidrBlocksInput

        @Stability(Stable)
        @Nullable
        public List<String> getTransitGatewayCidrBlocksInput()
      • getVpnEcmpSupportInput

        @Stability(Stable)
        @Nullable
        public String getVpnEcmpSupportInput()
      • getAmazonSideAsn

        @Stability(Stable)
        @NotNull
        public Number getAmazonSideAsn()
      • setAmazonSideAsn

        @Stability(Stable)
        public void setAmazonSideAsn​(@NotNull
                                     Number value)
      • getAutoAcceptSharedAttachments

        @Stability(Stable)
        @NotNull
        public String getAutoAcceptSharedAttachments()
      • setAutoAcceptSharedAttachments

        @Stability(Stable)
        public void setAutoAcceptSharedAttachments​(@NotNull
                                                   String value)
      • getDefaultRouteTableAssociation

        @Stability(Stable)
        @NotNull
        public String getDefaultRouteTableAssociation()
      • setDefaultRouteTableAssociation

        @Stability(Stable)
        public void setDefaultRouteTableAssociation​(@NotNull
                                                    String value)
      • getDefaultRouteTablePropagation

        @Stability(Stable)
        @NotNull
        public String getDefaultRouteTablePropagation()
      • setDefaultRouteTablePropagation

        @Stability(Stable)
        public void setDefaultRouteTablePropagation​(@NotNull
                                                    String value)
      • getDescription

        @Stability(Stable)
        @NotNull
        public String getDescription()
      • setDescription

        @Stability(Stable)
        public void setDescription​(@NotNull
                                   String value)
      • getDnsSupport

        @Stability(Stable)
        @NotNull
        public String getDnsSupport()
      • setDnsSupport

        @Stability(Stable)
        public void setDnsSupport​(@NotNull
                                  String value)
      • getId

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

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

        @Stability(Stable)
        @NotNull
        public String getMulticastSupport()
      • setMulticastSupport

        @Stability(Stable)
        public void setMulticastSupport​(@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)
      • getTransitGatewayCidrBlocks

        @Stability(Stable)
        @NotNull
        public List<String> getTransitGatewayCidrBlocks()
      • setTransitGatewayCidrBlocks

        @Stability(Stable)
        public void setTransitGatewayCidrBlocks​(@NotNull
                                                List<String> value)
      • getVpnEcmpSupport

        @Stability(Stable)
        @NotNull
        public String getVpnEcmpSupport()
      • setVpnEcmpSupport

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