computeoptimizer

package
v6.62.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnrollmentStatus

type EnrollmentStatus struct {
	pulumi.CustomResourceState

	// Whether to enroll member accounts of the organization if the account is the management account of an organization. Default is `false`.
	IncludeMemberAccounts pulumi.BoolOutput `pulumi:"includeMemberAccounts"`
	// The count of organization member accounts that are opted in to the service, if your account is an organization management account.
	NumberOfMemberAccountsOptedIn pulumi.IntOutput `pulumi:"numberOfMemberAccountsOptedIn"`
	// The enrollment status of the account. Valid values: `Active`, `Inactive`.
	Status   pulumi.StringOutput               `pulumi:"status"`
	Timeouts EnrollmentStatusTimeoutsPtrOutput `pulumi:"timeouts"`
}

Manages AWS Compute Optimizer enrollment status.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/computeoptimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := computeoptimizer.NewEnrollmentStatus(ctx, "example", &computeoptimizer.EnrollmentStatusArgs{
			Status: pulumi.String("Active"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import enrollment status using the account ID. For example:

```sh $ pulumi import aws:computeoptimizer/enrollmentStatus:EnrollmentStatus example 123456789012 ```

func GetEnrollmentStatus

func GetEnrollmentStatus(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnrollmentStatusState, opts ...pulumi.ResourceOption) (*EnrollmentStatus, error)

GetEnrollmentStatus gets an existing EnrollmentStatus resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEnrollmentStatus

func NewEnrollmentStatus(ctx *pulumi.Context,
	name string, args *EnrollmentStatusArgs, opts ...pulumi.ResourceOption) (*EnrollmentStatus, error)

NewEnrollmentStatus registers a new resource with the given unique name, arguments, and options.

func (*EnrollmentStatus) ElementType

func (*EnrollmentStatus) ElementType() reflect.Type

func (*EnrollmentStatus) ToEnrollmentStatusOutput

func (i *EnrollmentStatus) ToEnrollmentStatusOutput() EnrollmentStatusOutput

func (*EnrollmentStatus) ToEnrollmentStatusOutputWithContext

func (i *EnrollmentStatus) ToEnrollmentStatusOutputWithContext(ctx context.Context) EnrollmentStatusOutput

type EnrollmentStatusArgs

type EnrollmentStatusArgs struct {
	// Whether to enroll member accounts of the organization if the account is the management account of an organization. Default is `false`.
	IncludeMemberAccounts pulumi.BoolPtrInput
	// The enrollment status of the account. Valid values: `Active`, `Inactive`.
	Status   pulumi.StringInput
	Timeouts EnrollmentStatusTimeoutsPtrInput
}

The set of arguments for constructing a EnrollmentStatus resource.

func (EnrollmentStatusArgs) ElementType

func (EnrollmentStatusArgs) ElementType() reflect.Type

type EnrollmentStatusArray

type EnrollmentStatusArray []EnrollmentStatusInput

func (EnrollmentStatusArray) ElementType

func (EnrollmentStatusArray) ElementType() reflect.Type

func (EnrollmentStatusArray) ToEnrollmentStatusArrayOutput

func (i EnrollmentStatusArray) ToEnrollmentStatusArrayOutput() EnrollmentStatusArrayOutput

func (EnrollmentStatusArray) ToEnrollmentStatusArrayOutputWithContext

func (i EnrollmentStatusArray) ToEnrollmentStatusArrayOutputWithContext(ctx context.Context) EnrollmentStatusArrayOutput

type EnrollmentStatusArrayInput

type EnrollmentStatusArrayInput interface {
	pulumi.Input

	ToEnrollmentStatusArrayOutput() EnrollmentStatusArrayOutput
	ToEnrollmentStatusArrayOutputWithContext(context.Context) EnrollmentStatusArrayOutput
}

EnrollmentStatusArrayInput is an input type that accepts EnrollmentStatusArray and EnrollmentStatusArrayOutput values. You can construct a concrete instance of `EnrollmentStatusArrayInput` via:

EnrollmentStatusArray{ EnrollmentStatusArgs{...} }

type EnrollmentStatusArrayOutput

type EnrollmentStatusArrayOutput struct{ *pulumi.OutputState }

func (EnrollmentStatusArrayOutput) ElementType

func (EnrollmentStatusArrayOutput) Index

func (EnrollmentStatusArrayOutput) ToEnrollmentStatusArrayOutput

func (o EnrollmentStatusArrayOutput) ToEnrollmentStatusArrayOutput() EnrollmentStatusArrayOutput

func (EnrollmentStatusArrayOutput) ToEnrollmentStatusArrayOutputWithContext

func (o EnrollmentStatusArrayOutput) ToEnrollmentStatusArrayOutputWithContext(ctx context.Context) EnrollmentStatusArrayOutput

type EnrollmentStatusInput

type EnrollmentStatusInput interface {
	pulumi.Input

	ToEnrollmentStatusOutput() EnrollmentStatusOutput
	ToEnrollmentStatusOutputWithContext(ctx context.Context) EnrollmentStatusOutput
}

type EnrollmentStatusMap

type EnrollmentStatusMap map[string]EnrollmentStatusInput

func (EnrollmentStatusMap) ElementType

func (EnrollmentStatusMap) ElementType() reflect.Type

func (EnrollmentStatusMap) ToEnrollmentStatusMapOutput

func (i EnrollmentStatusMap) ToEnrollmentStatusMapOutput() EnrollmentStatusMapOutput

func (EnrollmentStatusMap) ToEnrollmentStatusMapOutputWithContext

func (i EnrollmentStatusMap) ToEnrollmentStatusMapOutputWithContext(ctx context.Context) EnrollmentStatusMapOutput

type EnrollmentStatusMapInput

type EnrollmentStatusMapInput interface {
	pulumi.Input

	ToEnrollmentStatusMapOutput() EnrollmentStatusMapOutput
	ToEnrollmentStatusMapOutputWithContext(context.Context) EnrollmentStatusMapOutput
}

EnrollmentStatusMapInput is an input type that accepts EnrollmentStatusMap and EnrollmentStatusMapOutput values. You can construct a concrete instance of `EnrollmentStatusMapInput` via:

EnrollmentStatusMap{ "key": EnrollmentStatusArgs{...} }

type EnrollmentStatusMapOutput

type EnrollmentStatusMapOutput struct{ *pulumi.OutputState }

func (EnrollmentStatusMapOutput) ElementType

func (EnrollmentStatusMapOutput) ElementType() reflect.Type

func (EnrollmentStatusMapOutput) MapIndex

func (EnrollmentStatusMapOutput) ToEnrollmentStatusMapOutput

func (o EnrollmentStatusMapOutput) ToEnrollmentStatusMapOutput() EnrollmentStatusMapOutput

func (EnrollmentStatusMapOutput) ToEnrollmentStatusMapOutputWithContext

func (o EnrollmentStatusMapOutput) ToEnrollmentStatusMapOutputWithContext(ctx context.Context) EnrollmentStatusMapOutput

type EnrollmentStatusOutput

type EnrollmentStatusOutput struct{ *pulumi.OutputState }

func (EnrollmentStatusOutput) ElementType

func (EnrollmentStatusOutput) ElementType() reflect.Type

func (EnrollmentStatusOutput) IncludeMemberAccounts

func (o EnrollmentStatusOutput) IncludeMemberAccounts() pulumi.BoolOutput

Whether to enroll member accounts of the organization if the account is the management account of an organization. Default is `false`.

func (EnrollmentStatusOutput) NumberOfMemberAccountsOptedIn

func (o EnrollmentStatusOutput) NumberOfMemberAccountsOptedIn() pulumi.IntOutput

The count of organization member accounts that are opted in to the service, if your account is an organization management account.

func (EnrollmentStatusOutput) Status

The enrollment status of the account. Valid values: `Active`, `Inactive`.

func (EnrollmentStatusOutput) Timeouts

func (EnrollmentStatusOutput) ToEnrollmentStatusOutput

func (o EnrollmentStatusOutput) ToEnrollmentStatusOutput() EnrollmentStatusOutput

func (EnrollmentStatusOutput) ToEnrollmentStatusOutputWithContext

func (o EnrollmentStatusOutput) ToEnrollmentStatusOutputWithContext(ctx context.Context) EnrollmentStatusOutput

type EnrollmentStatusState

type EnrollmentStatusState struct {
	// Whether to enroll member accounts of the organization if the account is the management account of an organization. Default is `false`.
	IncludeMemberAccounts pulumi.BoolPtrInput
	// The count of organization member accounts that are opted in to the service, if your account is an organization management account.
	NumberOfMemberAccountsOptedIn pulumi.IntPtrInput
	// The enrollment status of the account. Valid values: `Active`, `Inactive`.
	Status   pulumi.StringPtrInput
	Timeouts EnrollmentStatusTimeoutsPtrInput
}

func (EnrollmentStatusState) ElementType

func (EnrollmentStatusState) ElementType() reflect.Type

type EnrollmentStatusTimeouts

type EnrollmentStatusTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type EnrollmentStatusTimeoutsArgs

type EnrollmentStatusTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (EnrollmentStatusTimeoutsArgs) ElementType

func (EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsOutput

func (i EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsOutput() EnrollmentStatusTimeoutsOutput

func (EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsOutputWithContext

func (i EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsOutputWithContext(ctx context.Context) EnrollmentStatusTimeoutsOutput

func (EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsPtrOutput

func (i EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsPtrOutput() EnrollmentStatusTimeoutsPtrOutput

func (EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsPtrOutputWithContext

func (i EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsPtrOutputWithContext(ctx context.Context) EnrollmentStatusTimeoutsPtrOutput

type EnrollmentStatusTimeoutsInput

type EnrollmentStatusTimeoutsInput interface {
	pulumi.Input

	ToEnrollmentStatusTimeoutsOutput() EnrollmentStatusTimeoutsOutput
	ToEnrollmentStatusTimeoutsOutputWithContext(context.Context) EnrollmentStatusTimeoutsOutput
}

EnrollmentStatusTimeoutsInput is an input type that accepts EnrollmentStatusTimeoutsArgs and EnrollmentStatusTimeoutsOutput values. You can construct a concrete instance of `EnrollmentStatusTimeoutsInput` via:

EnrollmentStatusTimeoutsArgs{...}

type EnrollmentStatusTimeoutsOutput

type EnrollmentStatusTimeoutsOutput struct{ *pulumi.OutputState }

func (EnrollmentStatusTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (EnrollmentStatusTimeoutsOutput) ElementType

func (EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsOutput

func (o EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsOutput() EnrollmentStatusTimeoutsOutput

func (EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsOutputWithContext

func (o EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsOutputWithContext(ctx context.Context) EnrollmentStatusTimeoutsOutput

func (EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsPtrOutput

func (o EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsPtrOutput() EnrollmentStatusTimeoutsPtrOutput

func (EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsPtrOutputWithContext

func (o EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsPtrOutputWithContext(ctx context.Context) EnrollmentStatusTimeoutsPtrOutput

func (EnrollmentStatusTimeoutsOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type EnrollmentStatusTimeoutsPtrInput

type EnrollmentStatusTimeoutsPtrInput interface {
	pulumi.Input

	ToEnrollmentStatusTimeoutsPtrOutput() EnrollmentStatusTimeoutsPtrOutput
	ToEnrollmentStatusTimeoutsPtrOutputWithContext(context.Context) EnrollmentStatusTimeoutsPtrOutput
}

EnrollmentStatusTimeoutsPtrInput is an input type that accepts EnrollmentStatusTimeoutsArgs, EnrollmentStatusTimeoutsPtr and EnrollmentStatusTimeoutsPtrOutput values. You can construct a concrete instance of `EnrollmentStatusTimeoutsPtrInput` via:

        EnrollmentStatusTimeoutsArgs{...}

or:

        nil

type EnrollmentStatusTimeoutsPtrOutput

type EnrollmentStatusTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (EnrollmentStatusTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (EnrollmentStatusTimeoutsPtrOutput) Elem

func (EnrollmentStatusTimeoutsPtrOutput) ElementType

func (EnrollmentStatusTimeoutsPtrOutput) ToEnrollmentStatusTimeoutsPtrOutput

func (o EnrollmentStatusTimeoutsPtrOutput) ToEnrollmentStatusTimeoutsPtrOutput() EnrollmentStatusTimeoutsPtrOutput

func (EnrollmentStatusTimeoutsPtrOutput) ToEnrollmentStatusTimeoutsPtrOutputWithContext

func (o EnrollmentStatusTimeoutsPtrOutput) ToEnrollmentStatusTimeoutsPtrOutputWithContext(ctx context.Context) EnrollmentStatusTimeoutsPtrOutput

func (EnrollmentStatusTimeoutsPtrOutput) Update

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type RecommendationPreferences

type RecommendationPreferences struct {
	pulumi.CustomResourceState

	// The status of the enhanced infrastructure metrics recommendation preference. Valid values: `Active`, `Inactive`.
	EnhancedInfrastructureMetrics pulumi.StringPtrOutput `pulumi:"enhancedInfrastructureMetrics"`
	// The provider of the external metrics recommendation preference. See External Metrics Preference below.
	ExternalMetricsPreference RecommendationPreferencesExternalMetricsPreferencePtrOutput `pulumi:"externalMetricsPreference"`
	// The status of the inferred workload types recommendation preference. Valid values: `Active`, `Inactive`.
	InferredWorkloadTypes pulumi.StringPtrOutput `pulumi:"inferredWorkloadTypes"`
	// The preference to control the number of days the utilization metrics of the AWS resource are analyzed. Valid values: `DAYS_14`, `DAYS_32`, `DAYS_93`.
	LookBackPeriod pulumi.StringOutput `pulumi:"lookBackPeriod"`
	// The preference to control which resource type values are considered when generating rightsizing recommendations. See Preferred Resources below.
	PreferredResources RecommendationPreferencesPreferredResourceArrayOutput `pulumi:"preferredResources"`
	// The target resource type of the recommendation preferences. Valid values: `Ec2Instance`, `AutoScalingGroup`, `RdsDBInstance`.
	ResourceType pulumi.StringOutput `pulumi:"resourceType"`
	// The status of the savings estimation mode preference. Valid values: `AfterDiscounts`, `BeforeDiscounts`.
	SavingsEstimationMode pulumi.StringPtrOutput `pulumi:"savingsEstimationMode"`
	// The scope of the recommendation preferences. See Scope below.
	Scope RecommendationPreferencesScopePtrOutput `pulumi:"scope"`
	// The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. See Utilization Preferences below.
	UtilizationPreferences RecommendationPreferencesUtilizationPreferenceArrayOutput `pulumi:"utilizationPreferences"`
}

Manages AWS Compute Optimizer recommendation preferences.

## Example Usage

### Lookback Period Preference

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/computeoptimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := computeoptimizer.NewRecommendationPreferences(ctx, "example", &computeoptimizer.RecommendationPreferencesArgs{
			ResourceType: pulumi.String("Ec2Instance"),
			Scope: &computeoptimizer.RecommendationPreferencesScopeArgs{
				Name:  pulumi.String("AccountId"),
				Value: pulumi.String("123456789012"),
			},
			LookBackPeriod: pulumi.String("DAYS_32"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Multiple Preferences

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/computeoptimizer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := computeoptimizer.NewRecommendationPreferences(ctx, "example", &computeoptimizer.RecommendationPreferencesArgs{
			ResourceType: pulumi.String("Ec2Instance"),
			Scope: &computeoptimizer.RecommendationPreferencesScopeArgs{
				Name:  pulumi.String("AccountId"),
				Value: pulumi.String("123456789012"),
			},
			EnhancedInfrastructureMetrics: pulumi.String("Active"),
			ExternalMetricsPreference: &computeoptimizer.RecommendationPreferencesExternalMetricsPreferenceArgs{
				Source: pulumi.String("Datadog"),
			},
			PreferredResources: computeoptimizer.RecommendationPreferencesPreferredResourceArray{
				&computeoptimizer.RecommendationPreferencesPreferredResourceArgs{
					IncludeLists: pulumi.StringArray{
						pulumi.String("m5.xlarge"),
						pulumi.String("r5"),
					},
					Name: pulumi.String("Ec2InstanceTypes"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import recommendation preferences using the resource type, scope name and scope value. For example:

```sh $ pulumi import aws:computeoptimizer/recommendationPreferences:RecommendationPreferences example Ec2Instance,AccountId,123456789012 ```

func GetRecommendationPreferences

func GetRecommendationPreferences(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RecommendationPreferencesState, opts ...pulumi.ResourceOption) (*RecommendationPreferences, error)

GetRecommendationPreferences gets an existing RecommendationPreferences resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRecommendationPreferences

func NewRecommendationPreferences(ctx *pulumi.Context,
	name string, args *RecommendationPreferencesArgs, opts ...pulumi.ResourceOption) (*RecommendationPreferences, error)

NewRecommendationPreferences registers a new resource with the given unique name, arguments, and options.

func (*RecommendationPreferences) ElementType

func (*RecommendationPreferences) ElementType() reflect.Type

func (*RecommendationPreferences) ToRecommendationPreferencesOutput

func (i *RecommendationPreferences) ToRecommendationPreferencesOutput() RecommendationPreferencesOutput

func (*RecommendationPreferences) ToRecommendationPreferencesOutputWithContext

func (i *RecommendationPreferences) ToRecommendationPreferencesOutputWithContext(ctx context.Context) RecommendationPreferencesOutput

type RecommendationPreferencesArgs

type RecommendationPreferencesArgs struct {
	// The status of the enhanced infrastructure metrics recommendation preference. Valid values: `Active`, `Inactive`.
	EnhancedInfrastructureMetrics pulumi.StringPtrInput
	// The provider of the external metrics recommendation preference. See External Metrics Preference below.
	ExternalMetricsPreference RecommendationPreferencesExternalMetricsPreferencePtrInput
	// The status of the inferred workload types recommendation preference. Valid values: `Active`, `Inactive`.
	InferredWorkloadTypes pulumi.StringPtrInput
	// The preference to control the number of days the utilization metrics of the AWS resource are analyzed. Valid values: `DAYS_14`, `DAYS_32`, `DAYS_93`.
	LookBackPeriod pulumi.StringPtrInput
	// The preference to control which resource type values are considered when generating rightsizing recommendations. See Preferred Resources below.
	PreferredResources RecommendationPreferencesPreferredResourceArrayInput
	// The target resource type of the recommendation preferences. Valid values: `Ec2Instance`, `AutoScalingGroup`, `RdsDBInstance`.
	ResourceType pulumi.StringInput
	// The status of the savings estimation mode preference. Valid values: `AfterDiscounts`, `BeforeDiscounts`.
	SavingsEstimationMode pulumi.StringPtrInput
	// The scope of the recommendation preferences. See Scope below.
	Scope RecommendationPreferencesScopePtrInput
	// The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. See Utilization Preferences below.
	UtilizationPreferences RecommendationPreferencesUtilizationPreferenceArrayInput
}

The set of arguments for constructing a RecommendationPreferences resource.

func (RecommendationPreferencesArgs) ElementType

type RecommendationPreferencesArray

type RecommendationPreferencesArray []RecommendationPreferencesInput

func (RecommendationPreferencesArray) ElementType

func (RecommendationPreferencesArray) ToRecommendationPreferencesArrayOutput

func (i RecommendationPreferencesArray) ToRecommendationPreferencesArrayOutput() RecommendationPreferencesArrayOutput

func (RecommendationPreferencesArray) ToRecommendationPreferencesArrayOutputWithContext

func (i RecommendationPreferencesArray) ToRecommendationPreferencesArrayOutputWithContext(ctx context.Context) RecommendationPreferencesArrayOutput

type RecommendationPreferencesArrayInput

type RecommendationPreferencesArrayInput interface {
	pulumi.Input

	ToRecommendationPreferencesArrayOutput() RecommendationPreferencesArrayOutput
	ToRecommendationPreferencesArrayOutputWithContext(context.Context) RecommendationPreferencesArrayOutput
}

RecommendationPreferencesArrayInput is an input type that accepts RecommendationPreferencesArray and RecommendationPreferencesArrayOutput values. You can construct a concrete instance of `RecommendationPreferencesArrayInput` via:

RecommendationPreferencesArray{ RecommendationPreferencesArgs{...} }

type RecommendationPreferencesArrayOutput

type RecommendationPreferencesArrayOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesArrayOutput) ElementType

func (RecommendationPreferencesArrayOutput) Index

func (RecommendationPreferencesArrayOutput) ToRecommendationPreferencesArrayOutput

func (o RecommendationPreferencesArrayOutput) ToRecommendationPreferencesArrayOutput() RecommendationPreferencesArrayOutput

func (RecommendationPreferencesArrayOutput) ToRecommendationPreferencesArrayOutputWithContext

func (o RecommendationPreferencesArrayOutput) ToRecommendationPreferencesArrayOutputWithContext(ctx context.Context) RecommendationPreferencesArrayOutput

type RecommendationPreferencesExternalMetricsPreference

type RecommendationPreferencesExternalMetricsPreference struct {
	// The source options for external metrics preferences. Valid values: `Datadog`, `Dynatrace`, `NewRelic`, `Instana`.
	Source string `pulumi:"source"`
}

type RecommendationPreferencesExternalMetricsPreferenceArgs

type RecommendationPreferencesExternalMetricsPreferenceArgs struct {
	// The source options for external metrics preferences. Valid values: `Datadog`, `Dynatrace`, `NewRelic`, `Instana`.
	Source pulumi.StringInput `pulumi:"source"`
}

func (RecommendationPreferencesExternalMetricsPreferenceArgs) ElementType

func (RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferenceOutput

func (RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferenceOutputWithContext

func (i RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferenceOutputWithContext(ctx context.Context) RecommendationPreferencesExternalMetricsPreferenceOutput

func (RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferencePtrOutput

func (i RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferencePtrOutput() RecommendationPreferencesExternalMetricsPreferencePtrOutput

func (RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferencePtrOutputWithContext

func (i RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferencePtrOutputWithContext(ctx context.Context) RecommendationPreferencesExternalMetricsPreferencePtrOutput

type RecommendationPreferencesExternalMetricsPreferenceInput

type RecommendationPreferencesExternalMetricsPreferenceInput interface {
	pulumi.Input

	ToRecommendationPreferencesExternalMetricsPreferenceOutput() RecommendationPreferencesExternalMetricsPreferenceOutput
	ToRecommendationPreferencesExternalMetricsPreferenceOutputWithContext(context.Context) RecommendationPreferencesExternalMetricsPreferenceOutput
}

RecommendationPreferencesExternalMetricsPreferenceInput is an input type that accepts RecommendationPreferencesExternalMetricsPreferenceArgs and RecommendationPreferencesExternalMetricsPreferenceOutput values. You can construct a concrete instance of `RecommendationPreferencesExternalMetricsPreferenceInput` via:

RecommendationPreferencesExternalMetricsPreferenceArgs{...}

type RecommendationPreferencesExternalMetricsPreferenceOutput

type RecommendationPreferencesExternalMetricsPreferenceOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesExternalMetricsPreferenceOutput) ElementType

func (RecommendationPreferencesExternalMetricsPreferenceOutput) Source

The source options for external metrics preferences. Valid values: `Datadog`, `Dynatrace`, `NewRelic`, `Instana`.

func (RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferenceOutput

func (RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferenceOutputWithContext

func (o RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferenceOutputWithContext(ctx context.Context) RecommendationPreferencesExternalMetricsPreferenceOutput

func (RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutput

func (RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutputWithContext

func (o RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutputWithContext(ctx context.Context) RecommendationPreferencesExternalMetricsPreferencePtrOutput

type RecommendationPreferencesExternalMetricsPreferencePtrInput

type RecommendationPreferencesExternalMetricsPreferencePtrInput interface {
	pulumi.Input

	ToRecommendationPreferencesExternalMetricsPreferencePtrOutput() RecommendationPreferencesExternalMetricsPreferencePtrOutput
	ToRecommendationPreferencesExternalMetricsPreferencePtrOutputWithContext(context.Context) RecommendationPreferencesExternalMetricsPreferencePtrOutput
}

RecommendationPreferencesExternalMetricsPreferencePtrInput is an input type that accepts RecommendationPreferencesExternalMetricsPreferenceArgs, RecommendationPreferencesExternalMetricsPreferencePtr and RecommendationPreferencesExternalMetricsPreferencePtrOutput values. You can construct a concrete instance of `RecommendationPreferencesExternalMetricsPreferencePtrInput` via:

        RecommendationPreferencesExternalMetricsPreferenceArgs{...}

or:

        nil

type RecommendationPreferencesExternalMetricsPreferencePtrOutput

type RecommendationPreferencesExternalMetricsPreferencePtrOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesExternalMetricsPreferencePtrOutput) Elem

func (RecommendationPreferencesExternalMetricsPreferencePtrOutput) ElementType

func (RecommendationPreferencesExternalMetricsPreferencePtrOutput) Source

The source options for external metrics preferences. Valid values: `Datadog`, `Dynatrace`, `NewRelic`, `Instana`.

func (RecommendationPreferencesExternalMetricsPreferencePtrOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutput

func (RecommendationPreferencesExternalMetricsPreferencePtrOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutputWithContext

func (o RecommendationPreferencesExternalMetricsPreferencePtrOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutputWithContext(ctx context.Context) RecommendationPreferencesExternalMetricsPreferencePtrOutput

type RecommendationPreferencesInput

type RecommendationPreferencesInput interface {
	pulumi.Input

	ToRecommendationPreferencesOutput() RecommendationPreferencesOutput
	ToRecommendationPreferencesOutputWithContext(ctx context.Context) RecommendationPreferencesOutput
}

type RecommendationPreferencesMap

type RecommendationPreferencesMap map[string]RecommendationPreferencesInput

func (RecommendationPreferencesMap) ElementType

func (RecommendationPreferencesMap) ToRecommendationPreferencesMapOutput

func (i RecommendationPreferencesMap) ToRecommendationPreferencesMapOutput() RecommendationPreferencesMapOutput

func (RecommendationPreferencesMap) ToRecommendationPreferencesMapOutputWithContext

func (i RecommendationPreferencesMap) ToRecommendationPreferencesMapOutputWithContext(ctx context.Context) RecommendationPreferencesMapOutput

type RecommendationPreferencesMapInput

type RecommendationPreferencesMapInput interface {
	pulumi.Input

	ToRecommendationPreferencesMapOutput() RecommendationPreferencesMapOutput
	ToRecommendationPreferencesMapOutputWithContext(context.Context) RecommendationPreferencesMapOutput
}

RecommendationPreferencesMapInput is an input type that accepts RecommendationPreferencesMap and RecommendationPreferencesMapOutput values. You can construct a concrete instance of `RecommendationPreferencesMapInput` via:

RecommendationPreferencesMap{ "key": RecommendationPreferencesArgs{...} }

type RecommendationPreferencesMapOutput

type RecommendationPreferencesMapOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesMapOutput) ElementType

func (RecommendationPreferencesMapOutput) MapIndex

func (RecommendationPreferencesMapOutput) ToRecommendationPreferencesMapOutput

func (o RecommendationPreferencesMapOutput) ToRecommendationPreferencesMapOutput() RecommendationPreferencesMapOutput

func (RecommendationPreferencesMapOutput) ToRecommendationPreferencesMapOutputWithContext

func (o RecommendationPreferencesMapOutput) ToRecommendationPreferencesMapOutputWithContext(ctx context.Context) RecommendationPreferencesMapOutput

type RecommendationPreferencesOutput

type RecommendationPreferencesOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesOutput) ElementType

func (RecommendationPreferencesOutput) EnhancedInfrastructureMetrics

func (o RecommendationPreferencesOutput) EnhancedInfrastructureMetrics() pulumi.StringPtrOutput

The status of the enhanced infrastructure metrics recommendation preference. Valid values: `Active`, `Inactive`.

func (RecommendationPreferencesOutput) ExternalMetricsPreference

The provider of the external metrics recommendation preference. See External Metrics Preference below.

func (RecommendationPreferencesOutput) InferredWorkloadTypes

func (o RecommendationPreferencesOutput) InferredWorkloadTypes() pulumi.StringPtrOutput

The status of the inferred workload types recommendation preference. Valid values: `Active`, `Inactive`.

func (RecommendationPreferencesOutput) LookBackPeriod

The preference to control the number of days the utilization metrics of the AWS resource are analyzed. Valid values: `DAYS_14`, `DAYS_32`, `DAYS_93`.

func (RecommendationPreferencesOutput) PreferredResources

The preference to control which resource type values are considered when generating rightsizing recommendations. See Preferred Resources below.

func (RecommendationPreferencesOutput) ResourceType

The target resource type of the recommendation preferences. Valid values: `Ec2Instance`, `AutoScalingGroup`, `RdsDBInstance`.

func (RecommendationPreferencesOutput) SavingsEstimationMode

func (o RecommendationPreferencesOutput) SavingsEstimationMode() pulumi.StringPtrOutput

The status of the savings estimation mode preference. Valid values: `AfterDiscounts`, `BeforeDiscounts`.

func (RecommendationPreferencesOutput) Scope

The scope of the recommendation preferences. See Scope below.

func (RecommendationPreferencesOutput) ToRecommendationPreferencesOutput

func (o RecommendationPreferencesOutput) ToRecommendationPreferencesOutput() RecommendationPreferencesOutput

func (RecommendationPreferencesOutput) ToRecommendationPreferencesOutputWithContext

func (o RecommendationPreferencesOutput) ToRecommendationPreferencesOutputWithContext(ctx context.Context) RecommendationPreferencesOutput

func (RecommendationPreferencesOutput) UtilizationPreferences

The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. See Utilization Preferences below.

type RecommendationPreferencesPreferredResource

type RecommendationPreferencesPreferredResource struct {
	// The preferred resource type values to exclude from the recommendation candidates. If this isn’t specified, all supported resources are included by default.
	ExcludeLists []string `pulumi:"excludeLists"`
	// The preferred resource type values to include in the recommendation candidates. You can specify the exact resource type value, such as `"m5.large"`, or use wild card expressions, such as `"m5"`. If this isn’t specified, all supported resources are included by default.
	IncludeLists []string `pulumi:"includeLists"`
	Name         string   `pulumi:"name"`
}

type RecommendationPreferencesPreferredResourceArgs

type RecommendationPreferencesPreferredResourceArgs struct {
	// The preferred resource type values to exclude from the recommendation candidates. If this isn’t specified, all supported resources are included by default.
	ExcludeLists pulumi.StringArrayInput `pulumi:"excludeLists"`
	// The preferred resource type values to include in the recommendation candidates. You can specify the exact resource type value, such as `"m5.large"`, or use wild card expressions, such as `"m5"`. If this isn’t specified, all supported resources are included by default.
	IncludeLists pulumi.StringArrayInput `pulumi:"includeLists"`
	Name         pulumi.StringInput      `pulumi:"name"`
}

func (RecommendationPreferencesPreferredResourceArgs) ElementType

func (RecommendationPreferencesPreferredResourceArgs) ToRecommendationPreferencesPreferredResourceOutput

func (i RecommendationPreferencesPreferredResourceArgs) ToRecommendationPreferencesPreferredResourceOutput() RecommendationPreferencesPreferredResourceOutput

func (RecommendationPreferencesPreferredResourceArgs) ToRecommendationPreferencesPreferredResourceOutputWithContext

func (i RecommendationPreferencesPreferredResourceArgs) ToRecommendationPreferencesPreferredResourceOutputWithContext(ctx context.Context) RecommendationPreferencesPreferredResourceOutput

type RecommendationPreferencesPreferredResourceArray

type RecommendationPreferencesPreferredResourceArray []RecommendationPreferencesPreferredResourceInput

func (RecommendationPreferencesPreferredResourceArray) ElementType

func (RecommendationPreferencesPreferredResourceArray) ToRecommendationPreferencesPreferredResourceArrayOutput

func (i RecommendationPreferencesPreferredResourceArray) ToRecommendationPreferencesPreferredResourceArrayOutput() RecommendationPreferencesPreferredResourceArrayOutput

func (RecommendationPreferencesPreferredResourceArray) ToRecommendationPreferencesPreferredResourceArrayOutputWithContext

func (i RecommendationPreferencesPreferredResourceArray) ToRecommendationPreferencesPreferredResourceArrayOutputWithContext(ctx context.Context) RecommendationPreferencesPreferredResourceArrayOutput

type RecommendationPreferencesPreferredResourceArrayInput

type RecommendationPreferencesPreferredResourceArrayInput interface {
	pulumi.Input

	ToRecommendationPreferencesPreferredResourceArrayOutput() RecommendationPreferencesPreferredResourceArrayOutput
	ToRecommendationPreferencesPreferredResourceArrayOutputWithContext(context.Context) RecommendationPreferencesPreferredResourceArrayOutput
}

RecommendationPreferencesPreferredResourceArrayInput is an input type that accepts RecommendationPreferencesPreferredResourceArray and RecommendationPreferencesPreferredResourceArrayOutput values. You can construct a concrete instance of `RecommendationPreferencesPreferredResourceArrayInput` via:

RecommendationPreferencesPreferredResourceArray{ RecommendationPreferencesPreferredResourceArgs{...} }

type RecommendationPreferencesPreferredResourceArrayOutput

type RecommendationPreferencesPreferredResourceArrayOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesPreferredResourceArrayOutput) ElementType

func (RecommendationPreferencesPreferredResourceArrayOutput) Index

func (RecommendationPreferencesPreferredResourceArrayOutput) ToRecommendationPreferencesPreferredResourceArrayOutput

func (RecommendationPreferencesPreferredResourceArrayOutput) ToRecommendationPreferencesPreferredResourceArrayOutputWithContext

func (o RecommendationPreferencesPreferredResourceArrayOutput) ToRecommendationPreferencesPreferredResourceArrayOutputWithContext(ctx context.Context) RecommendationPreferencesPreferredResourceArrayOutput

type RecommendationPreferencesPreferredResourceInput

type RecommendationPreferencesPreferredResourceInput interface {
	pulumi.Input

	ToRecommendationPreferencesPreferredResourceOutput() RecommendationPreferencesPreferredResourceOutput
	ToRecommendationPreferencesPreferredResourceOutputWithContext(context.Context) RecommendationPreferencesPreferredResourceOutput
}

RecommendationPreferencesPreferredResourceInput is an input type that accepts RecommendationPreferencesPreferredResourceArgs and RecommendationPreferencesPreferredResourceOutput values. You can construct a concrete instance of `RecommendationPreferencesPreferredResourceInput` via:

RecommendationPreferencesPreferredResourceArgs{...}

type RecommendationPreferencesPreferredResourceOutput

type RecommendationPreferencesPreferredResourceOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesPreferredResourceOutput) ElementType

func (RecommendationPreferencesPreferredResourceOutput) ExcludeLists

The preferred resource type values to exclude from the recommendation candidates. If this isn’t specified, all supported resources are included by default.

func (RecommendationPreferencesPreferredResourceOutput) IncludeLists

The preferred resource type values to include in the recommendation candidates. You can specify the exact resource type value, such as `"m5.large"`, or use wild card expressions, such as `"m5"`. If this isn’t specified, all supported resources are included by default.

func (RecommendationPreferencesPreferredResourceOutput) Name

func (RecommendationPreferencesPreferredResourceOutput) ToRecommendationPreferencesPreferredResourceOutput

func (o RecommendationPreferencesPreferredResourceOutput) ToRecommendationPreferencesPreferredResourceOutput() RecommendationPreferencesPreferredResourceOutput

func (RecommendationPreferencesPreferredResourceOutput) ToRecommendationPreferencesPreferredResourceOutputWithContext

func (o RecommendationPreferencesPreferredResourceOutput) ToRecommendationPreferencesPreferredResourceOutputWithContext(ctx context.Context) RecommendationPreferencesPreferredResourceOutput

type RecommendationPreferencesScope

type RecommendationPreferencesScope struct {
	// The name of the scope. Valid values: `Organization`, `AccountId`, `ResourceArn`.
	Name string `pulumi:"name"`
	// The value of the scope. `ALL_ACCOUNTS` for `Organization` scopes, AWS account ID for `AccountId` scopes, ARN of an EC2 instance or an Auto Scaling group for `ResourceArn` scopes.
	Value string `pulumi:"value"`
}

type RecommendationPreferencesScopeArgs

type RecommendationPreferencesScopeArgs struct {
	// The name of the scope. Valid values: `Organization`, `AccountId`, `ResourceArn`.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the scope. `ALL_ACCOUNTS` for `Organization` scopes, AWS account ID for `AccountId` scopes, ARN of an EC2 instance or an Auto Scaling group for `ResourceArn` scopes.
	Value pulumi.StringInput `pulumi:"value"`
}

func (RecommendationPreferencesScopeArgs) ElementType

func (RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopeOutput

func (i RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopeOutput() RecommendationPreferencesScopeOutput

func (RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopeOutputWithContext

func (i RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopeOutputWithContext(ctx context.Context) RecommendationPreferencesScopeOutput

func (RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopePtrOutput

func (i RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopePtrOutput() RecommendationPreferencesScopePtrOutput

func (RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopePtrOutputWithContext

func (i RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopePtrOutputWithContext(ctx context.Context) RecommendationPreferencesScopePtrOutput

type RecommendationPreferencesScopeInput

type RecommendationPreferencesScopeInput interface {
	pulumi.Input

	ToRecommendationPreferencesScopeOutput() RecommendationPreferencesScopeOutput
	ToRecommendationPreferencesScopeOutputWithContext(context.Context) RecommendationPreferencesScopeOutput
}

RecommendationPreferencesScopeInput is an input type that accepts RecommendationPreferencesScopeArgs and RecommendationPreferencesScopeOutput values. You can construct a concrete instance of `RecommendationPreferencesScopeInput` via:

RecommendationPreferencesScopeArgs{...}

type RecommendationPreferencesScopeOutput

type RecommendationPreferencesScopeOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesScopeOutput) ElementType

func (RecommendationPreferencesScopeOutput) Name

The name of the scope. Valid values: `Organization`, `AccountId`, `ResourceArn`.

func (RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopeOutput

func (o RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopeOutput() RecommendationPreferencesScopeOutput

func (RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopeOutputWithContext

func (o RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopeOutputWithContext(ctx context.Context) RecommendationPreferencesScopeOutput

func (RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopePtrOutput

func (o RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopePtrOutput() RecommendationPreferencesScopePtrOutput

func (RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopePtrOutputWithContext

func (o RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopePtrOutputWithContext(ctx context.Context) RecommendationPreferencesScopePtrOutput

func (RecommendationPreferencesScopeOutput) Value

The value of the scope. `ALL_ACCOUNTS` for `Organization` scopes, AWS account ID for `AccountId` scopes, ARN of an EC2 instance or an Auto Scaling group for `ResourceArn` scopes.

type RecommendationPreferencesScopePtrInput

type RecommendationPreferencesScopePtrInput interface {
	pulumi.Input

	ToRecommendationPreferencesScopePtrOutput() RecommendationPreferencesScopePtrOutput
	ToRecommendationPreferencesScopePtrOutputWithContext(context.Context) RecommendationPreferencesScopePtrOutput
}

RecommendationPreferencesScopePtrInput is an input type that accepts RecommendationPreferencesScopeArgs, RecommendationPreferencesScopePtr and RecommendationPreferencesScopePtrOutput values. You can construct a concrete instance of `RecommendationPreferencesScopePtrInput` via:

        RecommendationPreferencesScopeArgs{...}

or:

        nil

type RecommendationPreferencesScopePtrOutput

type RecommendationPreferencesScopePtrOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesScopePtrOutput) Elem

func (RecommendationPreferencesScopePtrOutput) ElementType

func (RecommendationPreferencesScopePtrOutput) Name

The name of the scope. Valid values: `Organization`, `AccountId`, `ResourceArn`.

func (RecommendationPreferencesScopePtrOutput) ToRecommendationPreferencesScopePtrOutput

func (o RecommendationPreferencesScopePtrOutput) ToRecommendationPreferencesScopePtrOutput() RecommendationPreferencesScopePtrOutput

func (RecommendationPreferencesScopePtrOutput) ToRecommendationPreferencesScopePtrOutputWithContext

func (o RecommendationPreferencesScopePtrOutput) ToRecommendationPreferencesScopePtrOutputWithContext(ctx context.Context) RecommendationPreferencesScopePtrOutput

func (RecommendationPreferencesScopePtrOutput) Value

The value of the scope. `ALL_ACCOUNTS` for `Organization` scopes, AWS account ID for `AccountId` scopes, ARN of an EC2 instance or an Auto Scaling group for `ResourceArn` scopes.

type RecommendationPreferencesState

type RecommendationPreferencesState struct {
	// The status of the enhanced infrastructure metrics recommendation preference. Valid values: `Active`, `Inactive`.
	EnhancedInfrastructureMetrics pulumi.StringPtrInput
	// The provider of the external metrics recommendation preference. See External Metrics Preference below.
	ExternalMetricsPreference RecommendationPreferencesExternalMetricsPreferencePtrInput
	// The status of the inferred workload types recommendation preference. Valid values: `Active`, `Inactive`.
	InferredWorkloadTypes pulumi.StringPtrInput
	// The preference to control the number of days the utilization metrics of the AWS resource are analyzed. Valid values: `DAYS_14`, `DAYS_32`, `DAYS_93`.
	LookBackPeriod pulumi.StringPtrInput
	// The preference to control which resource type values are considered when generating rightsizing recommendations. See Preferred Resources below.
	PreferredResources RecommendationPreferencesPreferredResourceArrayInput
	// The target resource type of the recommendation preferences. Valid values: `Ec2Instance`, `AutoScalingGroup`, `RdsDBInstance`.
	ResourceType pulumi.StringPtrInput
	// The status of the savings estimation mode preference. Valid values: `AfterDiscounts`, `BeforeDiscounts`.
	SavingsEstimationMode pulumi.StringPtrInput
	// The scope of the recommendation preferences. See Scope below.
	Scope RecommendationPreferencesScopePtrInput
	// The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. See Utilization Preferences below.
	UtilizationPreferences RecommendationPreferencesUtilizationPreferenceArrayInput
}

func (RecommendationPreferencesState) ElementType

type RecommendationPreferencesUtilizationPreference

type RecommendationPreferencesUtilizationPreference struct {
	// The name of the resource utilization metric name to customize. Valid values: `CpuUtilization`, `MemoryUtilization`.
	MetricName string `pulumi:"metricName"`
	// The parameters to set when customizing the resource utilization thresholds.
	MetricParameters *RecommendationPreferencesUtilizationPreferenceMetricParameters `pulumi:"metricParameters"`
}

type RecommendationPreferencesUtilizationPreferenceArgs

type RecommendationPreferencesUtilizationPreferenceArgs struct {
	// The name of the resource utilization metric name to customize. Valid values: `CpuUtilization`, `MemoryUtilization`.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// The parameters to set when customizing the resource utilization thresholds.
	MetricParameters RecommendationPreferencesUtilizationPreferenceMetricParametersPtrInput `pulumi:"metricParameters"`
}

func (RecommendationPreferencesUtilizationPreferenceArgs) ElementType

func (RecommendationPreferencesUtilizationPreferenceArgs) ToRecommendationPreferencesUtilizationPreferenceOutput

func (i RecommendationPreferencesUtilizationPreferenceArgs) ToRecommendationPreferencesUtilizationPreferenceOutput() RecommendationPreferencesUtilizationPreferenceOutput

func (RecommendationPreferencesUtilizationPreferenceArgs) ToRecommendationPreferencesUtilizationPreferenceOutputWithContext

func (i RecommendationPreferencesUtilizationPreferenceArgs) ToRecommendationPreferencesUtilizationPreferenceOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceOutput

type RecommendationPreferencesUtilizationPreferenceArray

type RecommendationPreferencesUtilizationPreferenceArray []RecommendationPreferencesUtilizationPreferenceInput

func (RecommendationPreferencesUtilizationPreferenceArray) ElementType

func (RecommendationPreferencesUtilizationPreferenceArray) ToRecommendationPreferencesUtilizationPreferenceArrayOutput

func (i RecommendationPreferencesUtilizationPreferenceArray) ToRecommendationPreferencesUtilizationPreferenceArrayOutput() RecommendationPreferencesUtilizationPreferenceArrayOutput

func (RecommendationPreferencesUtilizationPreferenceArray) ToRecommendationPreferencesUtilizationPreferenceArrayOutputWithContext

func (i RecommendationPreferencesUtilizationPreferenceArray) ToRecommendationPreferencesUtilizationPreferenceArrayOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceArrayOutput

type RecommendationPreferencesUtilizationPreferenceArrayInput

type RecommendationPreferencesUtilizationPreferenceArrayInput interface {
	pulumi.Input

	ToRecommendationPreferencesUtilizationPreferenceArrayOutput() RecommendationPreferencesUtilizationPreferenceArrayOutput
	ToRecommendationPreferencesUtilizationPreferenceArrayOutputWithContext(context.Context) RecommendationPreferencesUtilizationPreferenceArrayOutput
}

RecommendationPreferencesUtilizationPreferenceArrayInput is an input type that accepts RecommendationPreferencesUtilizationPreferenceArray and RecommendationPreferencesUtilizationPreferenceArrayOutput values. You can construct a concrete instance of `RecommendationPreferencesUtilizationPreferenceArrayInput` via:

RecommendationPreferencesUtilizationPreferenceArray{ RecommendationPreferencesUtilizationPreferenceArgs{...} }

type RecommendationPreferencesUtilizationPreferenceArrayOutput

type RecommendationPreferencesUtilizationPreferenceArrayOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesUtilizationPreferenceArrayOutput) ElementType

func (RecommendationPreferencesUtilizationPreferenceArrayOutput) Index

func (RecommendationPreferencesUtilizationPreferenceArrayOutput) ToRecommendationPreferencesUtilizationPreferenceArrayOutput

func (RecommendationPreferencesUtilizationPreferenceArrayOutput) ToRecommendationPreferencesUtilizationPreferenceArrayOutputWithContext

func (o RecommendationPreferencesUtilizationPreferenceArrayOutput) ToRecommendationPreferencesUtilizationPreferenceArrayOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceArrayOutput

type RecommendationPreferencesUtilizationPreferenceInput

type RecommendationPreferencesUtilizationPreferenceInput interface {
	pulumi.Input

	ToRecommendationPreferencesUtilizationPreferenceOutput() RecommendationPreferencesUtilizationPreferenceOutput
	ToRecommendationPreferencesUtilizationPreferenceOutputWithContext(context.Context) RecommendationPreferencesUtilizationPreferenceOutput
}

RecommendationPreferencesUtilizationPreferenceInput is an input type that accepts RecommendationPreferencesUtilizationPreferenceArgs and RecommendationPreferencesUtilizationPreferenceOutput values. You can construct a concrete instance of `RecommendationPreferencesUtilizationPreferenceInput` via:

RecommendationPreferencesUtilizationPreferenceArgs{...}

type RecommendationPreferencesUtilizationPreferenceMetricParameters

type RecommendationPreferencesUtilizationPreferenceMetricParameters struct {
	// The headroom value in percentage used for the specified metric parameter. Valid values: `PERCENT_30`, `PERCENT_20`, `PERCENT_10`, `PERCENT_0`.
	Headroom string `pulumi:"headroom"`
	// The threshold value used for the specified metric parameter. You can only specify the threshold value for CPU utilization. Valid values: `P90`, `P95`, `P99_5`.
	Threshold *string `pulumi:"threshold"`
}

type RecommendationPreferencesUtilizationPreferenceMetricParametersArgs

type RecommendationPreferencesUtilizationPreferenceMetricParametersArgs struct {
	// The headroom value in percentage used for the specified metric parameter. Valid values: `PERCENT_30`, `PERCENT_20`, `PERCENT_10`, `PERCENT_0`.
	Headroom pulumi.StringInput `pulumi:"headroom"`
	// The threshold value used for the specified metric parameter. You can only specify the threshold value for CPU utilization. Valid values: `P90`, `P95`, `P99_5`.
	Threshold pulumi.StringPtrInput `pulumi:"threshold"`
}

func (RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ElementType

func (RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutput

func (RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutputWithContext

func (i RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersOutput

func (RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput

func (RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext

func (i RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput

type RecommendationPreferencesUtilizationPreferenceMetricParametersInput

type RecommendationPreferencesUtilizationPreferenceMetricParametersInput interface {
	pulumi.Input

	ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
	ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutputWithContext(context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
}

RecommendationPreferencesUtilizationPreferenceMetricParametersInput is an input type that accepts RecommendationPreferencesUtilizationPreferenceMetricParametersArgs and RecommendationPreferencesUtilizationPreferenceMetricParametersOutput values. You can construct a concrete instance of `RecommendationPreferencesUtilizationPreferenceMetricParametersInput` via:

RecommendationPreferencesUtilizationPreferenceMetricParametersArgs{...}

type RecommendationPreferencesUtilizationPreferenceMetricParametersOutput

type RecommendationPreferencesUtilizationPreferenceMetricParametersOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ElementType

func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) Headroom

The headroom value in percentage used for the specified metric parameter. Valid values: `PERCENT_30`, `PERCENT_20`, `PERCENT_10`, `PERCENT_0`.

func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) Threshold

The threshold value used for the specified metric parameter. You can only specify the threshold value for CPU utilization. Valid values: `P90`, `P95`, `P99_5`.

func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutput

func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutputWithContext

func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersOutput

func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput

func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext

func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput

type RecommendationPreferencesUtilizationPreferenceMetricParametersPtrInput

type RecommendationPreferencesUtilizationPreferenceMetricParametersPtrInput interface {
	pulumi.Input

	ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
	ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext(context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
}

RecommendationPreferencesUtilizationPreferenceMetricParametersPtrInput is an input type that accepts RecommendationPreferencesUtilizationPreferenceMetricParametersArgs, RecommendationPreferencesUtilizationPreferenceMetricParametersPtr and RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput values. You can construct a concrete instance of `RecommendationPreferencesUtilizationPreferenceMetricParametersPtrInput` via:

        RecommendationPreferencesUtilizationPreferenceMetricParametersArgs{...}

or:

        nil

type RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput

type RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) Elem

func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ElementType

func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) Headroom

The headroom value in percentage used for the specified metric parameter. Valid values: `PERCENT_30`, `PERCENT_20`, `PERCENT_10`, `PERCENT_0`.

func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) Threshold

The threshold value used for the specified metric parameter. You can only specify the threshold value for CPU utilization. Valid values: `P90`, `P95`, `P99_5`.

func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput

func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext

func (o RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput

type RecommendationPreferencesUtilizationPreferenceOutput

type RecommendationPreferencesUtilizationPreferenceOutput struct{ *pulumi.OutputState }

func (RecommendationPreferencesUtilizationPreferenceOutput) ElementType

func (RecommendationPreferencesUtilizationPreferenceOutput) MetricName

The name of the resource utilization metric name to customize. Valid values: `CpuUtilization`, `MemoryUtilization`.

func (RecommendationPreferencesUtilizationPreferenceOutput) MetricParameters

The parameters to set when customizing the resource utilization thresholds.

func (RecommendationPreferencesUtilizationPreferenceOutput) ToRecommendationPreferencesUtilizationPreferenceOutput

func (RecommendationPreferencesUtilizationPreferenceOutput) ToRecommendationPreferencesUtilizationPreferenceOutputWithContext

func (o RecommendationPreferencesUtilizationPreferenceOutput) ToRecommendationPreferencesUtilizationPreferenceOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL