View a markdown version of this page

AWS::WellArchitected::AgentProfile AggregationConfiguration - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::WellArchitected::AgentProfile AggregationConfiguration

Configuration settings that define the scope of AWS resources to analyze for optimization recommendations.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "AccessRoleArn" : String, "AccountId" : String, "Regions" : [ String, ... ] }

YAML

AccessRoleArn: String AccountId: String Regions: - String

Properties

AccessRoleArn

The ARN of an IAM role to assume for resource analysis in this account.

Required: Yes

Type: String

Pattern: ^arn:([a-z\-]+):iam::[0-9]{12}:role/(service-role/)?[a-zA-Z0-9+=,.@\-_]+$

Minimum: 1

Maximum: 2048

Update requires: No interruption

AccountId

The AWS account ID to analyze.

Required: Yes

Type: String

Pattern: ^[0-9]{12}$

Minimum: 12

Maximum: 12

Update requires: No interruption

Regions

A list of AWS Regions to include in the analysis.

Required: Yes

Type: Array of String

Minimum: 0

Maximum: 64 | 25

Update requires: No interruption