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/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 IDs 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_id ⇒ String?
The Id of a running instance to use as a basis for a launch configuration.
-
#instance_monitoring ⇒ :yes, ...
Specifies whether instances 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.
-
#placement_tenancy ⇒ String?
Determines whether the instance runs on single-tenant harware or not.
-
#ramdisk_id ⇒ Object?
A RAM disk id for the instances.
-
#security_groups ⇒ Array<String>, ...
A list of security groups to apply to the instances.
-
#spot_price ⇒ Object?
The spot price you are bidding.
-
#state ⇒ :present, ...
Register or deregister the instance.
-
#user_data ⇒ Object?
Opaque blob of data which is made available to the ec2 instance.
-
#user_data_path ⇒ Object?
Path to the file that contains userdata for the ec2 instances.
-
#volumes ⇒ Array<Hash>, ...
A list of volume dicts, each containing device name and optionally ephemeral id or snapshot id.
-
#vpc_id ⇒ Object?
VPC ID, used when resolving security group names to IDs.
Methods inherited from Base
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_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.
57 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_lc.rb', line 57 attribute :assign_public_ip |
#classic_link_vpc_id ⇒ Object?
Returns Id of ClassicLink enabled VPC.
70 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_lc.rb', line 70 attribute :classic_link_vpc_id |
#classic_link_vpc_security_groups ⇒ Object?
Returns 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_optimized ⇒ Boolean?
Returns 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_id ⇒ String?
Returns 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_id ⇒ String?
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.
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.
53 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_lc.rb', line 53 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.
63 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_lc.rb', line 63 attribute :instance_profile_name |
#instance_type ⇒ String
Returns 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_id ⇒ Object?
Returns Kernel id for the EC2 instance.
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_lc.rb', line 47 attribute :kernel_id |
#key_name ⇒ String?
Returns 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 |
#name ⇒ String
Returns Unique name for configuration.
17 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_lc.rb', line 17 attribute :name |
#placement_tenancy ⇒ String?
Returns 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_id ⇒ Object?
Returns 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_groups ⇒ Array<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.
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_lc.rb', line 33 attribute :security_groups |
#spot_price ⇒ Object?
Returns 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.
13 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_lc.rb', line 13 attribute :state |
#user_data ⇒ Object?
Returns 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_path ⇒ Object?
Returns 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 |
#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.
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_lc.rb', line 37 attribute :volumes |
#vpc_id ⇒ Object?
Returns 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 |