Class CfnSnapshotBlockPublicAccessProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CfnSnapshotBlockPublicAccessProps.Jsii$Proxy
- All Implemented Interfaces:
CfnSnapshotBlockPublicAccessProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnSnapshotBlockPublicAccessProps
@Stability(Stable)
@Internal
public static final class CfnSnapshotBlockPublicAccessProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnSnapshotBlockPublicAccessProps
An implementation for
CfnSnapshotBlockPublicAccessProps
-
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.ec2.CfnSnapshotBlockPublicAccessProps
CfnSnapshotBlockPublicAccessProps.Builder, CfnSnapshotBlockPublicAccessProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnSnapshotBlockPublicAccessProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
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 theCfnSnapshotBlockPublicAccessProps.Builder
.
-
-
Method Details
-
getState
Description copied from interface:CfnSnapshotBlockPublicAccessProps
The mode in which to enable block public access for snapshots for the Region.Specify one of the following values:
block-all-sharing
- Prevents all public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. Additionally, snapshots that are already publicly shared are treated as private and they are no longer publicly available.
If you enable block public access for snapshots in
block-all-sharing
mode, it does not change the permissions for snapshots that are already publicly shared. Instead, it prevents these snapshots from be publicly visible and publicly accessible. Therefore, the attributes for these snapshots still indicate that they are publicly shared, even though they are not publicly available.block-new-sharing
- Prevents only new public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. However, snapshots that are already publicly shared, remain publicly available.
- Specified by:
getState
in interfaceCfnSnapshotBlockPublicAccessProps
- See Also:
-
$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()
-