@Stability(value=Stable) @Internal public static final class CfnBucket.AccessRulesProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.AccessRulesProperty
CfnBucket.AccessRulesPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnBucket.AccessRulesProperty.Builder, CfnBucket.AccessRulesProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnBucket.AccessRulesProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnBucket.AccessRulesProperty.Builder. |
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(Object o) |
Object |
getAllowPublicOverrides()
A Boolean value indicating whether the access control list (ACL) permissions that are applied to individual objects override the `GetObject` option that is currently specified.
|
String |
getObjectAccess()
Specifies the anonymous access to all objects in a bucket.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnBucket.AccessRulesProperty.Builder builder)
CfnBucket.AccessRulesProperty.Builder.public final Object getAllowPublicOverrides()
CfnBucket.AccessRulesProperty
When this is true, you can use the PutObjectAcl Amazon S3 API operation to set individual objects to public (read-only) or private, using either the public-read ACL or the private ACL.
getAllowPublicOverrides in interface CfnBucket.AccessRulesPropertypublic final String getObjectAccess()
CfnBucket.AccessRulesPropertyThe following options can be specified:
public - Sets all objects in the bucket to public (read-only), making them readable by everyone on the internet.
If the GetObject value is set to public , then all objects in the bucket default to public regardless of the allowPublicOverrides value.
private - Sets all objects in the bucket to private, making them readable only by you and anyone that you grant access to.
If the GetObject value is set to private , and the allowPublicOverrides value is set to true , then all objects in the bucket default to private unless they are configured with a public-read ACL. Individual objects with a public-read ACL are readable by everyone on the internet.
getObjectAccess in interface CfnBucket.AccessRulesProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.