Class: Ansible::Ruby::Modules::Ecs_attribute

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/amazon/ecs_attribute.rb

Overview

Create, update or delete ECS container instance attributes.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#attributesArray<Hash>, Hash

Returns List of attributes.

Returns:

  • (Array<Hash>, Hash)

    List of attributes.



20
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_attribute.rb', line 20

attribute :attributes

#clusterString

Returns The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes.

Returns:

  • (String)

    The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes.



12
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_attribute.rb', line 12

attribute :cluster

#ec2_instance_idString

Returns EC2 instance ID of ECS cluster container instance.

Returns:

  • (String)

    EC2 instance ID of ECS cluster container instance.



24
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_attribute.rb', line 24

attribute :ec2_instance_id

#state:present, ...

Returns The desired state of the attributes.

Returns:

  • (:present, :absent, nil)

    The desired state of the attributes.



16
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_attribute.rb', line 16

attribute :state