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

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

Overview

Note:

When making an API call, you may pass InstanceEventWindowAssociationRequest data as a hash:

{
  instance_ids: ["InstanceId"],
  instance_tags: [
    {
      key: "String",
      value: "String",
    },
  ],
  dedicated_host_ids: ["DedicatedHostId"],
}

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_idsArray<String>

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

Returns:

  • (Array<String>)


35208
35209
35210
35211
35212
35213
35214
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35208

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

#instance_idsArray<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>)


35208
35209
35210
35211
35212
35213
35214
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35208

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

#instance_tagsArray<Types::Tag>

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

Returns:



35208
35209
35210
35211
35212
35213
35214
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35208

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