Class S3BucketPublicAccessBlock

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

      • TF_RESOURCE_TYPE

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

      • S3BucketPublicAccessBlock

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

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

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

      • resetBlockPublicAcls

        @Stability(Stable)
        public void resetBlockPublicAcls()
      • resetBlockPublicPolicy

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

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

        @Stability(Stable)
        public void resetIgnorePublicAcls()
      • resetRestrictPublicBuckets

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

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

        @Stability(Stable)
        @Nullable
        public Object getBlockPublicAclsInput()
      • getBlockPublicPolicyInput

        @Stability(Stable)
        @Nullable
        public Object getBlockPublicPolicyInput()
      • getBucketInput

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

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

        @Stability(Stable)
        @Nullable
        public Object getIgnorePublicAclsInput()
      • getRestrictPublicBucketsInput

        @Stability(Stable)
        @Nullable
        public Object getRestrictPublicBucketsInput()
      • getBlockPublicAcls

        @Stability(Stable)
        @NotNull
        public Object getBlockPublicAcls()
      • setBlockPublicAcls

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

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

        @Stability(Stable)
        @NotNull
        public Object getBlockPublicPolicy()
      • setBlockPublicPolicy

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

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

        @Stability(Stable)
        @NotNull
        public Object getIgnorePublicAcls()
      • setIgnorePublicAcls

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

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

        @Stability(Stable)
        @NotNull
        public Object getRestrictPublicBuckets()
      • setRestrictPublicBuckets

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

        @Stability(Stable)
        public void setRestrictPublicBuckets​(@NotNull
                                             com.hashicorp.cdktf.IResolvable value)