Class: Aws::ResilienceHub::Types::CreateRecommendationTemplateRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:tags]

Instance Attribute Summary collapse

Instance Attribute Details

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


1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1571

class CreateRecommendationTemplateRequest < Struct.new(
  :assessment_arn,
  :bucket_name,
  :client_token,
  :format,
  :name,
  :recommendation_ids,
  :recommendation_types,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#bucket_nameString

The name of the Amazon S3 bucket that will contain the recommendation template.

Returns:

  • (String)


1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1571

class CreateRecommendationTemplateRequest < Struct.new(
  :assessment_arn,
  :bucket_name,
  :client_token,
  :format,
  :name,
  :recommendation_ids,
  :recommendation_types,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#client_tokenString

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.

Returns:

  • (String)


1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1571

class CreateRecommendationTemplateRequest < Struct.new(
  :assessment_arn,
  :bucket_name,
  :client_token,
  :format,
  :name,
  :recommendation_ids,
  :recommendation_types,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#formatString

The format for the recommendation template.

CfnJson

: The template is CloudFormation JSON.

CfnYaml

: The template is CloudFormation YAML.

Returns:

  • (String)


1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1571

class CreateRecommendationTemplateRequest < Struct.new(
  :assessment_arn,
  :bucket_name,
  :client_token,
  :format,
  :name,
  :recommendation_ids,
  :recommendation_types,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#nameString

The name for the recommendation template.

Returns:

  • (String)


1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1571

class CreateRecommendationTemplateRequest < Struct.new(
  :assessment_arn,
  :bucket_name,
  :client_token,
  :format,
  :name,
  :recommendation_ids,
  :recommendation_types,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#recommendation_idsArray<String>

Identifiers for the recommendations used to create a recommendation template.

Returns:

  • (Array<String>)


1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1571

class CreateRecommendationTemplateRequest < Struct.new(
  :assessment_arn,
  :bucket_name,
  :client_token,
  :format,
  :name,
  :recommendation_ids,
  :recommendation_types,
  :tags)
  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>)


1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1571

class CreateRecommendationTemplateRequest < Struct.new(
  :assessment_arn,
  :bucket_name,
  :client_token,
  :format,
  :name,
  :recommendation_ids,
  :recommendation_types,
  :tags)
  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>)


1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1571

class CreateRecommendationTemplateRequest < Struct.new(
  :assessment_arn,
  :bucket_name,
  :client_token,
  :format,
  :name,
  :recommendation_ids,
  :recommendation_types,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end