Class: Aws::SSM::Types::CreateOpsItemRequest

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

Overview

Note:

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

{
  description: "OpsItemDescription", # required
  operational_data: {
    "OpsItemDataKey" => {
      value: "OpsItemDataValueString",
      type: "SearchableString", # accepts SearchableString, String
    },
  },
  notifications: [
    {
      arn: "String",
    },
  ],
  priority: 1,
  related_ops_items: [
    {
      ops_item_id: "String", # required
    },
  ],
  source: "OpsItemSource", # required
  title: "OpsItemTitle", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
  category: "OpsItemCategory",
  severity: "OpsItemSeverity",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#categoryString

Specify a category to assign to an OpsItem.

Returns:

  • (String)


3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3283

class CreateOpsItemRequest < Struct.new(
  :description,
  :operational_data,
  :notifications,
  :priority,
  :related_ops_items,
  :source,
  :title,
  :tags,
  :category,
  :severity)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

Information about the OpsItem.

Returns:

  • (String)


3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3283

class CreateOpsItemRequest < Struct.new(
  :description,
  :operational_data,
  :notifications,
  :priority,
  :related_ops_items,
  :source,
  :title,
  :tags,
  :category,
  :severity)
  SENSITIVE = []
  include Aws::Structure
end

#notificationsArray<Types::OpsItemNotification>

The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or changed.

Returns:



3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3283

class CreateOpsItemRequest < Struct.new(
  :description,
  :operational_data,
  :notifications,
  :priority,
  :related_ops_items,
  :source,
  :title,
  :tags,
  :category,
  :severity)
  SENSITIVE = []
  include Aws::Structure
end

#operational_dataHash<String,Types::OpsItemDataValue>

Operational data is custom data that provides useful reference details about the OpsItem. For example, you can specify log files, error strings, license keys, troubleshooting tips, or other relevant data. You enter operational data as key-value pairs. The key has a maximum length of 128 characters. The value has a maximum size of 20 KB.

Operational data keys can't begin with the following: amazon, aws, amzn, ssm, /amazon, /aws, /amzn, /ssm.

You can choose to make the data searchable by other users in the account or you can restrict search access. Searchable data means that all users with access to the OpsItem Overview page (as provided by the DescribeOpsItems API action) can view and search on the specified data. Operational data that is not searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API action).

Use the /aws/resources key in OperationalData to specify a related resource in the request. Use the /aws/automations key in OperationalData to associate an Automation runbook with the OpsItem. To view AWS CLI example commands that use these keys, see Creating OpsItems manually in the AWS Systems Manager User Guide.

Returns:



3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3283

class CreateOpsItemRequest < Struct.new(
  :description,
  :operational_data,
  :notifications,
  :priority,
  :related_ops_items,
  :source,
  :title,
  :tags,
  :category,
  :severity)
  SENSITIVE = []
  include Aws::Structure
end

#priorityInteger

The importance of this OpsItem in relation to other OpsItems in the system.

Returns:

  • (Integer)


3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3283

class CreateOpsItemRequest < Struct.new(
  :description,
  :operational_data,
  :notifications,
  :priority,
  :related_ops_items,
  :source,
  :title,
  :tags,
  :category,
  :severity)
  SENSITIVE = []
  include Aws::Structure
end

One or more OpsItems that share something in common with the current OpsItems. For example, related OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource.

Returns:



3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3283

class CreateOpsItemRequest < Struct.new(
  :description,
  :operational_data,
  :notifications,
  :priority,
  :related_ops_items,
  :source,
  :title,
  :tags,
  :category,
  :severity)
  SENSITIVE = []
  include Aws::Structure
end

#severityString

Specify a severity to assign to an OpsItem.

Returns:

  • (String)


3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3283

class CreateOpsItemRequest < Struct.new(
  :description,
  :operational_data,
  :notifications,
  :priority,
  :related_ops_items,
  :source,
  :title,
  :tags,
  :category,
  :severity)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

The origin of the OpsItem, such as Amazon EC2 or Systems Manager.

The source name can't contain the following strings: aws, amazon, and amzn.

Returns:

  • (String)


3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3283

class CreateOpsItemRequest < Struct.new(
  :description,
  :operational_data,
  :notifications,
  :priority,
  :related_ops_items,
  :source,
  :title,
  :tags,
  :category,
  :severity)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Optional metadata that you assign to a resource. You can restrict access to OpsItems by using an inline IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the AWS Systems Manager User Guide.

Tags use a key-value pair. For example:

Key=Department,Value=Finance

To add tags to an existing OpsItem, use the AddTagsToResource action.

Returns:



3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3283

class CreateOpsItemRequest < Struct.new(
  :description,
  :operational_data,
  :notifications,
  :priority,
  :related_ops_items,
  :source,
  :title,
  :tags,
  :category,
  :severity)
  SENSITIVE = []
  include Aws::Structure
end

#titleString

A short heading that describes the nature of the OpsItem and the impacted resource.

Returns:

  • (String)


3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3283

class CreateOpsItemRequest < Struct.new(
  :description,
  :operational_data,
  :notifications,
  :priority,
  :related_ops_items,
  :source,
  :title,
  :tags,
  :category,
  :severity)
  SENSITIVE = []
  include Aws::Structure
end