Class DataAwsS3Object

  • 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.270Z")
    @Stability(Stable)
    public class DataAwsS3Object
    extends com.hashicorp.cdktf.TerraformDataSource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/s3_object aws_s3_object}.
    • Field Detail

      • TF_RESOURCE_TYPE

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

      • DataAwsS3Object

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

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

        @Stability(Stable)
        public DataAwsS3Object​(@NotNull
                               software.constructs.Construct scope,
                               @NotNull
                               String id,
                               @NotNull
                               DataAwsS3ObjectConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/s3_object aws_s3_object} Data Source.

        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()
      • resetRange

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

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

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

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

        @Stability(Stable)
        @NotNull
        public String getBody()
      • getBucketKeyEnabled

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.IResolvable getBucketKeyEnabled()
      • getCacheControl

        @Stability(Stable)
        @NotNull
        public String getCacheControl()
      • getContentDisposition

        @Stability(Stable)
        @NotNull
        public String getContentDisposition()
      • getContentEncoding

        @Stability(Stable)
        @NotNull
        public String getContentEncoding()
      • getContentLanguage

        @Stability(Stable)
        @NotNull
        public String getContentLanguage()
      • getContentLength

        @Stability(Stable)
        @NotNull
        public Number getContentLength()
      • getContentType

        @Stability(Stable)
        @NotNull
        public String getContentType()
      • getEtag

        @Stability(Stable)
        @NotNull
        public String getEtag()
      • getExpiration

        @Stability(Stable)
        @NotNull
        public String getExpiration()
      • getExpires

        @Stability(Stable)
        @NotNull
        public String getExpires()
      • getLastModified

        @Stability(Stable)
        @NotNull
        public String getLastModified()
      • getMetadata

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.StringMap getMetadata()
      • getObjectLockLegalHoldStatus

        @Stability(Stable)
        @NotNull
        public String getObjectLockLegalHoldStatus()
      • getObjectLockMode

        @Stability(Stable)
        @NotNull
        public String getObjectLockMode()
      • getObjectLockRetainUntilDate

        @Stability(Stable)
        @NotNull
        public String getObjectLockRetainUntilDate()
      • getServerSideEncryption

        @Stability(Stable)
        @NotNull
        public String getServerSideEncryption()
      • getSseKmsKeyId

        @Stability(Stable)
        @NotNull
        public String getSseKmsKeyId()
      • getStorageClass

        @Stability(Stable)
        @NotNull
        public String getStorageClass()
      • getWebsiteRedirectLocation

        @Stability(Stable)
        @NotNull
        public String getWebsiteRedirectLocation()
      • getBucketInput

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

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

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

        @Stability(Stable)
        @Nullable
        public String getRangeInput()
      • getTagsInput

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

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

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

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

        @Stability(Stable)
        @NotNull
        public String getRange()
      • setRange

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

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

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

        @Stability(Stable)
        @NotNull
        public String getVersionId()
      • setVersionId

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