Interface BlockPublicAccessOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BlockPublicAccessOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:47.625Z")
@Stability(Stable)
public interface BlockPublicAccessOptions
extends software.amazon.jsii.JsiiSerializable
Example:
Bucket bucket = Bucket.Builder.create(this, "MyBlockedBucket")
.blockPublicAccess(BlockPublicAccess.Builder.create().blockPublicPolicy(false).build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBlockPublicAccessOptionsstatic final classAn 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.BuilderofBlockPublicAccessOptions
-