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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/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, fix_inclusion, #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.



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

attribute :assign_public_ip

Returns Id of ClassicLink enabled VPC.

Returns:

  • (Object, nil)

    Id of ClassicLink enabled VPC



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

attribute :classic_link_vpc_id

Returns A list of security group IDs with which to associate the ClassicLink VPC instances.

Returns:

  • (Object, nil)

    A list of security group IDs with which to associate the ClassicLink VPC instances.



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

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).



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

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



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

attribute :image_id

#instance_idString?

Returns The Id of a running instance to use as a basis for a launch configuration. Can be used in place of image_id and instance_type.

Returns:

  • (String, nil)

    The Id of a running instance to use as a basis for a launch configuration. Can be used in place of image_id and instance_type.



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

attribute :instance_id

#instance_monitoring:yes, ...

Returns Specifies whether instances are launched with detailed monitoring.

Returns:

  • (:yes, :no, nil)

    Specifies whether instances are launched with detailed monitoring.



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

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.



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

attribute :instance_profile_name

#instance_typeString

Returns Instance type to use for the instance.

Returns:

  • (String)

    Instance type to use for the instance



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

attribute :instance_type

#kernel_idObject?

Returns Kernel id for the EC2 instance.

Returns:

  • (Object, nil)

    Kernel id for the EC2 instance



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

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



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

attribute :key_name

#nameString

Returns Unique name for configuration.

Returns:

  • (String)

    Unique name for configuration



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

attribute :name

#placement_tenancyString?

Returns Determines whether the instance runs on single-tenant harware or not.

Returns:

  • (String, nil)

    Determines whether the instance runs on single-tenant harware or not.



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

attribute :placement_tenancy

#ramdisk_idObject?

Returns A RAM disk id for the instances.

Returns:

  • (Object, nil)

    A RAM disk id for the instances.



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

attribute :ramdisk_id

#security_groupsArray<String>, ...

Returns A list of security groups to apply to the instances. Since version 2.4 you can specify either security group names or IDs or a mix. Previous to 2.4, for VPC instances, specify security group IDs and for EC2-Classic, specify either security group names or IDs.

Returns:

  • (Array<String>, String, nil)

    A list of security groups to apply to the instances. Since version 2.4 you can specify either security group names or IDs or a mix. Previous to 2.4, for VPC instances, specify security group IDs and for EC2-Classic, specify either security group names or IDs.



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

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.



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

attribute :spot_price

#state:present, ...

Returns Register or deregister the instance.

Returns:

  • (:present, :absent, nil)

    Register or deregister the instance



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

attribute :state

#user_dataObject?

Returns Opaque blob of data which is made available to the ec2 instance. Mutually exclusive with I(user_data_path).

Returns:

  • (Object, nil)

    Opaque blob of data which is made available to the ec2 instance. Mutually exclusive with I(user_data_path).



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

attribute :user_data

#user_data_pathObject?

Returns Path to the file that contains userdata for the ec2 instances. Mutually exclusive with I(user_data).

Returns:

  • (Object, nil)

    Path to the file that contains userdata for the ec2 instances. Mutually exclusive with I(user_data).



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

attribute :user_data_path

#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.



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

attribute :volumes

#vpc_idObject?

Returns VPC ID, used when resolving security group names to IDs.

Returns:

  • (Object, nil)

    VPC ID, used when resolving security group names to IDs.



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

attribute :vpc_id