Documentation ¶
Index ¶
- type EnrollmentStatus
- type EnrollmentStatusArgs
- type EnrollmentStatusArray
- type EnrollmentStatusArrayInput
- type EnrollmentStatusArrayOutput
- func (EnrollmentStatusArrayOutput) ElementType() reflect.Type
- func (o EnrollmentStatusArrayOutput) Index(i pulumi.IntInput) EnrollmentStatusOutput
- func (o EnrollmentStatusArrayOutput) ToEnrollmentStatusArrayOutput() EnrollmentStatusArrayOutput
- func (o EnrollmentStatusArrayOutput) ToEnrollmentStatusArrayOutputWithContext(ctx context.Context) EnrollmentStatusArrayOutput
- type EnrollmentStatusInput
- type EnrollmentStatusMap
- type EnrollmentStatusMapInput
- type EnrollmentStatusMapOutput
- func (EnrollmentStatusMapOutput) ElementType() reflect.Type
- func (o EnrollmentStatusMapOutput) MapIndex(k pulumi.StringInput) EnrollmentStatusOutput
- func (o EnrollmentStatusMapOutput) ToEnrollmentStatusMapOutput() EnrollmentStatusMapOutput
- func (o EnrollmentStatusMapOutput) ToEnrollmentStatusMapOutputWithContext(ctx context.Context) EnrollmentStatusMapOutput
- type EnrollmentStatusOutput
- func (EnrollmentStatusOutput) ElementType() reflect.Type
- func (o EnrollmentStatusOutput) IncludeMemberAccounts() pulumi.BoolOutput
- func (o EnrollmentStatusOutput) NumberOfMemberAccountsOptedIn() pulumi.IntOutput
- func (o EnrollmentStatusOutput) Status() pulumi.StringOutput
- func (o EnrollmentStatusOutput) Timeouts() EnrollmentStatusTimeoutsPtrOutput
- func (o EnrollmentStatusOutput) ToEnrollmentStatusOutput() EnrollmentStatusOutput
- func (o EnrollmentStatusOutput) ToEnrollmentStatusOutputWithContext(ctx context.Context) EnrollmentStatusOutput
- type EnrollmentStatusState
- type EnrollmentStatusTimeouts
- type EnrollmentStatusTimeoutsArgs
- func (EnrollmentStatusTimeoutsArgs) ElementType() reflect.Type
- func (i EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsOutput() EnrollmentStatusTimeoutsOutput
- func (i EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsOutputWithContext(ctx context.Context) EnrollmentStatusTimeoutsOutput
- func (i EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsPtrOutput() EnrollmentStatusTimeoutsPtrOutput
- func (i EnrollmentStatusTimeoutsArgs) ToEnrollmentStatusTimeoutsPtrOutputWithContext(ctx context.Context) EnrollmentStatusTimeoutsPtrOutput
- type EnrollmentStatusTimeoutsInput
- type EnrollmentStatusTimeoutsOutput
- func (o EnrollmentStatusTimeoutsOutput) Create() pulumi.StringPtrOutput
- func (EnrollmentStatusTimeoutsOutput) ElementType() reflect.Type
- func (o EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsOutput() EnrollmentStatusTimeoutsOutput
- func (o EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsOutputWithContext(ctx context.Context) EnrollmentStatusTimeoutsOutput
- func (o EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsPtrOutput() EnrollmentStatusTimeoutsPtrOutput
- func (o EnrollmentStatusTimeoutsOutput) ToEnrollmentStatusTimeoutsPtrOutputWithContext(ctx context.Context) EnrollmentStatusTimeoutsPtrOutput
- func (o EnrollmentStatusTimeoutsOutput) Update() pulumi.StringPtrOutput
- type EnrollmentStatusTimeoutsPtrInput
- type EnrollmentStatusTimeoutsPtrOutput
- func (o EnrollmentStatusTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
- func (o EnrollmentStatusTimeoutsPtrOutput) Elem() EnrollmentStatusTimeoutsOutput
- func (EnrollmentStatusTimeoutsPtrOutput) ElementType() reflect.Type
- func (o EnrollmentStatusTimeoutsPtrOutput) ToEnrollmentStatusTimeoutsPtrOutput() EnrollmentStatusTimeoutsPtrOutput
- func (o EnrollmentStatusTimeoutsPtrOutput) ToEnrollmentStatusTimeoutsPtrOutputWithContext(ctx context.Context) EnrollmentStatusTimeoutsPtrOutput
- func (o EnrollmentStatusTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
- type RecommendationPreferences
- type RecommendationPreferencesArgs
- type RecommendationPreferencesArray
- func (RecommendationPreferencesArray) ElementType() reflect.Type
- func (i RecommendationPreferencesArray) ToRecommendationPreferencesArrayOutput() RecommendationPreferencesArrayOutput
- func (i RecommendationPreferencesArray) ToRecommendationPreferencesArrayOutputWithContext(ctx context.Context) RecommendationPreferencesArrayOutput
- type RecommendationPreferencesArrayInput
- type RecommendationPreferencesArrayOutput
- func (RecommendationPreferencesArrayOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesArrayOutput) Index(i pulumi.IntInput) RecommendationPreferencesOutput
- func (o RecommendationPreferencesArrayOutput) ToRecommendationPreferencesArrayOutput() RecommendationPreferencesArrayOutput
- func (o RecommendationPreferencesArrayOutput) ToRecommendationPreferencesArrayOutputWithContext(ctx context.Context) RecommendationPreferencesArrayOutput
- type RecommendationPreferencesExternalMetricsPreference
- type RecommendationPreferencesExternalMetricsPreferenceArgs
- func (RecommendationPreferencesExternalMetricsPreferenceArgs) ElementType() reflect.Type
- func (i RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferenceOutput() RecommendationPreferencesExternalMetricsPreferenceOutput
- func (i RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferenceOutputWithContext(ctx context.Context) RecommendationPreferencesExternalMetricsPreferenceOutput
- func (i RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferencePtrOutput() RecommendationPreferencesExternalMetricsPreferencePtrOutput
- func (i RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferencePtrOutputWithContext(ctx context.Context) RecommendationPreferencesExternalMetricsPreferencePtrOutput
- type RecommendationPreferencesExternalMetricsPreferenceInput
- type RecommendationPreferencesExternalMetricsPreferenceOutput
- func (RecommendationPreferencesExternalMetricsPreferenceOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesExternalMetricsPreferenceOutput) Source() pulumi.StringOutput
- func (o RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferenceOutput() RecommendationPreferencesExternalMetricsPreferenceOutput
- func (o RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferenceOutputWithContext(ctx context.Context) RecommendationPreferencesExternalMetricsPreferenceOutput
- func (o RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutput() RecommendationPreferencesExternalMetricsPreferencePtrOutput
- func (o RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutputWithContext(ctx context.Context) RecommendationPreferencesExternalMetricsPreferencePtrOutput
- type RecommendationPreferencesExternalMetricsPreferencePtrInput
- type RecommendationPreferencesExternalMetricsPreferencePtrOutput
- func (o RecommendationPreferencesExternalMetricsPreferencePtrOutput) Elem() RecommendationPreferencesExternalMetricsPreferenceOutput
- func (RecommendationPreferencesExternalMetricsPreferencePtrOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesExternalMetricsPreferencePtrOutput) Source() pulumi.StringPtrOutput
- func (o RecommendationPreferencesExternalMetricsPreferencePtrOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutput() RecommendationPreferencesExternalMetricsPreferencePtrOutput
- func (o RecommendationPreferencesExternalMetricsPreferencePtrOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutputWithContext(ctx context.Context) RecommendationPreferencesExternalMetricsPreferencePtrOutput
- type RecommendationPreferencesInput
- type RecommendationPreferencesMap
- func (RecommendationPreferencesMap) ElementType() reflect.Type
- func (i RecommendationPreferencesMap) ToRecommendationPreferencesMapOutput() RecommendationPreferencesMapOutput
- func (i RecommendationPreferencesMap) ToRecommendationPreferencesMapOutputWithContext(ctx context.Context) RecommendationPreferencesMapOutput
- type RecommendationPreferencesMapInput
- type RecommendationPreferencesMapOutput
- func (RecommendationPreferencesMapOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesMapOutput) MapIndex(k pulumi.StringInput) RecommendationPreferencesOutput
- func (o RecommendationPreferencesMapOutput) ToRecommendationPreferencesMapOutput() RecommendationPreferencesMapOutput
- func (o RecommendationPreferencesMapOutput) ToRecommendationPreferencesMapOutputWithContext(ctx context.Context) RecommendationPreferencesMapOutput
- type RecommendationPreferencesOutput
- func (RecommendationPreferencesOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesOutput) EnhancedInfrastructureMetrics() pulumi.StringPtrOutput
- func (o RecommendationPreferencesOutput) ExternalMetricsPreference() RecommendationPreferencesExternalMetricsPreferencePtrOutput
- func (o RecommendationPreferencesOutput) InferredWorkloadTypes() pulumi.StringPtrOutput
- func (o RecommendationPreferencesOutput) LookBackPeriod() pulumi.StringOutput
- func (o RecommendationPreferencesOutput) PreferredResources() RecommendationPreferencesPreferredResourceArrayOutput
- func (o RecommendationPreferencesOutput) ResourceType() pulumi.StringOutput
- func (o RecommendationPreferencesOutput) SavingsEstimationMode() pulumi.StringPtrOutput
- func (o RecommendationPreferencesOutput) Scope() RecommendationPreferencesScopePtrOutput
- func (o RecommendationPreferencesOutput) ToRecommendationPreferencesOutput() RecommendationPreferencesOutput
- func (o RecommendationPreferencesOutput) ToRecommendationPreferencesOutputWithContext(ctx context.Context) RecommendationPreferencesOutput
- func (o RecommendationPreferencesOutput) UtilizationPreferences() RecommendationPreferencesUtilizationPreferenceArrayOutput
- type RecommendationPreferencesPreferredResource
- type RecommendationPreferencesPreferredResourceArgs
- func (RecommendationPreferencesPreferredResourceArgs) ElementType() reflect.Type
- func (i RecommendationPreferencesPreferredResourceArgs) ToRecommendationPreferencesPreferredResourceOutput() RecommendationPreferencesPreferredResourceOutput
- func (i RecommendationPreferencesPreferredResourceArgs) ToRecommendationPreferencesPreferredResourceOutputWithContext(ctx context.Context) RecommendationPreferencesPreferredResourceOutput
- type RecommendationPreferencesPreferredResourceArray
- func (RecommendationPreferencesPreferredResourceArray) ElementType() reflect.Type
- func (i RecommendationPreferencesPreferredResourceArray) ToRecommendationPreferencesPreferredResourceArrayOutput() RecommendationPreferencesPreferredResourceArrayOutput
- func (i RecommendationPreferencesPreferredResourceArray) ToRecommendationPreferencesPreferredResourceArrayOutputWithContext(ctx context.Context) RecommendationPreferencesPreferredResourceArrayOutput
- type RecommendationPreferencesPreferredResourceArrayInput
- type RecommendationPreferencesPreferredResourceArrayOutput
- func (RecommendationPreferencesPreferredResourceArrayOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesPreferredResourceArrayOutput) Index(i pulumi.IntInput) RecommendationPreferencesPreferredResourceOutput
- func (o RecommendationPreferencesPreferredResourceArrayOutput) ToRecommendationPreferencesPreferredResourceArrayOutput() RecommendationPreferencesPreferredResourceArrayOutput
- func (o RecommendationPreferencesPreferredResourceArrayOutput) ToRecommendationPreferencesPreferredResourceArrayOutputWithContext(ctx context.Context) RecommendationPreferencesPreferredResourceArrayOutput
- type RecommendationPreferencesPreferredResourceInput
- type RecommendationPreferencesPreferredResourceOutput
- func (RecommendationPreferencesPreferredResourceOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesPreferredResourceOutput) ExcludeLists() pulumi.StringArrayOutput
- func (o RecommendationPreferencesPreferredResourceOutput) IncludeLists() pulumi.StringArrayOutput
- func (o RecommendationPreferencesPreferredResourceOutput) Name() pulumi.StringOutput
- func (o RecommendationPreferencesPreferredResourceOutput) ToRecommendationPreferencesPreferredResourceOutput() RecommendationPreferencesPreferredResourceOutput
- func (o RecommendationPreferencesPreferredResourceOutput) ToRecommendationPreferencesPreferredResourceOutputWithContext(ctx context.Context) RecommendationPreferencesPreferredResourceOutput
- type RecommendationPreferencesScope
- type RecommendationPreferencesScopeArgs
- func (RecommendationPreferencesScopeArgs) ElementType() reflect.Type
- func (i RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopeOutput() RecommendationPreferencesScopeOutput
- func (i RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopeOutputWithContext(ctx context.Context) RecommendationPreferencesScopeOutput
- func (i RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopePtrOutput() RecommendationPreferencesScopePtrOutput
- func (i RecommendationPreferencesScopeArgs) ToRecommendationPreferencesScopePtrOutputWithContext(ctx context.Context) RecommendationPreferencesScopePtrOutput
- type RecommendationPreferencesScopeInput
- type RecommendationPreferencesScopeOutput
- func (RecommendationPreferencesScopeOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesScopeOutput) Name() pulumi.StringOutput
- func (o RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopeOutput() RecommendationPreferencesScopeOutput
- func (o RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopeOutputWithContext(ctx context.Context) RecommendationPreferencesScopeOutput
- func (o RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopePtrOutput() RecommendationPreferencesScopePtrOutput
- func (o RecommendationPreferencesScopeOutput) ToRecommendationPreferencesScopePtrOutputWithContext(ctx context.Context) RecommendationPreferencesScopePtrOutput
- func (o RecommendationPreferencesScopeOutput) Value() pulumi.StringOutput
- type RecommendationPreferencesScopePtrInput
- type RecommendationPreferencesScopePtrOutput
- func (o RecommendationPreferencesScopePtrOutput) Elem() RecommendationPreferencesScopeOutput
- func (RecommendationPreferencesScopePtrOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesScopePtrOutput) Name() pulumi.StringPtrOutput
- func (o RecommendationPreferencesScopePtrOutput) ToRecommendationPreferencesScopePtrOutput() RecommendationPreferencesScopePtrOutput
- func (o RecommendationPreferencesScopePtrOutput) ToRecommendationPreferencesScopePtrOutputWithContext(ctx context.Context) RecommendationPreferencesScopePtrOutput
- func (o RecommendationPreferencesScopePtrOutput) Value() pulumi.StringPtrOutput
- type RecommendationPreferencesState
- type RecommendationPreferencesUtilizationPreference
- type RecommendationPreferencesUtilizationPreferenceArgs
- func (RecommendationPreferencesUtilizationPreferenceArgs) ElementType() reflect.Type
- func (i RecommendationPreferencesUtilizationPreferenceArgs) ToRecommendationPreferencesUtilizationPreferenceOutput() RecommendationPreferencesUtilizationPreferenceOutput
- func (i RecommendationPreferencesUtilizationPreferenceArgs) ToRecommendationPreferencesUtilizationPreferenceOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceOutput
- type RecommendationPreferencesUtilizationPreferenceArray
- func (RecommendationPreferencesUtilizationPreferenceArray) ElementType() reflect.Type
- func (i RecommendationPreferencesUtilizationPreferenceArray) ToRecommendationPreferencesUtilizationPreferenceArrayOutput() RecommendationPreferencesUtilizationPreferenceArrayOutput
- func (i RecommendationPreferencesUtilizationPreferenceArray) ToRecommendationPreferencesUtilizationPreferenceArrayOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceArrayOutput
- type RecommendationPreferencesUtilizationPreferenceArrayInput
- type RecommendationPreferencesUtilizationPreferenceArrayOutput
- func (RecommendationPreferencesUtilizationPreferenceArrayOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesUtilizationPreferenceArrayOutput) Index(i pulumi.IntInput) RecommendationPreferencesUtilizationPreferenceOutput
- func (o RecommendationPreferencesUtilizationPreferenceArrayOutput) ToRecommendationPreferencesUtilizationPreferenceArrayOutput() RecommendationPreferencesUtilizationPreferenceArrayOutput
- func (o RecommendationPreferencesUtilizationPreferenceArrayOutput) ToRecommendationPreferencesUtilizationPreferenceArrayOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceArrayOutput
- type RecommendationPreferencesUtilizationPreferenceInput
- type RecommendationPreferencesUtilizationPreferenceMetricParameters
- type RecommendationPreferencesUtilizationPreferenceMetricParametersArgs
- func (RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ElementType() reflect.Type
- func (i RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
- func (i RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
- func (i RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
- func (i RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
- type RecommendationPreferencesUtilizationPreferenceMetricParametersInput
- type RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
- func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) Headroom() pulumi.StringOutput
- func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) Threshold() pulumi.StringPtrOutput
- func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
- func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
- func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
- func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
- type RecommendationPreferencesUtilizationPreferenceMetricParametersPtrInput
- type RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
- func (o RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) Elem() RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
- func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) Headroom() pulumi.StringPtrOutput
- func (o RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) Threshold() pulumi.StringPtrOutput
- func (o RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
- func (o RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
- type RecommendationPreferencesUtilizationPreferenceOutput
- func (RecommendationPreferencesUtilizationPreferenceOutput) ElementType() reflect.Type
- func (o RecommendationPreferencesUtilizationPreferenceOutput) MetricName() pulumi.StringOutput
- func (o RecommendationPreferencesUtilizationPreferenceOutput) MetricParameters() RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
- func (o RecommendationPreferencesUtilizationPreferenceOutput) ToRecommendationPreferencesUtilizationPreferenceOutput() RecommendationPreferencesUtilizationPreferenceOutput
- func (o RecommendationPreferencesUtilizationPreferenceOutput) ToRecommendationPreferencesUtilizationPreferenceOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceOutput
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) ElementType() reflect.Type
func (EnrollmentStatusArrayOutput) Index ¶
func (o EnrollmentStatusArrayOutput) Index(i pulumi.IntInput) EnrollmentStatusOutput
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 (o EnrollmentStatusMapOutput) MapIndex(k pulumi.StringInput) EnrollmentStatusOutput
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 ¶
func (o EnrollmentStatusOutput) Status() pulumi.StringOutput
The enrollment status of the account. Valid values: `Active`, `Inactive`.
func (EnrollmentStatusOutput) Timeouts ¶
func (o EnrollmentStatusOutput) Timeouts() EnrollmentStatusTimeoutsPtrOutput
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) ElementType() reflect.Type
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 ¶
func (o EnrollmentStatusTimeoutsOutput) Create() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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 ¶
func (o EnrollmentStatusTimeoutsOutput) Update() pulumi.StringPtrOutput
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
func EnrollmentStatusTimeoutsPtr ¶
func EnrollmentStatusTimeoutsPtr(v *EnrollmentStatusTimeoutsArgs) EnrollmentStatusTimeoutsPtrInput
type EnrollmentStatusTimeoutsPtrOutput ¶
type EnrollmentStatusTimeoutsPtrOutput struct{ *pulumi.OutputState }
func (EnrollmentStatusTimeoutsPtrOutput) Create ¶
func (o EnrollmentStatusTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
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 (o EnrollmentStatusTimeoutsPtrOutput) Elem() EnrollmentStatusTimeoutsOutput
func (EnrollmentStatusTimeoutsPtrOutput) ElementType ¶
func (EnrollmentStatusTimeoutsPtrOutput) ElementType() reflect.Type
func (EnrollmentStatusTimeoutsPtrOutput) ToEnrollmentStatusTimeoutsPtrOutput ¶
func (o EnrollmentStatusTimeoutsPtrOutput) ToEnrollmentStatusTimeoutsPtrOutput() EnrollmentStatusTimeoutsPtrOutput
func (EnrollmentStatusTimeoutsPtrOutput) ToEnrollmentStatusTimeoutsPtrOutputWithContext ¶
func (o EnrollmentStatusTimeoutsPtrOutput) ToEnrollmentStatusTimeoutsPtrOutputWithContext(ctx context.Context) EnrollmentStatusTimeoutsPtrOutput
func (EnrollmentStatusTimeoutsPtrOutput) Update ¶
func (o EnrollmentStatusTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
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 ¶
func (RecommendationPreferencesArgs) ElementType() reflect.Type
type RecommendationPreferencesArray ¶
type RecommendationPreferencesArray []RecommendationPreferencesInput
func (RecommendationPreferencesArray) ElementType ¶
func (RecommendationPreferencesArray) ElementType() reflect.Type
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) ElementType() reflect.Type
func (RecommendationPreferencesArrayOutput) Index ¶
func (o RecommendationPreferencesArrayOutput) Index(i pulumi.IntInput) RecommendationPreferencesOutput
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) ElementType() reflect.Type
func (RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferenceOutput ¶
func (i RecommendationPreferencesExternalMetricsPreferenceArgs) ToRecommendationPreferencesExternalMetricsPreferenceOutput() RecommendationPreferencesExternalMetricsPreferenceOutput
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) ElementType() reflect.Type
func (RecommendationPreferencesExternalMetricsPreferenceOutput) Source ¶
func (o RecommendationPreferencesExternalMetricsPreferenceOutput) Source() pulumi.StringOutput
The source options for external metrics preferences. Valid values: `Datadog`, `Dynatrace`, `NewRelic`, `Instana`.
func (RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferenceOutput ¶
func (o RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferenceOutput() RecommendationPreferencesExternalMetricsPreferenceOutput
func (RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferenceOutputWithContext ¶
func (o RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferenceOutputWithContext(ctx context.Context) RecommendationPreferencesExternalMetricsPreferenceOutput
func (RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutput ¶
func (o RecommendationPreferencesExternalMetricsPreferenceOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutput() RecommendationPreferencesExternalMetricsPreferencePtrOutput
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
func RecommendationPreferencesExternalMetricsPreferencePtr ¶
func RecommendationPreferencesExternalMetricsPreferencePtr(v *RecommendationPreferencesExternalMetricsPreferenceArgs) RecommendationPreferencesExternalMetricsPreferencePtrInput
type RecommendationPreferencesExternalMetricsPreferencePtrOutput ¶
type RecommendationPreferencesExternalMetricsPreferencePtrOutput struct{ *pulumi.OutputState }
func (RecommendationPreferencesExternalMetricsPreferencePtrOutput) ElementType ¶
func (RecommendationPreferencesExternalMetricsPreferencePtrOutput) ElementType() reflect.Type
func (RecommendationPreferencesExternalMetricsPreferencePtrOutput) Source ¶
func (o RecommendationPreferencesExternalMetricsPreferencePtrOutput) Source() pulumi.StringPtrOutput
The source options for external metrics preferences. Valid values: `Datadog`, `Dynatrace`, `NewRelic`, `Instana`.
func (RecommendationPreferencesExternalMetricsPreferencePtrOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutput ¶
func (o RecommendationPreferencesExternalMetricsPreferencePtrOutput) ToRecommendationPreferencesExternalMetricsPreferencePtrOutput() RecommendationPreferencesExternalMetricsPreferencePtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (RecommendationPreferencesMapOutput) MapIndex ¶
func (o RecommendationPreferencesMapOutput) MapIndex(k pulumi.StringInput) RecommendationPreferencesOutput
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) ElementType() reflect.Type
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 ¶
func (o RecommendationPreferencesOutput) ExternalMetricsPreference() RecommendationPreferencesExternalMetricsPreferencePtrOutput
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 ¶
func (o RecommendationPreferencesOutput) LookBackPeriod() pulumi.StringOutput
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 ¶
func (o RecommendationPreferencesOutput) PreferredResources() RecommendationPreferencesPreferredResourceArrayOutput
The preference to control which resource type values are considered when generating rightsizing recommendations. See Preferred Resources below.
func (RecommendationPreferencesOutput) ResourceType ¶
func (o RecommendationPreferencesOutput) ResourceType() pulumi.StringOutput
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 ¶
func (o RecommendationPreferencesOutput) Scope() RecommendationPreferencesScopePtrOutput
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 ¶
func (o RecommendationPreferencesOutput) UtilizationPreferences() RecommendationPreferencesUtilizationPreferenceArrayOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (RecommendationPreferencesPreferredResourceArrayOutput) ToRecommendationPreferencesPreferredResourceArrayOutput ¶
func (o RecommendationPreferencesPreferredResourceArrayOutput) ToRecommendationPreferencesPreferredResourceArrayOutput() RecommendationPreferencesPreferredResourceArrayOutput
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) ElementType() reflect.Type
func (RecommendationPreferencesPreferredResourceOutput) ExcludeLists ¶
func (o RecommendationPreferencesPreferredResourceOutput) ExcludeLists() pulumi.StringArrayOutput
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 ¶
func (o RecommendationPreferencesPreferredResourceOutput) IncludeLists() pulumi.StringArrayOutput
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 (o RecommendationPreferencesPreferredResourceOutput) Name() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (RecommendationPreferencesScopeOutput) Name ¶
func (o RecommendationPreferencesScopeOutput) Name() pulumi.StringOutput
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 ¶
func (o RecommendationPreferencesScopeOutput) Value() pulumi.StringOutput
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
func RecommendationPreferencesScopePtr ¶
func RecommendationPreferencesScopePtr(v *RecommendationPreferencesScopeArgs) RecommendationPreferencesScopePtrInput
type RecommendationPreferencesScopePtrOutput ¶
type RecommendationPreferencesScopePtrOutput struct{ *pulumi.OutputState }
func (RecommendationPreferencesScopePtrOutput) ElementType ¶
func (RecommendationPreferencesScopePtrOutput) ElementType() reflect.Type
func (RecommendationPreferencesScopePtrOutput) Name ¶
func (o RecommendationPreferencesScopePtrOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o RecommendationPreferencesScopePtrOutput) Value() pulumi.StringPtrOutput
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 ¶
func (RecommendationPreferencesState) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (RecommendationPreferencesUtilizationPreferenceArrayOutput) ToRecommendationPreferencesUtilizationPreferenceArrayOutput ¶
func (o RecommendationPreferencesUtilizationPreferenceArrayOutput) ToRecommendationPreferencesUtilizationPreferenceArrayOutput() RecommendationPreferencesUtilizationPreferenceArrayOutput
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) ElementType() reflect.Type
func (RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutput ¶
func (i RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
func (RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutputWithContext ¶
func (i RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
func (RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput ¶
func (i RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
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) ElementType() reflect.Type
func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) Headroom ¶
func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) Headroom() pulumi.StringOutput
The headroom value in percentage used for the specified metric parameter. Valid values: `PERCENT_30`, `PERCENT_20`, `PERCENT_10`, `PERCENT_0`.
func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) Threshold ¶
func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) Threshold() pulumi.StringPtrOutput
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 (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutputWithContext ¶
func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersOutput
func (RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput ¶
func (o RecommendationPreferencesUtilizationPreferenceMetricParametersOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
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
func RecommendationPreferencesUtilizationPreferenceMetricParametersPtr ¶
func RecommendationPreferencesUtilizationPreferenceMetricParametersPtr(v *RecommendationPreferencesUtilizationPreferenceMetricParametersArgs) RecommendationPreferencesUtilizationPreferenceMetricParametersPtrInput
type RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput ¶
type RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput struct{ *pulumi.OutputState }
func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ElementType ¶
func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ElementType() reflect.Type
func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) Headroom ¶
func (o RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) Headroom() pulumi.StringPtrOutput
The headroom value in percentage used for the specified metric parameter. Valid values: `PERCENT_30`, `PERCENT_20`, `PERCENT_10`, `PERCENT_0`.
func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) Threshold ¶
func (o RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) Threshold() pulumi.StringPtrOutput
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 (o RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput() RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
func (RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext ¶
func (o RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput) ToRecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
type RecommendationPreferencesUtilizationPreferenceOutput ¶
type RecommendationPreferencesUtilizationPreferenceOutput struct{ *pulumi.OutputState }
func (RecommendationPreferencesUtilizationPreferenceOutput) ElementType ¶
func (RecommendationPreferencesUtilizationPreferenceOutput) ElementType() reflect.Type
func (RecommendationPreferencesUtilizationPreferenceOutput) MetricName ¶
func (o RecommendationPreferencesUtilizationPreferenceOutput) MetricName() pulumi.StringOutput
The name of the resource utilization metric name to customize. Valid values: `CpuUtilization`, `MemoryUtilization`.
func (RecommendationPreferencesUtilizationPreferenceOutput) MetricParameters ¶
func (o RecommendationPreferencesUtilizationPreferenceOutput) MetricParameters() RecommendationPreferencesUtilizationPreferenceMetricParametersPtrOutput
The parameters to set when customizing the resource utilization thresholds.
func (RecommendationPreferencesUtilizationPreferenceOutput) ToRecommendationPreferencesUtilizationPreferenceOutput ¶
func (o RecommendationPreferencesUtilizationPreferenceOutput) ToRecommendationPreferencesUtilizationPreferenceOutput() RecommendationPreferencesUtilizationPreferenceOutput
func (RecommendationPreferencesUtilizationPreferenceOutput) ToRecommendationPreferencesUtilizationPreferenceOutputWithContext ¶
func (o RecommendationPreferencesUtilizationPreferenceOutput) ToRecommendationPreferencesUtilizationPreferenceOutputWithContext(ctx context.Context) RecommendationPreferencesUtilizationPreferenceOutput