Class CfnLayerVersionPermissionProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.CfnLayerVersionPermissionProps.Jsii$Proxy
- All Implemented Interfaces:
CfnLayerVersionPermissionProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLayerVersionPermissionProps
@Stability(Stable)
@Internal
public static final class CfnLayerVersionPermissionProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLayerVersionPermissionProps
An implementation for
CfnLayerVersionPermissionProps
-
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.lambda.CfnLayerVersionPermissionProps
CfnLayerVersionPermissionProps.Builder, CfnLayerVersionPermissionProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnLayerVersionPermissionProps.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 String
The API action that grants access to the layer.final String
The name or Amazon Resource Name (ARN) of the layer.final String
With the principal set to*
, grant permission to all accounts in the specified organization.final String
An account ID, or*
to grant layer usage permission to all accounts in an organization, or all AWS accounts (iforganizationId
is not specified).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 theCfnLayerVersionPermissionProps.Builder
.
-
-
Method Details
-
getAction
Description copied from interface:CfnLayerVersionPermissionProps
The API action that grants access to the layer.For example,
lambda:GetLayerVersion
.- Specified by:
getAction
in interfaceCfnLayerVersionPermissionProps
- See Also:
-
getLayerVersionArn
Description copied from interface:CfnLayerVersionPermissionProps
The name or Amazon Resource Name (ARN) of the layer.- Specified by:
getLayerVersionArn
in interfaceCfnLayerVersionPermissionProps
- See Also:
-
getPrincipal
Description copied from interface:CfnLayerVersionPermissionProps
An account ID, or*
to grant layer usage permission to all accounts in an organization, or all AWS accounts (iforganizationId
is not specified).For the last case, make sure that you really do want all AWS accounts to have usage permission to this layer.
- Specified by:
getPrincipal
in interfaceCfnLayerVersionPermissionProps
- See Also:
-
getOrganizationId
Description copied from interface:CfnLayerVersionPermissionProps
With the principal set to*
, grant permission to all accounts in the specified organization.- Specified by:
getOrganizationId
in interfaceCfnLayerVersionPermissionProps
- 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()
-