Class: MintPress::Aws::EC2::CapacityReservation

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

Properties (Read/Write)

  • #availability_zone ⇒ [String]
    'The Availability Zone in which the capacity is reserved.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'availability_zone'
    • create_capacity_reservation_prop'availability_zone'
    • read_onlyfalse
    • fromString
    
    
    24
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 24
    
    property :availability_zone, disposition: :attribute, description: 'The Availability Zone in which the capacity is reserved.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'availability_zone', type: [String], create_capacity_reservation_prop: 'availability_zone', read_only: false, from: String
  • #available_instance_count ⇒ [Integer]
    'The remaining capacity.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'available_instance_count'
    
    
    25
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 25
    
    property :available_instance_count, disposition: :attribute, description: 'The remaining capacity.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'available_instance_count', type: [Integer]
  • #capacity_reservation_arn ⇒ [String]
    'The Amazon Resource Name (ARN) of the Capacity Reservation.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'capacity_reservation_arn'
    
    
    26
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 26
    
    property :capacity_reservation_arn, disposition: :attribute, description: 'The Amazon Resource Name (ARN) of the Capacity Reservation.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'capacity_reservation_arn', type: [String]
  • #create_date ⇒ [Time]
    'The date and time at which the Capacity Reservation was created.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'create_date'
    
    
    27
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 27
    
    property :create_date, disposition: :attribute, description: 'The date and time at which the Capacity Reservation was created.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'create_date', type: [Time]
  • #ebs_optimized ⇒ [TrueClass,FalseClass]
    'Indicates whether the Capacity Reservation supports EBS-optimized instances.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'ebs_optimized'
    • create_capacity_reservation_prop'ebs_optimized'
    • read_onlyfalse
    
    
    28
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 28
    
    property :ebs_optimized, disposition: :attribute, description: 'Indicates whether the Capacity Reservation supports EBS-optimized instances.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'ebs_optimized', type: [TrueClass,FalseClass], create_capacity_reservation_prop: 'ebs_optimized', read_only: false
  • #end_date ⇒ [Time,DateTime,Integer]
    'The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation"s state changes to expired when it reaches its end date and time. The Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019. You must provide an EndDate value if EndDateType is limited. Omit EndDate if EndDateType is unlimited.'

    Property Attributes
    • source"modify_capacity_reservation"
    • orig_name'end_date'
    • create_capacity_reservation_prop'end_date'
    • read_onlyfalse
    • modify_capacity_reservation_prop'end_date'
    
    
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 29
    
    property :end_date, description: 'The date and time at which the Capacity Reservation expires. When a
    Capacity Reservation expires, the reserved capacity is released and
    you can no longer launch instances into it. The Capacity
    Reservation"s state changes to expired when it reaches its end date
    and time.
    
    The Capacity Reservation is cancelled within an hour from the
    specified time. For example, if you specify 5/31/2019, 13:30:55, the
    Capacity Reservation is guaranteed to end between 13:30:55 and
    14:30:55 on 5/31/2019.
    
    You must provide an EndDate value if EndDateType is limited.
    Omit EndDate if EndDateType is unlimited.', source: "modify_capacity_reservation", orig_name: 'end_date', type: [Time,DateTime,Integer], create_capacity_reservation_prop: 'end_date', read_only: false, modify_capacity_reservation_prop: 'end_date'
  • #end_date_type ⇒ [String]
    'Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types: unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an EndDate value if EndDateType is unlimited. limited - The Capacity Reservation expires automatically at a specified date and time. You must provide an EndDate value if EndDateType is limited.'

    Property Attributes
    • source"modify_capacity_reservation"
    • orig_name'end_date_type'
    • create_capacity_reservation_prop'end_date_type'
    • read_onlyfalse
    • modify_capacity_reservation_prop'end_date_type'
    
    
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 42
    
    property :end_date_type, description: 'Indicates the way in which the Capacity Reservation ends. A Capacity
    Reservation can have one of the following end types:
    
    
    unlimited - The Capacity Reservation remains active until you
    explicitly cancel it. Do not provide an EndDate value if
    EndDateType is unlimited.
    limited - The Capacity Reservation expires automatically at a
    specified date and time. You must provide an EndDate value if
    EndDateType is limited.', source: "modify_capacity_reservation", orig_name: 'end_date_type', type: [String], create_capacity_reservation_prop: 'end_date_type', read_only: false, modify_capacity_reservation_prop: 'end_date_type'
  • #ephemeral_storage ⇒ [TrueClass,FalseClass]
    'Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'ephemeral_storage'
    • create_capacity_reservation_prop'ephemeral_storage'
    • read_onlyfalse
    
    
    52
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 52
    
    property :ephemeral_storage, disposition: :attribute, description: 'Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'ephemeral_storage', type: [TrueClass,FalseClass], create_capacity_reservation_prop: 'ephemeral_storage', read_only: false
  • #instance_match_criteria ⇒ [String]
    'Indicates the type of instance launches that the Capacity Reservation accepts.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'instance_match_criteria'
    • create_capacity_reservation_prop'instance_match_criteria'
    • read_onlyfalse
    
    
    53
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 53
    
    property :instance_match_criteria, disposition: :attribute, description: 'Indicates the type of instance launches that the Capacity Reservation accepts.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'instance_match_criteria', type: [String], create_capacity_reservation_prop: 'instance_match_criteria', read_only: false
  • #instance_platform ⇒ [String]
    'The type of operating system for which the Capacity Reservation reserves capacity.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'instance_platform'
    • create_capacity_reservation_prop'instance_platform'
    • read_onlyfalse
    
    
    54
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 54
    
    property :instance_platform, disposition: :attribute, description: 'The type of operating system for which the Capacity Reservation reserves capacity.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'instance_platform', type: [String], create_capacity_reservation_prop: 'instance_platform', read_only: false
  • #instance_type ⇒ [String]
    'The type of instance for which the Capacity Reservation reserves capacity.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'instance_type'
    • create_capacity_reservation_prop'instance_type'
    • read_onlyfalse
    
    
    55
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 55
    
    property :instance_type, disposition: :attribute, description: 'The type of instance for which the Capacity Reservation reserves capacity.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'instance_type', type: [String], create_capacity_reservation_prop: 'instance_type', read_only: false
  • #state ⇒ [String]
    'The current state of the Capacity Reservation.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'state'
    
    
    56
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 56
    
    property :state, disposition: :attribute, description: 'The current state of the Capacity Reservation.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'state', type: [String]
  • #tags ⇒ Hash of ⇒ [MintPress::Aws::EC2::Tag]
    'Any tags assigned to the Capacity Reservation.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'tags'
    • create_capacity_reservation_prop'tag_specifications'
    • read_onlyfalse
    
    
    57
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 57
    
    property :tags, disposition: :attribute, description: 'Any tags assigned to the Capacity Reservation.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'tags', type: [MintPress::Aws::EC2::Tag], array: false, create_capacity_reservation_prop: 'tag_specifications', read_only: false, hash: true
  • #tenancy ⇒ [String]
    'Indicates the tenancy of the Capacity Reservation.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'tenancy'
    • create_capacity_reservation_prop'tenancy'
    • read_onlyfalse
    
    
    58
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 58
    
    property :tenancy, disposition: :attribute, description: 'Indicates the tenancy of the Capacity Reservation.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'tenancy', type: [String], create_capacity_reservation_prop: 'tenancy', read_only: false
  • #total_instance_count ⇒ [Integer]
    'The total number of instances for which the Capacity Reservation reserves capacity.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'total_instance_count'
    
    
    59
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 59
    
    property :total_instance_count, disposition: :attribute, description: 'The total number of instances for which the Capacity Reservation reserves capacity.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'total_instance_count', type: [Integer]
  • #client_token ⇒ [String]
    'Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.'

    Property Attributes
    • create_capacity_reservation_prop'client_token'
    • read_onlyfalse
    • source"create_capacity_reservation"
    
    
    60
    61
    62
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 60
    
    property :client_token, create_capacity_reservation_prop: 'client_token', type: [String], read_only: false, source: "create_capacity_reservation", description: 'Unique, case-sensitive identifier that you provide to ensure the
    idempotency of the request. For more information, see How to Ensure
    Idempotency.'
  • #instance_count ⇒ [Integer]
    'The number of instances for which to reserve capacity.'

    Property Attributes
    • create_capacity_reservation_prop'instance_count'
    • read_onlyfalse
    • source"modify_capacity_reservation"
    • modify_capacity_reservation_prop'instance_count'
    
    
    63
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 63
    
    property :instance_count, create_capacity_reservation_prop: 'instance_count', type: [Integer], read_only: false, source: "modify_capacity_reservation", description: 'The number of instances for which to reserve capacity.', modify_capacity_reservation_prop: 'instance_count'
  • #dry_run ⇒ [TrueClass,FalseClass]
    'Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.'

    Property Attributes
    • create_capacity_reservation_prop'dry_run'
    • read_onlyfalse
    • source"modify_capacity_reservation"
    • describe_capacity_reservations_prop'dry_run'
    • modify_capacity_reservation_prop'dry_run'
    
    
    64
    65
    66
    67
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 64
    
    property :dry_run, create_capacity_reservation_prop: 'dry_run', type: [TrueClass,FalseClass], read_only: false, source: "modify_capacity_reservation", description: 'Checks whether you have the required permissions for the action,
    without actually making the request, and provides an error response.
    If you have the required permissions, the error response is
    DryRunOperation. Otherwise, it is UnauthorizedOperation.', describe_capacity_reservations_prop: 'dry_run', modify_capacity_reservation_prop: 'dry_run'
  • #max_results ⇒ [Integer]
    'The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.'

    Property Attributes
    • describe_capacity_reservations_prop'max_results'
    • source"describe_capacity_reservations"
    
    
    68
    69
    70
    71
    72
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 68
    
    property :max_results, describe_capacity_reservations_prop: 'max_results', type: [Integer], source: "describe_capacity_reservations", description: 'The maximum number of results to return for the request in a single
    page. The remaining results can be seen by sending another request
    with the returned nextToken value. This value can be between 5 and
    500. If maxResults is given a larger value than 500, you receive an
    error.'
  • #filters ⇒ Hash of ⇒ [MintPress::Aws::EC2::Filter]
    'One or more filters. instance-type - The type of instance for which the Capacity Reservation reserves capacity. owner-id - The ID of the AWS account that owns the Capacity Reservation. availability-zone-id - The Availability Zone ID of the Capacity Reservation. instance-platform - The type of operating system for which the Capacity Reservation reserves capacity. availability-zone - The Availability Zone ID of the Capacity Reservation. tenancy - Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings: default - The Capacity Reservation is created on hardware that is shared with other AWS accounts. dedicated - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single AWS account. state - The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states: active- The Capacity Reservation is active and the capacity is available for your use. expired - The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use. cancelled - The Capacity Reservation was manually cancelled. The reserved capacity is no longer available for your use. pending - The Capacity Reservation request was successful but the capacity provisioning is still pending. failed - The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes. end-date - The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation"s state changes to expired when it reaches its end date and time. end-date-type - Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types: unlimited - The Capacity Reservation remains active until you explicitly cancel it. limited - The Capacity Reservation expires automatically at a specified date and time. instance-match-criteria - Indicates the type of instance launches that the Capacity Reservation accepts. The options include: open - The Capacity Reservation accepts all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes launch into the Capacity Reservation automatically without specifying any additional parameters. targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.'

    Property Attributes
    • describe_capacity_reservations_prop'filters'
    • source"describe_capacity_reservations"
    
    
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 73
    
    property :filters, describe_capacity_reservations_prop: 'filters', type: [MintPress::Aws::EC2::Filter], array: false, source: "describe_capacity_reservations", description: 'One or more filters.
    
    
    instance-type - The type of instance for which the Capacity
    Reservation reserves capacity.
    owner-id - The ID of the AWS account that owns the Capacity
    Reservation.
    availability-zone-id - The Availability Zone ID of the Capacity
    Reservation.
    instance-platform - The type of operating system for which the
    Capacity Reservation reserves capacity.
    availability-zone - The Availability Zone ID of the Capacity
    Reservation.
    tenancy - Indicates the tenancy of the Capacity Reservation. A
    Capacity Reservation can have one of the following tenancy settings:
    
    
    default - The Capacity Reservation is created on hardware that
    is shared with other AWS accounts.
    dedicated - The Capacity Reservation is created on single-tenant
    hardware that is dedicated to a single AWS account.
    
    
    state - The current state of the Capacity Reservation. A Capacity
    Reservation can be in one of the following states:
    
    
    active- The Capacity Reservation is active and the capacity is
    available for your use.
    expired - The Capacity Reservation expired automatically at the
    date and time specified in your request. The reserved capacity is
    no longer available for your use.
    cancelled - The Capacity Reservation was manually cancelled. The
    reserved capacity is no longer available for your use.
    pending - The Capacity Reservation request was successful but
    the capacity provisioning is still pending.
    failed - The Capacity Reservation request has failed. A request
    might fail due to invalid request parameters, capacity
    constraints, or instance limit constraints. Failed requests are
    retained for 60 minutes.
    
    
    end-date - The date and time at which the Capacity Reservation
    expires. When a Capacity Reservation expires, the reserved capacity
    is released and you can no longer launch instances into it. The
    Capacity Reservation"s state changes to expired when it reaches its
    end date and time.
    end-date-type - Indicates the way in which the Capacity
    Reservation ends. A Capacity Reservation can have one of the
    following end types:
    
    
    unlimited - The Capacity Reservation remains active until you
    explicitly cancel it.
    limited - The Capacity Reservation expires automatically at a
    specified date and time.
    
    
    instance-match-criteria - Indicates the type of instance launches
    that the Capacity Reservation accepts. The options include:
    
    
    open - The Capacity Reservation accepts all instances that have
    matching attributes (instance type, platform, and Availability
    Zone). Instances that have matching attributes launch into the
    Capacity Reservation automatically without specifying any
    additional parameters.
    targeted - The Capacity Reservation only accepts instances that
    have matching attributes (instance type, platform, and
    Availability Zone), and explicitly target the Capacity
    Reservation. This ensures that only permitted instances can use
    the reserved capacity.', hash: true
  • #capacity_reservation_preference ⇒ [String]
    'Indicates the instance"s Capacity Reservation preferences.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'capacity_reservation_preference'
    • modify_instance_capacity_reservation_attributes_prop'capacity_reservation_preference'
    • create_instances_prop'capacity_reservation_preference'
    
    
    145
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 145
    
    property :capacity_reservation_preference, disposition: :attribute, description: 'Indicates the instance"s Capacity Reservation preferences.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'capacity_reservation_preference', type: [String], modify_instance_capacity_reservation_attributes_prop: 'capacity_reservation_preference', create_instances_prop: 'capacity_reservation_preference'
  • #capacity_reservation_target ⇒ [MintPress::Aws::EC2::CapacityReservationTarget] (Default Value: MintPress::Aws::EC2::CapacityReservationTarget.new)
    'Information about the target Capacity Reservation or Capacity Reservation group.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'capacity_reservation_target'
    • defaultMintPress::Aws::EC2::CapacityReservationTarget.new
    • modify_instance_capacity_reservation_attributes_prop'capacity_reservation_target'
    • create_instances_prop'capacity_reservation_target'
    
    
    146
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 146
    
    property :capacity_reservation_target, disposition: :attribute, description: 'Information about the target Capacity Reservation or Capacity Reservation group.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'capacity_reservation_target', type: [MintPress::Aws::EC2::CapacityReservationTarget], default: MintPress::Aws::EC2::CapacityReservationTarget.new, modify_instance_capacity_reservation_attributes_prop: 'capacity_reservation_target', create_instances_prop: 'capacity_reservation_target'
  • #id ⇒ [String] (Default Value: Proc.new { self.name })
    'The ID of the Capacity Reservation.'

    Property Attributes
    • source"describe_capacity_reservations"
    • orig_name'capacity_reservation_id'
    • modify_capacity_reservation_prop'capacity_reservation_id'
    • read_onlyfalse
    • describe_capacity_reservations_prop'capacity_reservation_ids'
    • defaultProc.new { self.name }
    
    
    147
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 147
    
    property :id, description: 'The ID of the Capacity Reservation.', source: "describe_capacity_reservations", orig_name: 'capacity_reservation_id', type: [String], modify_capacity_reservation_prop: 'capacity_reservation_id', read_only: false, array: false, hash: false, describe_capacity_reservations_prop: 'capacity_reservation_ids', default: Proc.new { self.name }
  • #owner ⇒ [String]
    'The ID of the AWS account that owns the Capacity Reservation.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::CapacityReservation"
    • orig_name'owner_id'
    
    
    148
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 148
    
    property :owner, disposition: :attribute, description: 'The ID of the AWS account that owns the Capacity Reservation.', source: "MintPress::Aws::EC2::CapacityReservation", orig_name: 'owner_id', type: [String]
  • #name ⇒ String

    Property Attributes
    
    
    149
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 149
    
    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
    
    
    153
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 153
    
    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
    
    
    156
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/capacity_reservation.rb', line 156
    
    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 = {}) ⇒ CapacityReservation

Returns a new instance of CapacityReservation.

Instance Method Details

#createObject

#describeObject

#modifyObject