Class: Aws::SSMIncidents::Types::SsmAutomation

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

Overview

Note:

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

{
  document_name: "SsmAutomationDocumentNameString", # required
  document_version: "SsmAutomationDocumentVersionString",
  parameters: {
    "SsmParametersKeyString" => ["SsmParameterValuesMemberString"],
  },
  role_arn: "RoleArn", # required
  target_account: "RESPONSE_PLAN_OWNER_ACCOUNT", # accepts RESPONSE_PLAN_OWNER_ACCOUNT, IMPACTED_ACCOUNT
}

Details about the Systems Manager automation document that will be used as a runbook during an incident.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#document_nameString

The automation document's name.

Returns:

  • (String)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1892

class SsmAutomation < Struct.new(
  :document_name,
  :document_version,
  :parameters,
  :role_arn,
  :target_account)
  SENSITIVE = []
  include Aws::Structure
end

#document_versionString

The automation document's version to use when running.

Returns:

  • (String)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1892

class SsmAutomation < Struct.new(
  :document_name,
  :document_version,
  :parameters,
  :role_arn,
  :target_account)
  SENSITIVE = []
  include Aws::Structure
end

#parametersHash<String,Array<String>>

The key-value pair parameters to use when running the automation document.

Returns:

  • (Hash<String,Array<String>>)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1892

class SsmAutomation < Struct.new(
  :document_name,
  :document_version,
  :parameters,
  :role_arn,
  :target_account)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.

Returns:

  • (String)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1892

class SsmAutomation < Struct.new(
  :document_name,
  :document_version,
  :parameters,
  :role_arn,
  :target_account)
  SENSITIVE = []
  include Aws::Structure
end

#target_accountString

The account that the automation document will be run in. This can be in either the management account or an application account.

Returns:

  • (String)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1892

class SsmAutomation < Struct.new(
  :document_name,
  :document_version,
  :parameters,
  :role_arn,
  :target_account)
  SENSITIVE = []
  include Aws::Structure
end