Interface BlockPublicAccessOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BlockPublicAccessOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:37.487Z")
@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
-