Compute Optimizer

1 resource kind. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

ComputeOptimizerAutomationRule # CLOUD CONTROL · AWS::ComputeOptimizer::AutomationRule

ComputeOptimizerAutomationRule manages AWS::ComputeOptimizer::AutomationRule through the AWS Cloud Control API.

kubectl get computeoptimizerautomationrules · example on GitHub

Example

# ComputeOptimizerAutomationRule — Compute Optimizer
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/computeoptimizer.html#computeoptimizerautomationrule
apiVersion: aws.konfig.io/v1alpha1
kind: ComputeOptimizerAutomationRule
metadata:
  name: example-computeoptimizerautomationrule
  namespace: default
spec:
  criteria:
    ebsVolumeSizeInGib:
    - comparison: StringEquals
      values:
      - 1
    ebsVolumeType:
    - comparison: StringEquals
      values:
      - example
    estimatedMonthlySavings:
    - comparison: StringEquals
      values:
      - 1
    lookBackPeriodInDays:
    - comparison: StringEquals
      values:
      - 1
    region:
    - comparison: StringEquals
      values:
      - example
    resourceArn:
    - comparison: StringEquals
      values:
      - example
    resourceTag:
    - comparison: StringEquals
      key: example
      values:
      - example
    restartNeeded:
    - comparison: StringEquals
      values:
      - example
  description: Managed by konfig-konector
  name: example-computeoptimizerautomationrule
  organizationConfiguration:
    accountIds:
    - example
    ruleApplyOrder: BeforeAccountRules
  priority: example
  providerRef:
    name: example-computeoptimizerautomationrule
    region: us-east-1
  recommendedActionTypes:
  - example
  ruleType: AccountRule
  schedule:
    executionWindowInMinutes: 60
    scheduleExpression: example
    scheduleExpressionTimezone: example
  status: Active
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
criteriaobject—Filter criteria that specify which recommended actions qualify for implementation.
criteria.ebsVolumeSizeInGibarray<object>—
criteria.ebsVolumeSizeInGib[].comparisonenum—Allowed: StringEquals, StringNotEquals, StringEqualsIgnoreCase, StringNotEqualsIgnoreCase, StringLike, StringNotLike, NumericEquals, NumericNotEquals…
criteria.ebsVolumeSizeInGib[].valuesarray<integer>—
criteria.ebsVolumeTypearray<object>—
criteria.ebsVolumeType[].comparisonenum—Allowed: StringEquals, StringNotEquals, StringEqualsIgnoreCase, StringNotEqualsIgnoreCase, StringLike, StringNotLike, NumericEquals, NumericNotEquals…
criteria.ebsVolumeType[].valuesarray<string>—
criteria.estimatedMonthlySavingsarray<object>—
criteria.estimatedMonthlySavings[].comparisonenum—Allowed: StringEquals, StringNotEquals, StringEqualsIgnoreCase, StringNotEqualsIgnoreCase, StringLike, StringNotLike, NumericEquals, NumericNotEquals…
criteria.estimatedMonthlySavings[].valuesarray<number>—
criteria.lookBackPeriodInDaysarray<object>—
criteria.lookBackPeriodInDays[].comparisonenum—Allowed: StringEquals, StringNotEquals, StringEqualsIgnoreCase, StringNotEqualsIgnoreCase, StringLike, StringNotLike, NumericEquals, NumericNotEquals…
criteria.lookBackPeriodInDays[].valuesarray<integer>—
criteria.regionarray<object>—
criteria.region[].comparisonenum—Allowed: StringEquals, StringNotEquals, StringEqualsIgnoreCase, StringNotEqualsIgnoreCase, StringLike, StringNotLike, NumericEquals, NumericNotEquals…
criteria.region[].valuesarray<string>—
criteria.resourceArnarray<object>—
criteria.resourceArn[].comparisonenum—Allowed: StringEquals, StringNotEquals, StringEqualsIgnoreCase, StringNotEqualsIgnoreCase, StringLike, StringNotLike, NumericEquals, NumericNotEquals…
criteria.resourceArn[].valuesarray<string>—
criteria.resourceTagarray<object>—
criteria.resourceTag[].comparisonenum—Allowed: StringEquals, StringNotEquals, StringEqualsIgnoreCase, StringNotEqualsIgnoreCase, StringLike, StringNotLike, NumericEquals, NumericNotEquals…
criteria.resourceTag[].keystring—
criteria.resourceTag[].valuesarray<string>—
criteria.restartNeededarray<object>—
criteria.restartNeeded[].comparisonenum—Allowed: StringEquals, StringNotEquals, StringEqualsIgnoreCase, StringNotEqualsIgnoreCase, StringLike, StringNotLike, NumericEquals, NumericNotEquals…
criteria.restartNeeded[].valuesarray<string>—
descriptionstring—The description of the automation rule.
namestringyesThe name of the automation rule.
organizationConfigurationobject—Organization configuration for organization rules, including rule apply order and account scope.
organizationConfiguration.accountIdsarray<string>—List of account IDs where the organization rule applies
organizationConfiguration.ruleApplyOrderenum—When the rule should be applied relative to account rules Allowed: BeforeAccountRules, AfterAccountRules
prioritystring—Rule priority within its group
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
recommendedActionTypesarray<string>yesThe types of recommended actions this rule will implement.
ruleTypeenumyesThe type of automation rule. Allowed: AccountRule, OrganizationRule
scheduleobjectyesThe schedule configuration for when the rule runs.
schedule.executionWindowInMinutesinteger—Execution window duration in minutes
schedule.scheduleExpressionstring—Schedule expression (e.g., cron or rate expression)
schedule.scheduleExpressionTimezonestring—IANA timezone identifier
statusenumyesThe status of the automation rule. Allowed: Active, Inactive
tagsarray<object>—Tags associated with the automation rule.
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
accountIdstring—The AWS account ID that owns the automation rule.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
createdTimestampstring—The timestamp when the automation rule was created.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
lastUpdatedTimestampstring—The timestamp when the automation rule was last updated.
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.
ruleArnstring—The Amazon Resource Name (ARN) of the automation rule.
ruleIdstring—The unique identifier of the automation rule.
ruleRevisionstring—The revision number of the automation rule.