@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:44.093Z")
public interface CfnLayerVersionPermissionProps
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.*; CfnLayerVersionPermissionProps cfnLayerVersionPermissionProps = CfnLayerVersionPermissionProps.builder() .action("action") .layerVersionArn("layerVersionArn") .principal("principal") // the properties below are optional .organizationId("organizationId") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnLayerVersionPermissionProps.Builder
A builder for
CfnLayerVersionPermissionProps |
static class |
CfnLayerVersionPermissionProps.Jsii$Proxy
An implementation for
CfnLayerVersionPermissionProps |
Modifier and Type | Method and Description |
---|---|
static CfnLayerVersionPermissionProps.Builder |
builder() |
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.
|
default 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).
|
java.lang.String getAction()
For example, lambda:GetLayerVersion
.
java.lang.String getLayerVersionArn()
java.lang.String getPrincipal()
For the last case, make sure that you really do want all AWS accounts to have usage permission to this layer.
default java.lang.String getOrganizationId()
static CfnLayerVersionPermissionProps.Builder builder()