Class: Convection::Model::Template::Resource::LambdaPermission

Inherits:
Convection::Model::Template::Resource show all
Defined in:
lib/convection/model/template/resource/aws_lambda_permission.rb

Overview

AWS::Lambda::Permission

Instance Attribute Summary

Attributes inherited from Convection::Model::Template::Resource

#exist, #name, #parent, #properties, #resource_attributes, #template

Instance Method Summary collapse

Methods inherited from Convection::Model::Template::Resource

#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, property, #property, #reference, #render, type, #type, #with_output

Methods included from Mixin::Conditional

#condition, #render_condition

Methods included from DSL::Template::Resource

attach_resource

Methods included from DSL::Helpers

#camel_case, included, method_name, #screaming_snake_case, #snake_case

Methods included from DSL::IntrinsicFunctions

#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_not, #fn_or, #fn_ref, #get_att, #get_azs, #join, #select

Constructor Details

This class inherits a constructor from Convection::Model::Template::Resource

Instance Method Details

#actionObject #action(value) ⇒ Object

Overloads:

  • #actionObject

    Returns the value of the 'Action' CloudFormation property.

  • #action(value) ⇒ Object

    Sets the 'Action' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Action' CloudFormation property to.



12
# File 'lib/convection/model/template/resource/aws_lambda_permission.rb', line 12

property :action, 'Action'

#function_nameObject #function_name(value) ⇒ Object

Overloads:

  • #function_nameObject

    Returns the value of the 'FunctionName' CloudFormation property.

  • #function_name(value) ⇒ Object

    Sets the 'FunctionName' CloudFormation property.

    Parameters:

    • value

      the value to set the 'FunctionName' CloudFormation property to.



13
# File 'lib/convection/model/template/resource/aws_lambda_permission.rb', line 13

property :function_name, 'FunctionName'

#principalObject #principal(value) ⇒ Object

Overloads:

  • #principalObject

    Returns the value of the 'Principal' CloudFormation property.

  • #principal(value) ⇒ Object

    Sets the 'Principal' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Principal' CloudFormation property to.



14
# File 'lib/convection/model/template/resource/aws_lambda_permission.rb', line 14

property :principal, 'Principal'

#source_accountObject #source_account(value) ⇒ Object

Overloads:

  • #source_accountObject

    Returns the value of the 'SourceAccount' CloudFormation property.

  • #source_account(value) ⇒ Object

    Sets the 'SourceAccount' CloudFormation property.

    Parameters:

    • value

      the value to set the 'SourceAccount' CloudFormation property to.



15
# File 'lib/convection/model/template/resource/aws_lambda_permission.rb', line 15

property :source_account, 'SourceAccount'

#source_arnObject #source_arn(value) ⇒ Object

Overloads:

  • #source_arnObject

    Returns the value of the 'SourceArn' CloudFormation property.

  • #source_arn(value) ⇒ Object

    Sets the 'SourceArn' CloudFormation property.

    Parameters:

    • value

      the value to set the 'SourceArn' CloudFormation property to.



16
# File 'lib/convection/model/template/resource/aws_lambda_permission.rb', line 16

property :source_arn, 'SourceArn'