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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lightsail.CfnBucket.AccessRulesProperty
CfnBucket.AccessRulesProperty.Builder, CfnBucket.AccessRulesProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnBucket.AccessRulesProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final Object
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.final String
Specifies the anonymous access to all objects in a bucket.final int
hashCode()
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.AccessRulesProperty
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.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 theprivate
ACL.- Specified by:
getAllowPublicOverrides
in interfaceCfnBucket.AccessRulesProperty
-
getObjectAccess
Description copied from interface:CfnBucket.AccessRulesProperty
Specifies 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
GetObject
value is set topublic
, then all objects in the bucket default to public regardless of theallowPublicOverrides
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 toprivate
, and theallowPublicOverrides
value is set totrue
, then all objects in the bucket default to private unless they are configured with apublic-read
ACL. Individual objects with apublic-read
ACL are readable by everyone on the internet.- Specified by:
getObjectAccess
in interfaceCfnBucket.AccessRulesProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-