agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
{
"targets": {
"java": {
"package": "software.amazon.awscdk.services.computeoptimizer"
},
"dotnet": {
"namespace": "Amazon.CDK.AWS.ComputeOptimizer"
},
"python": {
"module": "aws_cdk.aws_computeoptimizer"
}
}
}

View File

@@ -0,0 +1,39 @@
# AWS::ComputeOptimizer Construct Library
<!--BEGIN STABILITY BANNER-->
---
![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use.
>
> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib
---
<!--END STABILITY BANNER-->
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
```ts nofixture
import * as computeoptimizer from 'aws-cdk-lib/aws-computeoptimizer';
```
<!--BEGIN CFNONLY DISCLAIMER-->
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
- Search [Construct Hub for ComputeOptimizer construct libraries](https://constructs.dev/search?q=computeoptimizer)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::ComputeOptimizer resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ComputeOptimizer.html) directly.
<!--BEGIN CFNONLY DISCLAIMER-->
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::ComputeOptimizer](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ComputeOptimizer.html).
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
<!--END CFNONLY DISCLAIMER-->

View File

@@ -0,0 +1 @@
export * from './lib';

View File

@@ -0,0 +1 @@
"use strict";var __createBinding=exports&&exports.__createBinding||(Object.create?(function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}):(function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]})),__exportStar=exports&&exports.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0});var _noFold;exports.CfnAutomationRule=void 0,Object.defineProperty(exports,_noFold="CfnAutomationRule",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").CfnAutomationRule;return Object.defineProperty(exports,_noFold="CfnAutomationRule",{enumerable:!0,configurable:!0,value}),value}});

View File

@@ -0,0 +1,397 @@
import * as cdk from "../../core/lib";
import * as constructs from "constructs";
import * as cfn_parse from "../../core/lib/helpers-internal";
import { AutomationRuleReference, IAutomationRuleRef } from "../../interfaces/generated/aws-computeoptimizer-interfaces.generated";
/**
* Creates an AWS Compute Optimizer automation rule that automatically implements recommended actions based on your defined criteria and schedule.
*
* Automation rules are global resources that manage automated actions across all AWS Regions where Compute Optimizer Automation is available. Organization-level rules can only be created by the management account or delegated administrator.
*
* @cloudformationResource AWS::ComputeOptimizer::AutomationRule
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html
*/
export declare class CfnAutomationRule extends cdk.CfnResource implements cdk.IInspectable, IAutomationRuleRef, cdk.ITaggableV2 {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnAutomationRule from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnAutomationRule;
/**
* Checks whether the given object is a CfnAutomationRule
*/
static isCfnAutomationRule(x: any): x is CfnAutomationRule;
/**
* Tag Manager which manages the tags for this resource
*/
readonly cdkTagManager: cdk.TagManager;
private _criteria?;
/**
* The description of the automation rule.
*/
private _description?;
/**
* The name of the automation rule.
*/
private _name;
private _organizationConfiguration?;
/**
* Rule priority within its group.
*/
private _priority?;
/**
* The types of recommended actions this rule will implement.
*/
private _recommendedActionTypes;
/**
* The type of automation rule.
*/
private _ruleType;
private _schedule;
/**
* The status of the automation rule.
*/
private _status;
/**
* Tags associated with the automation rule.
*/
private _tags?;
protected readonly cfnPropertyNames: Record<string, string>;
/**
* Create a new `AWS::ComputeOptimizer::AutomationRule`.
*
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnAutomationRuleProps);
get automationRuleRef(): AutomationRuleReference;
get criteria(): CfnAutomationRule.CriteriaProperty | cdk.IResolvable | undefined;
set criteria(value: CfnAutomationRule.CriteriaProperty | cdk.IResolvable | undefined);
/**
* The description of the automation rule.
*/
get description(): string | undefined;
/**
* The description of the automation rule.
*/
set description(value: string | undefined);
/**
* The name of the automation rule.
*/
get name(): string;
/**
* The name of the automation rule.
*/
set name(value: string);
get organizationConfiguration(): cdk.IResolvable | CfnAutomationRule.OrganizationConfigurationProperty | undefined;
set organizationConfiguration(value: cdk.IResolvable | CfnAutomationRule.OrganizationConfigurationProperty | undefined);
/**
* Rule priority within its group.
*/
get priority(): string | undefined;
/**
* Rule priority within its group.
*/
set priority(value: string | undefined);
/**
* The types of recommended actions this rule will implement.
*/
get recommendedActionTypes(): Array<string>;
/**
* The types of recommended actions this rule will implement.
*/
set recommendedActionTypes(value: Array<string>);
/**
* The type of automation rule.
*/
get ruleType(): string;
/**
* The type of automation rule.
*/
set ruleType(value: string);
get schedule(): cdk.IResolvable | CfnAutomationRule.ScheduleProperty;
set schedule(value: cdk.IResolvable | CfnAutomationRule.ScheduleProperty);
/**
* The status of the automation rule.
*/
get status(): string;
/**
* The status of the automation rule.
*/
set status(value: string);
/**
* Tags associated with the automation rule.
*/
get tags(): Array<cdk.CfnTag> | undefined;
/**
* Tags associated with the automation rule.
*/
set tags(value: Array<cdk.CfnTag> | undefined);
/**
* The AWS account ID that owns the automation rule.
*
* @cloudformationAttribute AccountId
*/
get attrAccountId(): string;
/**
* The timestamp when the automation rule was created.
*
* @cloudformationAttribute CreatedTimestamp
*/
get attrCreatedTimestamp(): string;
/**
* The timestamp when the automation rule was last updated.
*
* @cloudformationAttribute LastUpdatedTimestamp
*/
get attrLastUpdatedTimestamp(): string;
/**
* The Amazon Resource Name (ARN) of the automation rule.
*
* @cloudformationAttribute RuleArn
*/
get attrRuleArn(): string;
/**
* The unique identifier of the automation rule.
*
* @cloudformationAttribute RuleId
*/
get attrRuleId(): string;
/**
* The revision number of the automation rule.
*
* @cloudformationAttribute RuleRevision
*/
get attrRuleRevision(): string;
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
export declare namespace CfnAutomationRule {
/**
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-organizationconfiguration.html
*/
interface OrganizationConfigurationProperty {
/**
* List of account IDs where the organization rule applies.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-organizationconfiguration.html#cfn-computeoptimizer-automationrule-organizationconfiguration-accountids
*/
readonly accountIds?: Array<string>;
/**
* When the rule should be applied relative to account rules.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-organizationconfiguration.html#cfn-computeoptimizer-automationrule-organizationconfiguration-ruleapplyorder
*/
readonly ruleApplyOrder?: string;
}
/**
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-schedule.html
*/
interface ScheduleProperty {
/**
* Execution window duration in minutes.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-schedule.html#cfn-computeoptimizer-automationrule-schedule-executionwindowinminutes
*/
readonly executionWindowInMinutes?: number;
/**
* Schedule expression (e.g., cron or rate expression).
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-schedule.html#cfn-computeoptimizer-automationrule-schedule-scheduleexpression
*/
readonly scheduleExpression?: string;
/**
* IANA timezone identifier.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-schedule.html#cfn-computeoptimizer-automationrule-schedule-scheduleexpressiontimezone
*/
readonly scheduleExpressionTimezone?: string;
}
/**
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-criteria.html
*/
interface CriteriaProperty {
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-criteria.html#cfn-computeoptimizer-automationrule-criteria-ebsvolumesizeingib
*/
readonly ebsVolumeSizeInGib?: Array<CfnAutomationRule.IntegerCriteriaConditionProperty | cdk.IResolvable> | cdk.IResolvable;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-criteria.html#cfn-computeoptimizer-automationrule-criteria-ebsvolumetype
*/
readonly ebsVolumeType?: Array<cdk.IResolvable | CfnAutomationRule.StringCriteriaConditionProperty> | cdk.IResolvable;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-criteria.html#cfn-computeoptimizer-automationrule-criteria-estimatedmonthlysavings
*/
readonly estimatedMonthlySavings?: Array<CfnAutomationRule.DoubleCriteriaConditionProperty | cdk.IResolvable> | cdk.IResolvable;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-criteria.html#cfn-computeoptimizer-automationrule-criteria-lookbackperiodindays
*/
readonly lookBackPeriodInDays?: Array<CfnAutomationRule.IntegerCriteriaConditionProperty | cdk.IResolvable> | cdk.IResolvable;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-criteria.html#cfn-computeoptimizer-automationrule-criteria-region
*/
readonly region?: Array<cdk.IResolvable | CfnAutomationRule.StringCriteriaConditionProperty> | cdk.IResolvable;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-criteria.html#cfn-computeoptimizer-automationrule-criteria-resourcearn
*/
readonly resourceArn?: Array<cdk.IResolvable | CfnAutomationRule.StringCriteriaConditionProperty> | cdk.IResolvable;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-criteria.html#cfn-computeoptimizer-automationrule-criteria-resourcetag
*/
readonly resourceTag?: Array<cdk.IResolvable | CfnAutomationRule.ResourceTagsCriteriaConditionProperty> | cdk.IResolvable;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-criteria.html#cfn-computeoptimizer-automationrule-criteria-restartneeded
*/
readonly restartNeeded?: Array<cdk.IResolvable | CfnAutomationRule.StringCriteriaConditionProperty> | cdk.IResolvable;
}
/**
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-stringcriteriacondition.html
*/
interface StringCriteriaConditionProperty {
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-stringcriteriacondition.html#cfn-computeoptimizer-automationrule-stringcriteriacondition-comparison
*/
readonly comparison?: string;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-stringcriteriacondition.html#cfn-computeoptimizer-automationrule-stringcriteriacondition-values
*/
readonly values?: Array<string>;
}
/**
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-integercriteriacondition.html
*/
interface IntegerCriteriaConditionProperty {
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-integercriteriacondition.html#cfn-computeoptimizer-automationrule-integercriteriacondition-comparison
*/
readonly comparison?: string;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-integercriteriacondition.html#cfn-computeoptimizer-automationrule-integercriteriacondition-values
*/
readonly values?: Array<number> | cdk.IResolvable;
}
/**
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-doublecriteriacondition.html
*/
interface DoubleCriteriaConditionProperty {
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-doublecriteriacondition.html#cfn-computeoptimizer-automationrule-doublecriteriacondition-comparison
*/
readonly comparison?: string;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-doublecriteriacondition.html#cfn-computeoptimizer-automationrule-doublecriteriacondition-values
*/
readonly values?: Array<number> | cdk.IResolvable;
}
/**
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-resourcetagscriteriacondition.html
*/
interface ResourceTagsCriteriaConditionProperty {
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-resourcetagscriteriacondition.html#cfn-computeoptimizer-automationrule-resourcetagscriteriacondition-comparison
*/
readonly comparison?: string;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-resourcetagscriteriacondition.html#cfn-computeoptimizer-automationrule-resourcetagscriteriacondition-key
*/
readonly key?: string;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-computeoptimizer-automationrule-resourcetagscriteriacondition.html#cfn-computeoptimizer-automationrule-resourcetagscriteriacondition-values
*/
readonly values?: Array<string>;
}
}
/**
* Properties for defining a `CfnAutomationRule`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html
*/
export interface CfnAutomationRuleProps {
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html#cfn-computeoptimizer-automationrule-criteria
*/
readonly criteria?: CfnAutomationRule.CriteriaProperty | cdk.IResolvable;
/**
* The description of the automation rule.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html#cfn-computeoptimizer-automationrule-description
*/
readonly description?: string;
/**
* The name of the automation rule.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html#cfn-computeoptimizer-automationrule-name
*/
readonly name: string;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html#cfn-computeoptimizer-automationrule-organizationconfiguration
*/
readonly organizationConfiguration?: cdk.IResolvable | CfnAutomationRule.OrganizationConfigurationProperty;
/**
* Rule priority within its group.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html#cfn-computeoptimizer-automationrule-priority
*/
readonly priority?: string;
/**
* The types of recommended actions this rule will implement.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html#cfn-computeoptimizer-automationrule-recommendedactiontypes
*/
readonly recommendedActionTypes: Array<string>;
/**
* The type of automation rule.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html#cfn-computeoptimizer-automationrule-ruletype
*/
readonly ruleType: string;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html#cfn-computeoptimizer-automationrule-schedule
*/
readonly schedule: cdk.IResolvable | CfnAutomationRule.ScheduleProperty;
/**
* The status of the automation rule.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html#cfn-computeoptimizer-automationrule-status
*/
readonly status: string;
/**
* Tags associated with the automation rule.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-computeoptimizer-automationrule.html#cfn-computeoptimizer-automationrule-tags
*/
readonly tags?: Array<cdk.CfnTag>;
}
export type { IAutomationRuleRef, AutomationRuleReference };

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
export * from './computeoptimizer.generated';

View File

@@ -0,0 +1 @@
"use strict";var __createBinding=exports&&exports.__createBinding||(Object.create?(function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}):(function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]})),__exportStar=exports&&exports.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0});var _noFold;exports.CfnAutomationRule=void 0,Object.defineProperty(exports,_noFold="CfnAutomationRule",{enumerable:!0,configurable:!0,get:()=>{var value=require("./computeoptimizer.generated").CfnAutomationRule;return Object.defineProperty(exports,_noFold="CfnAutomationRule",{enumerable:!0,configurable:!0,value}),value}});