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.
actionAction that will be allowed.lambda:GetLayerVersionis the standard value for layer access.layerNameName or ARN of the Lambda Layer.organizationIdAWS Organization ID that should be able to use your Lambda Layer.principalshould be set to*whenorganizationIdis provided.principalAWS account ID that should be able to use your Lambda Layer. Use*to share with all AWS accounts.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.skipDestroyWhether to retain the permission when the resource is destroyed. Default isfalse.statementIdUnique identifier for the permission statement.versionNumberVersion 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:GetLayerVersionis 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.
principalshould be set to*whenorganizationIdis 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