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


39685
39686
39687
39688
39689
39690
39691
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39685

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


39685
39686
39687
39688
39689
39690
39691
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39685

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:



39685
39686
39687
39688
39689
39690
39691
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39685

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