Class: Ansible::Ruby::Modules::Ec2_lc
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_lc
- 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
-
#assign_public_ip ⇒ Object?
Used for Auto Scaling groups that launch instances into an Amazon Virtual Private Cloud.
-
#classic_link_vpc_id ⇒ Object?
Id of ClassicLink enabled VPC.
-
#classic_link_vpc_security_groups ⇒ Object?
A list of security group id’s with which to associate the ClassicLink VPC instances.
-
#ebs_optimized ⇒ Boolean?
Specifies whether the instance is optimized for EBS I/O (true) or not (false).
-
#image_id ⇒ String?
The AMI unique identifier to be used for the group.
-
#instance_monitoring ⇒ Boolean?
Whether instances in group are launched with detailed monitoring.
-
#instance_profile_name ⇒ Object?
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instances.
-
#instance_type ⇒ String
Instance type to use for the instance.
-
#kernel_id ⇒ Object?
Kernel id for the EC2 instance.
-
#key_name ⇒ String?
The SSH key name to be used for access to managed instances.
-
#name ⇒ String
Unique name for configuration.
-
#ramdisk_id ⇒ Object?
A RAM disk id for the instances.
-
#security_groups ⇒ Array<String>, ...
A list of security groups into which instances should be found.
-
#spot_price ⇒ Object?
The spot price you are bidding.
-
#state ⇒ :present, :absent
Register or deregister the instance.
-
#user_data ⇒ Object?
Opaque blob of data which is made available to the ec2 instance.
-
#volumes ⇒ Array<Hash>, ...
A list of volume dicts, each containing device name and optionally ephemeral id or snapshot id.
Methods inherited from Base
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_ip ⇒ Object?
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.
53 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 53 attribute :assign_public_ip |
#classic_link_vpc_id ⇒ Object?
Returns 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 |
#classic_link_vpc_security_groups ⇒ Object?
Returns 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_optimized ⇒ Boolean?
Returns 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_id ⇒ String?
Returns 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_monitoring ⇒ Boolean?
Returns 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_name ⇒ Object?
Returns 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_type ⇒ String
Returns 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_id ⇒ Object?
Returns 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_name ⇒ String?
Returns 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 |
#name ⇒ String
Returns Unique name for configuration.
16 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 16 attribute :name |
#ramdisk_id ⇒ Object?
Returns 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_groups ⇒ Array<String>, ...
Returns 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_price ⇒ Object?
Returns 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.
12 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 12 attribute :state |
#user_data ⇒ Object?
Returns 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 |
#volumes ⇒ Array<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.
36 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_lc.rb', line 36 attribute :volumes |