Class: Aws::SSM::Types::AssociateOpsItemRelatedItemRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssm/types.rb

Overview

Note:

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

{
  ops_item_id: "OpsItemId", # required
  association_type: "OpsItemRelatedItemAssociationType", # required
  resource_type: "OpsItemRelatedItemAssociationResourceType", # required
  resource_uri: "OpsItemRelatedItemAssociationResourceUri", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#association_typeString

The type of association that you want to create between an OpsItem and a resource. OpsCenter supports `IsParentOf` and `RelatesTo` association types.

Returns:

  • (String)

231
232
233
234
235
236
237
238
# File 'lib/aws-sdk-ssm/types.rb', line 231

class AssociateOpsItemRelatedItemRequest < Struct.new(
  :ops_item_id,
  :association_type,
  :resource_type,
  :resource_uri)
  SENSITIVE = []
  include Aws::Structure
end

#ops_item_idString

The ID of the OpsItem to which you want to associate a resource as a related item.

Returns:

  • (String)

231
232
233
234
235
236
237
238
# File 'lib/aws-sdk-ssm/types.rb', line 231

class AssociateOpsItemRelatedItemRequest < Struct.new(
  :ops_item_id,
  :association_type,
  :resource_type,
  :resource_uri)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:

`AWS::SSMIncidents::IncidentRecord`: an Incident Manager incident. Incident Manager is a capability of Amazon Web Services Systems Manager.

`AWS::SSM::Document`: a Systems Manager (SSM) document.

Returns:

  • (String)

231
232
233
234
235
236
237
238
# File 'lib/aws-sdk-ssm/types.rb', line 231

class AssociateOpsItemRelatedItemRequest < Struct.new(
  :ops_item_id,
  :association_type,
  :resource_type,
  :resource_uri)
  SENSITIVE = []
  include Aws::Structure
end

#resource_uriString

The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.

Returns:

  • (String)

231
232
233
234
235
236
237
238
# File 'lib/aws-sdk-ssm/types.rb', line 231

class AssociateOpsItemRelatedItemRequest < Struct.new(
  :ops_item_id,
  :association_type,
  :resource_type,
  :resource_uri)
  SENSITIVE = []
  include Aws::Structure
end