Interface BlockPublicAccessOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BlockPublicAccessOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-11T23:26:40.551Z")
@Stability(Stable)
public interface BlockPublicAccessOptions
extends software.amazon.jsii.JsiiSerializable
Example:
Bucket bucket = Bucket.Builder.create(this, "MyBlockedBucket") .blockPublicAccess(BlockPublicAccess.Builder.create().blockPublicPolicy(true).build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forBlockPublicAccessOptions
static final class
An implementation forBlockPublicAccessOptions
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBlockPublicAcls
Whether to block public ACLs.- See Also:
-
getBlockPublicPolicy
Whether to block public policy.- See Also:
-
getIgnorePublicAcls
Whether to ignore public ACLs.- See Also:
-
getRestrictPublicBuckets
Whether to restrict public access.- See Also:
-
builder
- Returns:
- a
BlockPublicAccessOptions.Builder
ofBlockPublicAccessOptions
-