public static final class CfnBucket.PublicAccessBlockConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.PublicAccessBlockConfigurationProperty
CfnBucket.PublicAccessBlockConfigurationProperty
CfnBucket.PublicAccessBlockConfigurationProperty.Builder, CfnBucket.PublicAccessBlockConfigurationProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getBlockPublicAcls()
Specifies whether Amazon S3 should block public access control lists (ACLs) for this bucket and objects in this bucket.
|
java.lang.Object |
getBlockPublicPolicy()
Specifies whether Amazon S3 should block public bucket policies for this bucket.
|
java.lang.Object |
getIgnorePublicAcls()
Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.
|
java.lang.Object |
getRestrictPublicBuckets()
Specifies whether Amazon S3 should restrict public bucket policies for this bucket.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Object getBlockPublicAcls()
CfnBucket.PublicAccessBlockConfigurationProperty
Setting this element to TRUE
causes the following behavior:
Enabling this setting doesn't affect existing policies or ACLs.
getBlockPublicAcls
in interface CfnBucket.PublicAccessBlockConfigurationProperty
public final java.lang.Object getBlockPublicPolicy()
CfnBucket.PublicAccessBlockConfigurationProperty
Setting this element to TRUE
causes Amazon S3 to reject calls to PUT Bucket policy if the specified bucket policy allows public access.
Enabling this setting doesn't affect existing bucket policies.
getBlockPublicPolicy
in interface CfnBucket.PublicAccessBlockConfigurationProperty
public final java.lang.Object getIgnorePublicAcls()
CfnBucket.PublicAccessBlockConfigurationProperty
Setting this element to TRUE
causes Amazon S3 to ignore all public ACLs on this bucket and objects in this bucket.
Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set.
getIgnorePublicAcls
in interface CfnBucket.PublicAccessBlockConfigurationProperty
public final java.lang.Object getRestrictPublicBuckets()
CfnBucket.PublicAccessBlockConfigurationProperty
Setting this element to TRUE
restricts access to this bucket to only AWS service principals and authorized users within this account if the bucket has a public policy.
Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked.
getRestrictPublicBuckets
in interface CfnBucket.PublicAccessBlockConfigurationProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()