Class: Ansible::Ruby::Modules::Ecs_taskdefinition

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

Overview

Creates or terminates task definitions

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#arnObject?

Returns The arn of the task description to delete.

Returns:

  • (Object, nil)

    The arn of the task description to delete



15
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_taskdefinition.rb', line 15

attribute :arn

#containersArray<Hash>, ...

Returns A list of containers definitions.

Returns:

  • (Array<Hash>, Hash, nil)

    A list of containers definitions



25
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_taskdefinition.rb', line 25

attribute :containers

#familyString?

Returns A Name that would be given to the task definition.

Returns:

  • (String, nil)

    A Name that would be given to the task definition



18
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_taskdefinition.rb', line 18

attribute :family

#revisionObject?

Returns A revision number for the task definition.

Returns:

  • (Object, nil)

    A revision number for the task definition



22
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_taskdefinition.rb', line 22

attribute :revision

#state:present, :absent

Returns State whether the task definition should exist or be deleted.

Returns:

  • (:present, :absent)

    State whether the task definition should exist or be deleted



11
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_taskdefinition.rb', line 11

attribute :state

#volumesArray<Hash>, ...

Returns A list of names of volumes to be attached.

Returns:

  • (Array<Hash>, Hash, nil)

    A list of names of volumes to be attached



29
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_taskdefinition.rb', line 29

attribute :volumes