@Stability(value=Stable) @Internal public static final class CfnLayerVersionPermissionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLayerVersionPermissionProps
CfnLayerVersionPermissionPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnLayerVersionPermissionProps.Builder, CfnLayerVersionPermissionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLayerVersionPermissionProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLayerVersionPermissionProps.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) |
String |
getAction()
The API action that grants access to the layer.
|
String |
getLayerVersionArn()
The name or Amazon Resource Name (ARN) of the layer.
|
String |
getOrganizationId()
With the principal set to `*` , grant permission to all accounts in the specified organization.
|
String |
getPrincipal()
An account ID, or `*` to grant layer usage permission to all accounts in an organization, or all AWS accounts (if `organizationId` is not specified).
|
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(CfnLayerVersionPermissionProps.Builder builder)
CfnLayerVersionPermissionProps.Builder.public final String getAction()
CfnLayerVersionPermissionProps
For example, lambda:GetLayerVersion .
getAction in interface CfnLayerVersionPermissionPropspublic final String getLayerVersionArn()
CfnLayerVersionPermissionPropsgetLayerVersionArn in interface CfnLayerVersionPermissionPropspublic final String getPrincipal()
CfnLayerVersionPermissionPropsFor the last case, make sure that you really do want all AWS accounts to have usage permission to this layer.
getPrincipal in interface CfnLayerVersionPermissionPropspublic final String getOrganizationId()
CfnLayerVersionPermissionPropsgetOrganizationId in interface CfnLayerVersionPermissionProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.