Class CfnBucket.AccessRulesProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lightsail.CfnBucket.AccessRulesProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnBucket.AccessRulesProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnBucket.AccessRulesProperty
@Stability(Stable)
@Internal
public static final class CfnBucket.AccessRulesProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnBucket.AccessRulesProperty
An implementation for
CfnBucket.AccessRulesProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lightsail.CfnBucket.AccessRulesProperty
CfnBucket.AccessRulesProperty.Builder, CfnBucket.AccessRulesProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnBucket.AccessRulesProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectA Boolean value indicating whether the access control list (ACL) permissions that are applied to individual objects override theGetObjectoption that is currently specified.final StringSpecifies the anonymous access to all objects in a bucket.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnBucket.AccessRulesProperty.Builder.
-
-
Method Details
-
getAllowPublicOverrides
Description copied from interface:CfnBucket.AccessRulesPropertyA Boolean value indicating whether the access control list (ACL) permissions that are applied to individual objects override theGetObjectoption that is currently specified.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-readACL or theprivateACL.- Specified by:
getAllowPublicOverridesin interfaceCfnBucket.AccessRulesProperty- See Also:
-
getObjectAccess
Description copied from interface:CfnBucket.AccessRulesPropertySpecifies the anonymous access to all objects in a bucket.The 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
GetObjectvalue is set topublic, then all objects in the bucket default to public regardless of theallowPublicOverridesvalue.private- Sets all objects in the bucket to private, making them readable only by you and anyone that you grant access to.
If the
GetObjectvalue is set toprivate, and theallowPublicOverridesvalue is set totrue, then all objects in the bucket default to private unless they are configured with apublic-readACL. Individual objects with apublic-readACL are readable by everyone on the internet.- Specified by:
getObjectAccessin interfaceCfnBucket.AccessRulesProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-