Class: Aws::EC2::Types::AssociateApplicationStatusCheckRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_status_check_id ⇒ String

The ID of the application status check to associate.

Returns:

  • (String)


2724
2725
2726
2727
2728
2729
2730
2731
2732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2724

class AssociateApplicationStatusCheckRequest < Struct.new(
  :application_status_check_id,
  :target_tag_associations,
  :instance_ids,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#client_token ⇒ String

A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same token, the service ignores the request but does not return an error. For more information, see Ensuring idempotency.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


2724
2725
2726
2727
2728
2729
2730
2731
2732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2724

class AssociateApplicationStatusCheckRequest < Struct.new(
  :application_status_check_id,
  :target_tag_associations,
  :instance_ids,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#dry_run ⇒ Boolean

Checks whether you have the required permissions for the operation, 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.

Returns:

  • (Boolean)


2724
2725
2726
2727
2728
2729
2730
2731
2732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2724

class AssociateApplicationStatusCheckRequest < Struct.new(
  :application_status_check_id,
  :target_tag_associations,
  :instance_ids,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#instance_ids ⇒ Array<String>

The IDs of the instances to associate with the application status check.

Returns:

  • (Array<String>)


2724
2725
2726
2727
2728
2729
2730
2731
2732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2724

class AssociateApplicationStatusCheckRequest < Struct.new(
  :application_status_check_id,
  :target_tag_associations,
  :instance_ids,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#target_tag_associations ⇒ Array<Types::CustomTagKeyValueRequestPair>

The tags to associate the application status check with. Each tag is a key-value pair. When you associate tags, the application status check automatically monitors all instances that have the specified tags.



2724
2725
2726
2727
2728
2729
2730
2731
2732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2724

class AssociateApplicationStatusCheckRequest < Struct.new(
  :application_status_check_id,
  :target_tag_associations,
  :instance_ids,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end