Class: Aws::ResilienceHub::Types::CreateRecommendationTemplateRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ResilienceHub::Types::CreateRecommendationTemplateRequest
- Defined in:
- gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:tags]
Instance Attribute Summary collapse
-
#assessment_arn ⇒ String
The Amazon Resource Name (ARN) of the assessment.
-
#bucket_name ⇒ String
The name of the Amazon S3 bucket that will contain the recommendation template.
-
#client_token ⇒ String
Used for an idempotency token.
-
#format ⇒ String
The format for the recommendation template.
-
#name ⇒ String
The name for the recommendation template.
-
#recommendation_ids ⇒ Array<String>
Identifiers for the recommendations used to create a recommendation template.
-
#recommendation_types ⇒ Array<String>
An array of strings that specify the recommendation template type or types.
-
#tags ⇒ Hash<String,String>
The tags assigned to the resource.
Instance Attribute Details
#assessment_arn ⇒ String
The 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 AWS General Reference guide.
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1093 class CreateRecommendationTemplateRequest < Struct.new( :assessment_arn, :bucket_name, :client_token, :format, :name, :recommendation_ids, :recommendation_types, :tags) SENSITIVE = [:tags] include Aws::Structure end |
#bucket_name ⇒ String
The name of the Amazon S3 bucket that will contain the recommendation template.
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1093 class CreateRecommendationTemplateRequest < Struct.new( :assessment_arn, :bucket_name, :client_token, :format, :name, :recommendation_ids, :recommendation_types, :tags) SENSITIVE = [:tags] include Aws::Structure end |
#client_token ⇒ String
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
A suitable default value is auto-generated. You should normally not need to pass this option.
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1093 class CreateRecommendationTemplateRequest < Struct.new( :assessment_arn, :bucket_name, :client_token, :format, :name, :recommendation_ids, :recommendation_types, :tags) SENSITIVE = [:tags] include Aws::Structure end |
#format ⇒ String
The format for the recommendation template.
- CfnJson
The template is CloudFormation JSON.
- CfnYaml
The template is CloudFormation YAML.
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1093 class CreateRecommendationTemplateRequest < Struct.new( :assessment_arn, :bucket_name, :client_token, :format, :name, :recommendation_ids, :recommendation_types, :tags) SENSITIVE = [:tags] include Aws::Structure end |
#name ⇒ String
The name for the recommendation template.
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1093 class CreateRecommendationTemplateRequest < Struct.new( :assessment_arn, :bucket_name, :client_token, :format, :name, :recommendation_ids, :recommendation_types, :tags) SENSITIVE = [:tags] include Aws::Structure end |
#recommendation_ids ⇒ Array<String>
Identifiers for the recommendations used to create a recommendation template.
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1093 class CreateRecommendationTemplateRequest < Struct.new( :assessment_arn, :bucket_name, :client_token, :format, :name, :recommendation_ids, :recommendation_types, :tags) SENSITIVE = [:tags] include Aws::Structure end |
#recommendation_types ⇒ Array<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.
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1093 class CreateRecommendationTemplateRequest < Struct.new( :assessment_arn, :bucket_name, :client_token, :format, :name, :recommendation_ids, :recommendation_types, :tags) SENSITIVE = [:tags] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The 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.
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb', line 1093 class CreateRecommendationTemplateRequest < Struct.new( :assessment_arn, :bucket_name, :client_token, :format, :name, :recommendation_ids, :recommendation_types, :tags) SENSITIVE = [:tags] include Aws::Structure end |