Class S3Object

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

      • TF_RESOURCE_TYPE

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

      • S3Object

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

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

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

      • resetAcl

        @Stability(Stable)
        public void resetAcl()
      • resetBucketKeyEnabled

        @Stability(Stable)
        public void resetBucketKeyEnabled()
      • resetCacheControl

        @Stability(Stable)
        public void resetCacheControl()
      • resetContent

        @Stability(Stable)
        public void resetContent()
      • resetContentBase64

        @Stability(Stable)
        public void resetContentBase64()
      • resetContentDisposition

        @Stability(Stable)
        public void resetContentDisposition()
      • resetContentEncoding

        @Stability(Stable)
        public void resetContentEncoding()
      • resetContentLanguage

        @Stability(Stable)
        public void resetContentLanguage()
      • resetContentType

        @Stability(Stable)
        public void resetContentType()
      • resetEtag

        @Stability(Stable)
        public void resetEtag()
      • resetForceDestroy

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

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

        @Stability(Stable)
        public void resetKmsKeyId()
      • resetMetadata

        @Stability(Stable)
        public void resetMetadata()
      • resetObjectLockLegalHoldStatus

        @Stability(Stable)
        public void resetObjectLockLegalHoldStatus()
      • resetObjectLockMode

        @Stability(Stable)
        public void resetObjectLockMode()
      • resetObjectLockRetainUntilDate

        @Stability(Stable)
        public void resetObjectLockRetainUntilDate()
      • resetServerSideEncryption

        @Stability(Stable)
        public void resetServerSideEncryption()
      • resetSource

        @Stability(Stable)
        public void resetSource()
      • resetSourceHash

        @Stability(Stable)
        public void resetSourceHash()
      • resetStorageClass

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

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

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

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

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

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

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

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

        @Stability(Stable)
        @Nullable
        public Object getBucketKeyEnabledInput()
      • getCacheControlInput

        @Stability(Stable)
        @Nullable
        public String getCacheControlInput()
      • getContentBase64Input

        @Stability(Stable)
        @Nullable
        public String getContentBase64Input()
      • getContentDispositionInput

        @Stability(Stable)
        @Nullable
        public String getContentDispositionInput()
      • getContentEncodingInput

        @Stability(Stable)
        @Nullable
        public String getContentEncodingInput()
      • getContentInput

        @Stability(Stable)
        @Nullable
        public String getContentInput()
      • getContentLanguageInput

        @Stability(Stable)
        @Nullable
        public String getContentLanguageInput()
      • getContentTypeInput

        @Stability(Stable)
        @Nullable
        public String getContentTypeInput()
      • getEtagInput

        @Stability(Stable)
        @Nullable
        public String getEtagInput()
      • getForceDestroyInput

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

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

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

        @Stability(Stable)
        @Nullable
        public String getKmsKeyIdInput()
      • getMetadataInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getMetadataInput()
      • getObjectLockLegalHoldStatusInput

        @Stability(Stable)
        @Nullable
        public String getObjectLockLegalHoldStatusInput()
      • getObjectLockModeInput

        @Stability(Stable)
        @Nullable
        public String getObjectLockModeInput()
      • getObjectLockRetainUntilDateInput

        @Stability(Stable)
        @Nullable
        public String getObjectLockRetainUntilDateInput()
      • getServerSideEncryptionInput

        @Stability(Stable)
        @Nullable
        public String getServerSideEncryptionInput()
      • getSourceHashInput

        @Stability(Stable)
        @Nullable
        public String getSourceHashInput()
      • getSourceInput

        @Stability(Stable)
        @Nullable
        public String getSourceInput()
      • getStorageClassInput

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

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

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

        @Stability(Stable)
        @Nullable
        public String getWebsiteRedirectInput()
      • getAcl

        @Stability(Stable)
        @NotNull
        public String getAcl()
      • setAcl

        @Stability(Stable)
        public void setAcl​(@NotNull
                           String value)
      • getBucket

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

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

        @Stability(Stable)
        @NotNull
        public Object getBucketKeyEnabled()
      • setBucketKeyEnabled

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

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

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

        @Stability(Stable)
        public void setCacheControl​(@NotNull
                                    String value)
      • getContent

        @Stability(Stable)
        @NotNull
        public String getContent()
      • setContent

        @Stability(Stable)
        public void setContent​(@NotNull
                               String value)
      • getContentBase64

        @Stability(Stable)
        @NotNull
        public String getContentBase64()
      • setContentBase64

        @Stability(Stable)
        public void setContentBase64​(@NotNull
                                     String value)
      • getContentDisposition

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

        @Stability(Stable)
        public void setContentDisposition​(@NotNull
                                          String value)
      • getContentEncoding

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

        @Stability(Stable)
        public void setContentEncoding​(@NotNull
                                       String value)
      • getContentLanguage

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

        @Stability(Stable)
        public void setContentLanguage​(@NotNull
                                       String value)
      • getContentType

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

        @Stability(Stable)
        public void setContentType​(@NotNull
                                   String value)
      • getEtag

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

        @Stability(Stable)
        public void setEtag​(@NotNull
                            String value)
      • getForceDestroy

        @Stability(Stable)
        @NotNull
        public Object getForceDestroy()
      • setForceDestroy

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

        @Stability(Stable)
        public void setForceDestroy​(@NotNull
                                    com.hashicorp.cdktf.IResolvable 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)
      • getKmsKeyId

        @Stability(Stable)
        @NotNull
        public String getKmsKeyId()
      • setKmsKeyId

        @Stability(Stable)
        public void setKmsKeyId​(@NotNull
                                String value)
      • getMetadata

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getMetadata()
      • setMetadata

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

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

        @Stability(Stable)
        public void setObjectLockLegalHoldStatus​(@NotNull
                                                 String value)
      • getObjectLockMode

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

        @Stability(Stable)
        public void setObjectLockMode​(@NotNull
                                      String value)
      • getObjectLockRetainUntilDate

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

        @Stability(Stable)
        public void setObjectLockRetainUntilDate​(@NotNull
                                                 String value)
      • getServerSideEncryption

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

        @Stability(Stable)
        public void setServerSideEncryption​(@NotNull
                                            String value)
      • getSource

        @Stability(Stable)
        @NotNull
        public String getSource()
      • setSource

        @Stability(Stable)
        public void setSource​(@NotNull
                              String value)
      • getSourceHash

        @Stability(Stable)
        @NotNull
        public String getSourceHash()
      • setSourceHash

        @Stability(Stable)
        public void setSourceHash​(@NotNull
                                  String value)
      • getStorageClass

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

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

        @Stability(Stable)
        @NotNull
        public String getWebsiteRedirect()
      • setWebsiteRedirect

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