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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-resiliencehub/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.

Returns:

  • (String)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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.

Returns:

  • (String)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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>)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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>)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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>)


4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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:



4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 4821

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