agent-claw: automated task changes
This commit is contained in:
397
cdk/node_modules/aws-cdk-lib/aws-computeoptimizer/lib/computeoptimizer.generated.d.ts
generated
vendored
Normal file
397
cdk/node_modules/aws-cdk-lib/aws-computeoptimizer/lib/computeoptimizer.generated.d.ts
generated
vendored
Normal 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 };
|
||||
Reference in New Issue
Block a user