class
Amazonite::Lambda::AddLayerVersionPermissionRequest
- Amazonite::Lambda::AddLayerVersionPermissionRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
lambda/add_layer_version_permission_request.crConstructors
- .new(layer_name : String, version_number : Int64, statement_id : String, action : String, principal : String, organization_id : String | Nil = nil, revision_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#action : String
The API action that grants access to the layer.
-
#action=(action : String)
The API action that grants access to the layer.
-
#hash(hasher)
See
Object#hash(hasher) -
#layer_name : String
The name or Amazon Resource Name (ARN) of the layer.
-
#layer_name=(layer_name : String)
The name or Amazon Resource Name (ARN) of the layer.
-
#organization_id : String | Nil
With the principal set to
*, grant permission to all accounts in the specified organization. -
#organization_id=(organization_id : String | Nil)
With the principal set to
*, grant permission to all accounts in the specified organization. -
#principal : String
An account ID, or
*to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (iforganizationIdis not specified). -
#principal=(principal : String)
An account ID, or
*to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (iforganizationIdis not specified). -
#revision_id : String | Nil
Only update the policy if the revision ID matches the ID specified.
-
#revision_id=(revision_id : String | Nil)
Only update the policy if the revision ID matches the ID specified.
-
#statement_id : String
An identifier that distinguishes the policy from others on the same layer version.
-
#statement_id=(statement_id : String)
An identifier that distinguishes the policy from others on the same layer version.
- #validate! : Nil
-
#version_number : Int64
The version number.
-
#version_number=(version_number : Int64)
The version number.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The API action that grants access to the layer. For example, lambda:GetLayerVersion.
The API action that grants access to the layer. For example, lambda:GetLayerVersion.
With the principal set to *, grant permission to all accounts in the specified organization.
With the principal set to *, grant permission to all accounts in the specified organization.
An account ID, or * to grant layer usage permission to all accounts in an organization, or all
Amazon Web Services accounts (if organizationId is not specified). For the last case, make
sure that you really do want all Amazon Web Services accounts to have usage permission to this
layer.
An account ID, or * to grant layer usage permission to all accounts in an organization, or all
Amazon Web Services accounts (if organizationId is not specified). For the last case, make
sure that you really do want all Amazon Web Services accounts to have usage permission to this
layer.
Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.
Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.
An identifier that distinguishes the policy from others on the same layer version.
An identifier that distinguishes the policy from others on the same layer version.