AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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


39094
39095
39096
39097
39098
39099
39100
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39094

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


39094
39095
39096
39097
39098
39099
39100
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39094

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:



39094
39095
39096
39097
39098
39099
39100
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39094

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