public static final class CfnLayerVersionPermissionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLayerVersionPermissionProps
CfnLayerVersionPermissionProps
CfnLayerVersionPermissionProps.Builder, CfnLayerVersionPermissionProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.String |
getAction()
The API action that grants access to the layer.
|
java.lang.String |
getLayerVersionArn()
The name or Amazon Resource Name (ARN) of the layer.
|
java.lang.String |
getOrganizationId()
With the principal set to `*` , grant permission to all accounts in the specified organization.
|
java.lang.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() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getAction()
CfnLayerVersionPermissionProps
For example, lambda:GetLayerVersion
.
getAction
in interface CfnLayerVersionPermissionProps
public final java.lang.String getLayerVersionArn()
CfnLayerVersionPermissionProps
getLayerVersionArn
in interface CfnLayerVersionPermissionProps
public final java.lang.String getPrincipal()
CfnLayerVersionPermissionProps
For the last case, make sure that you really do want all AWS accounts to have usage permission to this layer.
getPrincipal
in interface CfnLayerVersionPermissionProps
public final java.lang.String getOrganizationId()
CfnLayerVersionPermissionProps
getOrganizationId
in interface CfnLayerVersionPermissionProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()