LayerVersionPermissionState constructor

const LayerVersionPermissionState({
  1. Input<String?>? action,
  2. Input<String?>? layerName,
  3. Input<String?>? organizationId,
  4. Input<String?>? policy,
  5. Input<String?>? principal,
  6. Input<String?>? region,
  7. Input<String?>? revisionId,
  8. Input<bool?>? skipDestroy,
  9. Input<String?>? statementId,
  10. Input<int?>? versionNumber,
})

Creates a new LayerVersionPermissionState. action Action that will be allowed. lambda:GetLayerVersion is the standard value for layer access. layerName Name or ARN of the Lambda Layer. organizationId AWS Organization ID that should be able to use your Lambda Layer. principal should be set to * when organizationId is provided. policy Full Lambda Layer Permission policy. principal AWS account ID that should be able to use your Lambda Layer. Use * to share with all AWS accounts. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. revisionId Unique identifier for the current revision of the policy. skipDestroy Whether to retain the permission when the resource is destroyed. Default is false. statementId Unique identifier for the permission statement. versionNumber Version of Lambda Layer to grant access to. Note: permissions only apply to a single version of a layer.

Implementation

const LayerVersionPermissionState({
  this.action,
  this.layerName,
  this.organizationId,
  this.policy,
  this.principal,
  this.region,
  this.revisionId,
  this.skipDestroy,
  this.statementId,
  this.versionNumber,
});