RecommendedAction - AWS Compute Optimizer

RecommendedAction

Contains information about a recommended action that can be applied to optimize an AWS resource.

Contents

accountId

The AWS account ID that owns the resource.

Type: String

Pattern: [0-9]{12}

Required: No

currentResourceDetails

Detailed configuration information for a specific AWS resource, with type-specific details.

Type: ResourceDetails object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

currentResourceSummary

A summary of the resource's current configuration.

Type: String

Required: No

estimatedMonthlySavings

Contains information about estimated monthly cost savings.

Type: EstimatedMonthlySavings object

Required: No

lookBackPeriodInDays

The number of days of historical data used to generate the recommendation.

Type: Integer

Required: No

recommendedActionId

The unique identifier of the recommended action.

Type: String

Pattern: [0-9A-Za-z]{16}

Required: No

recommendedActionType

The type of action being recommended.

Type: String

Valid Values: SnapshotAndDeleteUnattachedEbsVolume | UpgradeEbsVolumeType

Required: No

recommendedResourceDetails

Detailed configuration information for a specific AWS resource, with type-specific details.

Type: ResourceDetails object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

recommendedResourceSummary

A summary of the resource's recommended configuration.

Type: String

Required: No

region

The AWS Region where the resource is located.

Type: String

Required: No

resourceArn

The Amazon Resource Name (ARN) of the resource that the recommendation applies to.

Type: String

Pattern: arn:aws[a-z0-9-]*:[a-z0-9-]+:[a-z0-9-]*:[0-9]{0,12}:[a-zA-Z0-9/_.-]+

Required: No

resourceId

The ID of the resource that the recommendation applies to.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [a-zA-Z0-9_.-]+

Required: No

resourceTags

The tags associated with the resource.

Type: Array of Tag objects

Array Members: Minimum number of 0 items. Maximum number of 200 items.

Required: No

resourceType

The type of resource being evaluated.

Type: String

Valid Values: EbsVolume

Required: No

restartNeeded

Indicates whether implementing the recommended action requires a resource restart.

Type: Boolean

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: