Class: MintPress::Aws::EC2::FleetDatum

Inherits:
Object
  • Object
show all
Includes:
MintLogger, AwsCommon, Mixins::Properties
Defined in:
src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb

Properties (Read/Write)

  • #activity_status ⇒ [String]
    'The progress of the EC2 Fleet.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'activity_status'
    
    
    22
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 22
    
    property :activity_status, disposition: :attribute, description: 'The progress of the EC2 Fleet.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'activity_status', type: [String]
  • #client_token ⇒ [String]
    'Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'client_token'
    
    
    23
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 23
    
    property :client_token, disposition: :attribute, description: 'Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'client_token', type: [String]
  • #create_time ⇒ [Time]
    'The creation date and time of the EC2 Fleet.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'create_time'
    
    
    24
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 24
    
    property :create_time, disposition: :attribute, description: 'The creation date and time of the EC2 Fleet.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'create_time', type: [Time]
  • #errors ⇒ Array of ⇒ [MintPress::Aws::EC2::DescribeFleetError]
    'Information about the instances that could not be launched by the fleet.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'errors'
    
    
    25
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 25
    
    property :errors, disposition: :attribute, description: 'Information about the instances that could not be launched by the fleet.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'errors', type: [MintPress::Aws::EC2::DescribeFleetError], array: true
  • #excess_capacity_termination_policy ⇒ [String]
    'Indicates whether running instances should be terminated if the target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'excess_capacity_termination_policy'
    
    
    26
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 26
    
    property :excess_capacity_termination_policy, disposition: :attribute, description: 'Indicates whether running instances should be terminated if the target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'excess_capacity_termination_policy', type: [String]
  • #fleet_state ⇒ [String]
    'The state of the EC2 Fleet.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'fleet_state'
    
    
    27
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 27
    
    property :fleet_state, disposition: :attribute, description: 'The state of the EC2 Fleet.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'fleet_state', type: [String]
  • #fulfilled_capacity ⇒ [Float]
    'The number of units fulfilled by this request compared to the set target capacity.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'fulfilled_capacity'
    
    
    28
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 28
    
    property :fulfilled_capacity, disposition: :attribute, description: 'The number of units fulfilled by this request compared to the set target capacity.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'fulfilled_capacity', type: [Float]
  • #fulfilled_on_demand_capacity ⇒ [Float]
    'The number of units fulfilled by this request compared to the set target On-Demand capacity.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'fulfilled_on_demand_capacity'
    
    
    29
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 29
    
    property :fulfilled_on_demand_capacity, disposition: :attribute, description: 'The number of units fulfilled by this request compared to the set target On-Demand capacity.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'fulfilled_on_demand_capacity', type: [Float]
  • #instances ⇒ Hash of ⇒ [MintPress::Aws::EC2::DescribeFleetsInstance]
    'Information about the instances that were launched by the fleet.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'instances'
    
    
    30
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 30
    
    property :instances, disposition: :attribute, description: 'Information about the instances that were launched by the fleet.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'instances', type: [MintPress::Aws::EC2::DescribeFleetsInstance], array: false, hash: true
  • #launch_template_configs ⇒ Array of ⇒ [MintPress::Aws::EC2::FleetLaunchTemplateConfig]
    'The launch template and overrides.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'launch_template_configs'
    
    
    31
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 31
    
    property :launch_template_configs, disposition: :attribute, description: 'The launch template and overrides.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'launch_template_configs', type: [MintPress::Aws::EC2::FleetLaunchTemplateConfig], array: true
  • #on_demand_options ⇒ [MintPress::Aws::EC2::OnDemandOption] (Default Value: MintPress::Aws::EC2::OnDemandOption.new)
    'The allocation strategy of On-Demand Instances in an EC2 Fleet.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'on_demand_options'
    • defaultMintPress::Aws::EC2::OnDemandOption.new
    
    
    32
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 32
    
    property :on_demand_options, disposition: :attribute, description: 'The allocation strategy of On-Demand Instances in an EC2 Fleet.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'on_demand_options', type: [MintPress::Aws::EC2::OnDemandOption], default: MintPress::Aws::EC2::OnDemandOption.new
  • #replace_unhealthy_instances ⇒ [TrueClass,FalseClass]
    'Indicates whether EC2 Fleet should replace unhealthy instances.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'replace_unhealthy_instances'
    
    
    33
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 33
    
    property :replace_unhealthy_instances, disposition: :attribute, description: 'Indicates whether EC2 Fleet should replace unhealthy instances.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'replace_unhealthy_instances', type: [TrueClass,FalseClass]
  • #spot_options ⇒ [MintPress::Aws::EC2::SpotOption] (Default Value: MintPress::Aws::EC2::SpotOption.new)
    'The configuration of Spot Instances in an EC2 Fleet.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'spot_options'
    • defaultMintPress::Aws::EC2::SpotOption.new
    
    
    34
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 34
    
    property :spot_options, disposition: :attribute, description: 'The configuration of Spot Instances in an EC2 Fleet.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'spot_options', type: [MintPress::Aws::EC2::SpotOption], default: MintPress::Aws::EC2::SpotOption.new
  • #tags ⇒ Hash of ⇒ [MintPress::Aws::EC2::Tag]
    'The tags for an EC2 Fleet resource.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'tags'
    
    
    35
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 35
    
    property :tags, disposition: :attribute, description: 'The tags for an EC2 Fleet resource.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'tags', type: [MintPress::Aws::EC2::Tag], array: false, hash: true
  • #target_capacity ⇒ [MintPress::Aws::EC2::TargetCapacity] (Default Value: MintPress::Aws::EC2::TargetCapacity.new)
    'The number of units to request.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'target_capacity_specification'
    • defaultMintPress::Aws::EC2::TargetCapacity.new
    
    
    36
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 36
    
    property :target_capacity, disposition: :attribute, description: 'The number of units to request.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'target_capacity_specification', type: [MintPress::Aws::EC2::TargetCapacity], default: MintPress::Aws::EC2::TargetCapacity.new
  • #terminate_instances_with_expiration ⇒ [TrueClass,FalseClass]
    'Indicates whether running instances should be terminated when the EC2 Fleet expires.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'terminate_instances_with_expiration'
    
    
    37
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 37
    
    property :terminate_instances_with_expiration, disposition: :attribute, description: 'Indicates whether running instances should be terminated when the EC2 Fleet expires.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'terminate_instances_with_expiration', type: [TrueClass,FalseClass]
  • #type ⇒ [String]
    'The type of request.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'type'
    
    
    38
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 38
    
    property :type, disposition: :attribute, description: 'The type of request.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'type', type: [String]
  • #valid_from ⇒ [Time]
    'The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'valid_from'
    
    
    39
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 39
    
    property :valid_from, disposition: :attribute, description: 'The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'valid_from', type: [Time]
  • #valid_until ⇒ [Time]
    'The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'valid_until'
    
    
    40
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 40
    
    property :valid_until, disposition: :attribute, description: 'The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'valid_until', type: [Time]
  • #id ⇒ [String] (Default Value: Proc.new { self.name })
    'The ID of the EC2 Fleet.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::FleetDatum"
    • orig_name'fleet_id'
    • defaultProc.new { self.name }
    
    
    41
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 41
    
    property :id, disposition: :attribute, description: 'The ID of the EC2 Fleet.', source: "MintPress::Aws::EC2::FleetDatum", orig_name: 'fleet_id', type: [String], array: false, hash: false, default: Proc.new { self.name }
  • #name ⇒ String

    Property Attributes
    
    
    42
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 42
    
    property :name, type: String
  • #region ⇒ String
    Region _specifically for this object_. If you're not doing different objects in different regions, you should not set this, but rather set the region on your AwsPlatformProvider instead

    Property Attributes
    
    
    46
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 46
    
    property :region, type: String
  • #platform ⇒ MintPress::InfrastructureAws::AwsPlatform (Default Value: MintPress::InfrastructureAws::AwsPlatform.new)
    The platform details, including credentials - normally this will come via AwsPlatformProvider (see the Infrastructure Providers section of the documentation)

    Property Attributes
    • defaultMintPress::InfrastructureAws::AwsPlatform.new
    
    
    49
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/fleet_datum.rb', line 49
    
    property :platform, type: MintPress::InfrastructureAws::AwsPlatform, default: MintPress::InfrastructureAws::AwsPlatform.new

Properties (Read Only)

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Instance Method Summary collapse

Methods included from AwsCommon

#alive?, all, #attach_generic, #attached?, #available?, #build_create_hash, #by_id, #by_name, #create_generic, #delete_cascade_generic, #delete_generic, #detach_generic, #exists?, #fill_in_details, #find_by_details, #find_global_object, #get_aws_region, #get_state, #handle_singleton_object, #harvest, #perform_operation, #prop_to_hash, #register_aws_object, #resource_api, #running?, #start_generic, #started?, #stop_generic, #terminate_generic

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Constructor Details

#initialize(opts = {}) ⇒ FleetDatum

Returns a new instance of FleetDatum.