Class BlockPublicAccess
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.s3.BlockPublicAccess
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:51:04.613Z")
@Stability(Stable)
public class BlockPublicAccess
extends software.amazon.jsii.JsiiObject
Example:
Bucket bucket = Bucket.Builder.create(this, "MyBlockedBucket") .blockPublicAccess(BlockPublicAccess.BLOCK_ALL) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
BlockPublicAccess
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
BlockPublicAccess
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setBlockPublicAcls
(Boolean value) void
setBlockPublicPolicy
(Boolean value) void
setIgnorePublicAcls
(Boolean value) void
setRestrictPublicBuckets
(Boolean value) Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
BLOCK_ACLS
-
BLOCK_ALL
-
-
Constructor Details
-
BlockPublicAccess
protected BlockPublicAccess(software.amazon.jsii.JsiiObjectRef objRef) -
BlockPublicAccess
protected BlockPublicAccess(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
BlockPublicAccess
- Parameters:
options
- This parameter is required.
-
-
Method Details
-
getBlockPublicAcls
-
setBlockPublicAcls
-
getBlockPublicPolicy
-
setBlockPublicPolicy
-
getIgnorePublicAcls
-
setIgnorePublicAcls
-
getRestrictPublicBuckets
-
setRestrictPublicBuckets
-