Class Ec2Tag

  • 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.785Z")
    @Stability(Stable)
    public class Ec2Tag
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_tag aws_ec2_tag}.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Ec2Tag.Builder
      A fluent builder for Ec2Tag.
      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
      • Nested classes/interfaces inherited from interface com.hashicorp.cdktf.IInterpolatingParent

        com.hashicorp.cdktf.IInterpolatingParent.Jsii$Default, com.hashicorp.cdktf.IInterpolatingParent.Jsii$Proxy
      • Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformDependable

        com.hashicorp.cdktf.ITerraformDependable.Jsii$Default, com.hashicorp.cdktf.ITerraformDependable.Jsii$Proxy
      • Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformResource

        com.hashicorp.cdktf.ITerraformResource.Jsii$Default, com.hashicorp.cdktf.ITerraformResource.Jsii$Proxy
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Ec2Tag​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected Ec2Tag​(software.amazon.jsii.JsiiObjectRef objRef)  
        Ec2Tag​(software.constructs.Construct scope, String id, Ec2TagConfig config)
      Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_tag aws_ec2_tag} Resource.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getId()  
      String getIdInput()  
      String getKey()  
      String getKeyInput()  
      String getResourceId()  
      String getResourceIdInput()  
      String getValue()  
      String getValueInput()  
      void resetId()  
      void setId​(String value)  
      void setKey​(String value)  
      void setResourceId​(String value)  
      void setValue​(String value)  
      protected Map<String,​Object> synthesizeAttributes()  
      • Methods inherited from class com.hashicorp.cdktf.TerraformResource

        getAnyMapAttribute, getBooleanAttribute, getBooleanMapAttribute, getConnection, getCount, getDependsOn, getForEach, getLifecycle, getListAttribute, getNumberAttribute, getNumberListAttribute, getNumberMapAttribute, getProvider, getProvisioners, getStringAttribute, getStringMapAttribute, getTerraformGeneratorMetadata, getTerraformMetaArguments, getTerraformResourceType, interpolationForAttribute, isTerraformResource, setConnection, setConnection, setCount, setCount, setDependsOn, setForEach, setLifecycle, setProvider, setProvisioners, toMetadata, toTerraform
      • Methods inherited from class com.hashicorp.cdktf.TerraformElement

        addOverride, getCdktfStack, getConstructNodeMetadata, getFqn, getFriendlyUniqueId, getRawOverrides, isTerraformElement, overrideLogicalId, resetOverrideLogicalId
      • Methods inherited from class software.constructs.Construct

        getNode, isConstruct, toString
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
      • Methods inherited from interface com.hashicorp.cdktf.ITerraformAddressable

        getFqn
      • Methods inherited from interface com.hashicorp.cdktf.ITerraformResource

        getFqn, getFriendlyUniqueId
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Field Detail

      • TF_RESOURCE_TYPE

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

      • Ec2Tag

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

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

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

      • resetId

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

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

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

        @Stability(Stable)
        @Nullable
        public String getKeyInput()
      • getResourceIdInput

        @Stability(Stable)
        @Nullable
        public String getResourceIdInput()
      • getValueInput

        @Stability(Stable)
        @Nullable
        public String getValueInput()
      • getId

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

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

        @Stability(Stable)
        @NotNull
        public String getKey()
      • setKey

        @Stability(Stable)
        public void setKey​(@NotNull
                           String value)
      • getResourceId

        @Stability(Stable)
        @NotNull
        public String getResourceId()
      • setResourceId

        @Stability(Stable)
        public void setResourceId​(@NotNull
                                  String value)
      • getValue

        @Stability(Stable)
        @NotNull
        public String getValue()
      • setValue

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