class Amazonite::Lambda::AddLayerVersionPermissionRequest

Included Modules

Defined in:

lambda/add_layer_version_permission_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(layer_name : String, version_number : Int64, statement_id : String, action : String, principal : String, organization_id : String | Nil = nil, revision_id : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def action : String #

The API action that grants access to the layer. For example, lambda:GetLayerVersion.


[View source]
def action=(action : String) #

The API action that grants access to the layer. For example, lambda:GetLayerVersion.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def layer_name : String #

The name or Amazon Resource Name (ARN) of the layer.


[View source]
def layer_name=(layer_name : String) #

The name or Amazon Resource Name (ARN) of the layer.


[View source]
def organization_id : String | Nil #

With the principal set to *, grant permission to all accounts in the specified organization.


[View source]
def organization_id=(organization_id : String | Nil) #

With the principal set to *, grant permission to all accounts in the specified organization.


[View source]
def principal : String #

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.


[View source]
def principal=(principal : String) #

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.


[View source]
def revision_id : String | Nil #

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.


[View source]
def revision_id=(revision_id : String | Nil) #

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.


[View source]
def statement_id : String #

An identifier that distinguishes the policy from others on the same layer version.


[View source]
def statement_id=(statement_id : String) #

An identifier that distinguishes the policy from others on the same layer version.


[View source]
def validate! : Nil #

[View source]
def version_number : Int64 #

The version number.


[View source]
def version_number=(version_number : Int64) #

The version number.


[View source]