@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:11.418Z") @Stability(value=Experimental) public interface LayerVersionPermission extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
LayerVersionPermission layerVersionPermission = LayerVersionPermission.builder()
.accountId("accountId")
// the properties below are optional
.organizationId("organizationId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LayerVersionPermission.Builder
A builder for
LayerVersionPermission |
static class |
LayerVersionPermission.Jsii$Proxy
An implementation for
LayerVersionPermission |
| Modifier and Type | Method and Description |
|---|---|
static LayerVersionPermission.Builder |
builder() |
String |
getAccountId()
(experimental) The AWS Account id of the account that is authorized to use a Lambda Layer Version.
|
default String |
getOrganizationId()
(experimental) The ID of the AWS Organization to which the grant is restricted.
|
@Stability(value=Experimental) @NotNull String getAccountId()
The wild-card '*' can be
used to grant access to "any" account (or any account in an organization when organizationId is specified).
@Stability(value=Experimental) @Nullable default String getOrganizationId()
Can only be specified if accountId is '*'
@Stability(value=Experimental) static LayerVersionPermission.Builder builder()
LayerVersionPermission.Builder of LayerVersionPermissionCopyright © 2022. All rights reserved.