Class: Convection::Model::Template::Resource::KmsKey

Inherits:
Convection::Model::Template::Resource show all
Includes:
DSL::Template::Resource::KmsKey
Defined in:
lib/convection/model/template/resource/aws_kms_key.rb

Overview

AWS::KMS::Key

Instance Attribute Summary

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

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

Instance Method Summary collapse

Methods included from DSL::Template::Resource::KmsKey

#policy

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

#descriptionObject #description(value) ⇒ Object

Overloads:

  • #descriptionObject

    Returns the value of the 'Description' CloudFormation property.

  • #description(value) ⇒ Object

    Sets the 'Description' CloudFormation property.

    Parameters:

    • value

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



29
# File 'lib/convection/model/template/resource/aws_kms_key.rb', line 29

property :description, 'Description'

#enabledObject #enabled(value) ⇒ Object

Overloads:

  • #enabledObject

    Returns the value of the 'Enabled' CloudFormation property.

  • #enabled(value) ⇒ Object

    Sets the 'Enabled' CloudFormation property.

    Parameters:

    • value

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



30
# File 'lib/convection/model/template/resource/aws_kms_key.rb', line 30

property :enabled, 'Enabled'

#enabled_key_rotationObject #enabled_key_rotation(value) ⇒ Object Also known as: key_rotation

Overloads:

  • #enabled_key_rotationObject

    Returns the value of the 'EnabledKeyRotation' CloudFormation property.

  • #enabled_key_rotation(value) ⇒ Object

    Sets the 'EnabledKeyRotation' CloudFormation property.

    Parameters:

    • value

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



31
# File 'lib/convection/model/template/resource/aws_kms_key.rb', line 31

property :enabled_key_rotation, 'EnabledKeyRotation'

#key_policyObject #key_policy(value) ⇒ Object

Overloads:

  • #key_policyObject

    Returns the value of the 'KeyPolicy' CloudFormation property.

  • #key_policy(value) ⇒ Object

    Sets the 'KeyPolicy' CloudFormation property.

    Parameters:

    • value

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



33
# File 'lib/convection/model/template/resource/aws_kms_key.rb', line 33

property :key_policy, 'KeyPolicy'