Class: Aws::EC2::Types::InstanceEventWindowAssociationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

One or more targets associated with the specified event window. Only one type of target (instance ID, instance tag, or Dedicated Host ID) can be associated with an event window.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dedicated_host_ids ⇒ Array<String>

The IDs of the Dedicated Hosts to associate with the event window.

Returns:

  • (Array<String>)


56521
56522
56523
56524
56525
56526
56527
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 56521

class InstanceEventWindowAssociationRequest < Struct.new(
  :instance_ids,
  :instance_tags,
  :dedicated_host_ids)
  SENSITIVE = []
  include Aws::Structure
end

#instance_ids ⇒ Array<String>

The IDs of the instances to associate with the event window. If the instance is on a Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated Host ID parameter.

Returns:

  • (Array<String>)


56521
56522
56523
56524
56525
56526
56527
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 56521

class InstanceEventWindowAssociationRequest < Struct.new(
  :instance_ids,
  :instance_tags,
  :dedicated_host_ids)
  SENSITIVE = []
  include Aws::Structure
end

#instance_tags ⇒ Array<Types::Tag>

The instance tags to associate with the event window. Any instances associated with the tags will be associated with the event window.

Note that while you can't create tag keys beginning with aws:, you can specify existing Amazon Web Services managed tag keys (with the aws: prefix) when specifying them as targets to associate with the event window.

Returns:



56521
56522
56523
56524
56525
56526
56527
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 56521

class InstanceEventWindowAssociationRequest < Struct.new(
  :instance_ids,
  :instance_tags,
  :dedicated_host_ids)
  SENSITIVE = []
  include Aws::Structure
end