LayerVersionPermissionArgs class

The set of arguments for LayerVersionPermission. The set of arguments for LayerVersionPermission.

Constructors

LayerVersionPermissionArgs({required Input<String> action, required Input<String> layerName, Input<String?>? organizationId, required Input<String> principal, Input<String?>? region, Input<bool?>? skipDestroy, required Input<String> statementId, required Input<int> versionNumber})
Creates a new LayerVersionPermissionArgs. 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. 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. 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.
const
LayerVersionPermissionArgs.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<String>
Action that will be allowed. lambda:GetLayerVersion is the standard value for layer access.
final
hashCode int
The hash code for this object.
no setterinherited
layerName → Input<String>
Name or ARN of the Lambda Layer.
final
organizationId → Input<String?>?
AWS Organization ID that should be able to use your Lambda Layer. principal should be set to * when organizationId is provided.
final
principal → Input<String>
AWS account ID that should be able to use your Lambda Layer. Use * to share with all AWS accounts.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipDestroy → Input<bool?>?
Whether to retain the permission when the resource is destroyed. Default is false.
final
statementId → Input<String>
Unique identifier for the permission statement.
final
versionNumber → Input<int>
Version of Lambda Layer to grant access to. Note: permissions only apply to a single version of a layer.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited