Class: Ansible::Ruby::Modules::Ec2_lc

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

Overview

Can create or delete AWS Autoscaling Configurations Works with the ec2_asg module to manage Autoscaling Groups

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

#assign_public_ipObject?

Returns Used for Auto Scaling groups that launch instances into an Amazon Virtual Private Cloud. Specifies whether to assign a public IP address to each instance launched in a Amazon VPC.

Returns:

  • (Object, nil)

    Used for Auto Scaling groups that launch instances into an Amazon Virtual Private Cloud. Specifies whether to assign a public IP address to each instance launched in a Amazon VPC.



53
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 53

attribute :assign_public_ip

Returns Id of ClassicLink enabled VPC.

Returns:

  • (Object, nil)

    Id of ClassicLink enabled VPC



66
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 66

attribute :classic_link_vpc_id

Returns A list of security group id’s with which to associate the ClassicLink VPC instances.

Returns:

  • (Object, nil)

    A list of security group id’s with which to associate the ClassicLink VPC instances.



69
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 69

attribute :classic_link_vpc_security_groups

#ebs_optimizedBoolean?

Returns Specifies whether the instance is optimized for EBS I/O (true) or not (false).

Returns:

  • (Boolean, nil)

    Specifies whether the instance is optimized for EBS I/O (true) or not (false).



62
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 62

attribute :ebs_optimized

#image_idString?

Returns The AMI unique identifier to be used for the group.

Returns:

  • (String, nil)

    The AMI unique identifier to be used for the group



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

attribute :image_id

#instance_monitoringBoolean?

Returns whether instances in group are launched with detailed monitoring.

Returns:

  • (Boolean, nil)

    whether instances in group are launched with detailed monitoring.



49
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 49

attribute :instance_monitoring

#instance_profile_nameObject?

Returns The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instances.

Returns:

  • (Object, nil)

    The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instances.



59
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 59

attribute :instance_profile_name

#instance_typeString

Returns instance type to use for the instance.

Returns:

  • (String)

    instance type to use for the instance



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

attribute :instance_type

#kernel_idObject?

Returns Kernel id for the EC2 instance.

Returns:

  • (Object, nil)

    Kernel id for the EC2 instance



43
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 43

attribute :kernel_id

#key_nameString?

Returns The SSH key name to be used for access to managed instances.

Returns:

  • (String, nil)

    The SSH key name to be used for access to managed instances



28
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 28

attribute :key_name

#nameString

Returns Unique name for configuration.

Returns:

  • (String)

    Unique name for configuration



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

attribute :name

#ramdisk_idObject?

Returns A RAM disk id for the instances.

Returns:

  • (Object, nil)

    A RAM disk id for the instances.



56
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 56

attribute :ramdisk_id

#security_groupsArray<String>, ...

Returns A list of security groups into which instances should be found.

Returns:

  • (Array<String>, String, nil)

    A list of security groups into which instances should be found



32
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 32

attribute :security_groups

#spot_priceObject?

Returns The spot price you are bidding. Only applies for an autoscaling group with spot instances.

Returns:

  • (Object, nil)

    The spot price you are bidding. Only applies for an autoscaling group with spot instances.



46
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 46

attribute :spot_price

#state:present, :absent

Returns register or deregister the instance.

Returns:

  • (:present, :absent)

    register or deregister the instance



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

attribute :state

#user_dataObject?

Returns opaque blob of data which is made available to the ec2 instance.

Returns:

  • (Object, nil)

    opaque blob of data which is made available to the ec2 instance



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

attribute :user_data

#volumesArray<Hash>, ...

Returns a list of volume dicts, each containing device name and optionally ephemeral id or snapshot id. Size and type (and number of iops for io device type) must be specified for a new volume or a root volume, and may be passed for a snapshot volume. For any volume, a volume size less than 1 will be interpreted as a request not to create the volume.

Returns:

  • (Array<Hash>, Hash, nil)

    a list of volume dicts, each containing device name and optionally ephemeral id or snapshot id. Size and type (and number of iops for io device type) must be specified for a new volume or a root volume, and may be passed for a snapshot volume. For any volume, a volume size less than 1 will be interpreted as a request not to create the volume.



36
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 36

attribute :volumes