Class S3BucketMetric

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

      Nested Classes 
      Modifier and Type Class Description
      static class  S3BucketMetric.Builder
      A fluent builder for S3BucketMetric.
      • 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 S3BucketMetric​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected S3BucketMetric​(software.amazon.jsii.JsiiObjectRef objRef)  
        S3BucketMetric​(software.constructs.Construct scope, String id, S3BucketMetricConfig config)
      Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_metric aws_s3_bucket_metric} Resource.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getBucket()  
      String getBucketInput()  
      S3BucketMetricFilterOutputReference getFilter()  
      S3BucketMetricFilter getFilterInput()  
      String getId()  
      String getIdInput()  
      String getName()  
      String getNameInput()  
      void putFilter​(S3BucketMetricFilter value)  
      void resetFilter()  
      void resetId()  
      void setBucket​(String value)  
      void setId​(String value)  
      void setName​(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

      • S3BucketMetric

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

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

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

      • putFilter

        @Stability(Stable)
        public void putFilter​(@NotNull
                              S3BucketMetricFilter value)
        Parameters:
        value - This parameter is required.
      • resetFilter

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

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

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

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

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

        @Stability(Stable)
        @Nullable
        public String getNameInput()
      • getBucket

        @Stability(Stable)
        @NotNull
        public String getBucket()
      • setBucket

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

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

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

        @Stability(Stable)
        @NotNull
        public String getName()
      • setName

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