Class: Ansible::Ruby::Modules::Ecs_service

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

Overview

Creates or terminates ecs services.

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

#client_tokenObject?

Returns Unique, case-sensitive identifier you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed.

Returns:

  • (Object, nil)

    Unique, case-sensitive identifier you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed.



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

attribute :client_token

#clusterString?

Returns The name of the cluster in which the service exists.

Returns:

  • (String, nil)

    The name of the cluster in which the service exists



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

attribute :cluster

#delayInteger?

Returns The time to wait before checking that the service is available.

Returns:

  • (Integer, nil)

    The time to wait before checking that the service is available



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

attribute :delay

#desired_countInteger?

Returns The count of how many instances of the service.

Returns:

  • (Integer, nil)

    The count of how many instances of the service



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

attribute :desired_count

#load_balancersObject?

Returns The list of ELBs defined for this service.

Returns:

  • (Object, nil)

    The list of ELBs defined for this service



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

attribute :load_balancers

#nameString

Returns The name of the service.

Returns:

  • (String)

    The name of the service



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

attribute :name

#repeatInteger?

Returns The number of times to check that the service is available.

Returns:

  • (Integer, nil)

    The number of times to check that the service is available



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

attribute :repeat

#roleObject?

Returns The name or full Amazon Resource Name (ARN) of the IAM role that allows your Amazon ECS container agent to make calls to your load balancer on your behalf. This parameter is only required if you are using a load balancer with your service.

Returns:

  • (Object, nil)

    The name or full Amazon Resource Name (ARN) of the IAM role that allows your Amazon ECS container agent to make calls to your load balancer on your behalf. This parameter is only required if you are using a load balancer with your service.



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

attribute :role

#state:present, ...

Returns The desired state of the service.

Returns:

  • (:present, :absent, :deleting)

    The desired state of the service



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

attribute :state

#task_definitionString?

Returns The task definition the service will run.

Returns:

  • (String, nil)

    The task definition the service will run



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

attribute :task_definition