Class: Aws::ResilienceHub::Types::RecommendationTemplate

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

Overview

Defines a recommendation template created with the CreateRecommendationTemplate action.

Constant Summary collapse

SENSITIVE =
[:tags]

Instance Attribute Summary collapse

Instance Attribute Details

#app_arnString

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:‘partition`:resiliencehub:`region`:`account`:app/`app-id`. For more information about ARNs, see [ Amazon Resource Names (ARNs)] in the *Amazon Web Services General Reference* guide.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#assessment_arnString

Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:‘partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`. For more information about ARNs, see [ Amazon Resource Names (ARNs)] in the *Amazon Web Services General Reference* guide.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#end_timeTime

The end time for the action.

Returns:

  • (Time)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#formatString

Format of the recommendation template.

CfnJson

: The template is CloudFormation JSON.

CfnYaml

: The template is CloudFormation YAML.

Returns:

  • (String)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#messageString

Message for the recommendation template.

Returns:

  • (String)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#nameString

Name for the recommendation template.

Returns:

  • (String)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#needs_replacementsBoolean

Indicates if replacements are needed.

Returns:

  • (Boolean)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#recommendation_idsArray<String>

Identifiers for the recommendations used in the recommendation template.

Returns:

  • (Array<String>)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#recommendation_template_arnString

Amazon Resource Name (ARN) for the recommendation template.

Returns:

  • (String)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#recommendation_typesArray<String>

An array of strings that specify the recommendation template type or types.

Alarm

: The template is an AlarmRecommendation template.

Sop

: The template is a SopRecommendation template.

Test

: The template is a TestRecommendation template.

Returns:

  • (Array<String>)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#start_timeTime

The start time for the action.

Returns:

  • (Time)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#statusString

Status of the action.

Returns:

  • (String)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#tagsHash<String,String>

Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.

Returns:

  • (Hash<String,String>)


5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#templates_locationTypes::S3Location

The file location of the template.

Returns:



5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
# File 'lib/aws-sdk-resiliencehub/types.rb', line 5435

class RecommendationTemplate < Struct.new(
  :app_arn,
  :assessment_arn,
  :end_time,
  :format,
  :message,
  :name,
  :needs_replacements,
  :recommendation_ids,
  :recommendation_template_arn,
  :recommendation_types,
  :start_time,
  :status,
  :tags,
  :templates_location)
  SENSITIVE = [:tags]
  include Aws::Structure
end