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)


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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)


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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)


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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)


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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)


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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)


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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)


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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)


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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)


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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)


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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


5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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:



5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 5223

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