Interface BlockPublicAccessOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BlockPublicAccessOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:22.835Z")
@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
-