agent-claw: automated task changes
This commit is contained in:
102
cdk/node_modules/aws-cdk-lib/aws-codepipeline/lib/rule.d.ts
generated
vendored
Normal file
102
cdk/node_modules/aws-cdk-lib/aws-codepipeline/lib/rule.d.ts
generated
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
import type { CfnPipeline } from './codepipeline.generated';
|
||||
import type * as iam from '../../aws-iam';
|
||||
/**
|
||||
* Properties for defining a CodePipeline Rule
|
||||
*/
|
||||
export interface RuleProps {
|
||||
/**
|
||||
* The shell commands to run with your commands rule in CodePipeline.
|
||||
*
|
||||
* All commands are supported except multi-line formats. While CodeBuild logs and permissions are used,
|
||||
* you do not need to create any resources in CodeBuild.
|
||||
*
|
||||
* @remarks Using compute time for this action will incur separate charges in AWS CodeBuild.
|
||||
* @default - No commands
|
||||
*/
|
||||
readonly commands?: string[];
|
||||
/**
|
||||
* The action configuration fields for the rule.
|
||||
* This can include custom parameters specific to the rule type.
|
||||
*
|
||||
* @default - No configuration
|
||||
*/
|
||||
readonly configuration?: object;
|
||||
/**
|
||||
* The input artifacts fields for the rule, such as specifying an input file for the rule.
|
||||
* Each string in the array represents an artifact name that this rule will use as input.
|
||||
*
|
||||
* @default - No input artifacts
|
||||
*/
|
||||
readonly inputArtifacts?: string[];
|
||||
/**
|
||||
* The name of the rule that is created for the condition.
|
||||
* Must be unique within the pipeline.
|
||||
*
|
||||
* @example 'VariableCheck'
|
||||
* @default - A unique name will be generated
|
||||
*/
|
||||
readonly name?: string;
|
||||
/**
|
||||
* The AWS Region for the condition associated with the rule.
|
||||
* If not specified, uses the pipeline's region.
|
||||
*
|
||||
* @default - Pipeline's region
|
||||
*/
|
||||
readonly region?: string;
|
||||
/**
|
||||
* The IAM role that the rule will use to execute its actions.
|
||||
* The role must have sufficient permissions to perform the rule's tasks.
|
||||
*
|
||||
* @default - A new role will be created
|
||||
*/
|
||||
readonly role?: iam.Role;
|
||||
/**
|
||||
* The rule provider that implements the rule's functionality.
|
||||
*
|
||||
* @example 'DeploymentWindow'
|
||||
* @see AWS CodePipeline rule reference for available providers
|
||||
* @default - No provider, must be specified if rule is used
|
||||
*/
|
||||
readonly provider?: string;
|
||||
/**
|
||||
* The version of the rule to use.
|
||||
* Different versions may have different features or behaviors.
|
||||
*
|
||||
* @default '1'
|
||||
*/
|
||||
readonly version?: string;
|
||||
}
|
||||
/**
|
||||
* Represents a rule in AWS CodePipeline that can be used to add conditions
|
||||
* and controls to pipeline execution.
|
||||
*/
|
||||
export declare class Rule {
|
||||
/**
|
||||
* The name of the rule, if specified in the properties
|
||||
*/
|
||||
readonly ruleName?: string;
|
||||
private readonly _props;
|
||||
/**
|
||||
* Creates a new Rule instance.
|
||||
* @param props - Configuration properties for the rule
|
||||
* @throws {Error} If the rule name is invalid
|
||||
*/
|
||||
constructor(props: RuleProps);
|
||||
/**
|
||||
* Validates the rule configuration
|
||||
* @private
|
||||
* @throws {Error} If validation fails
|
||||
*/
|
||||
private validate;
|
||||
/**
|
||||
* Returns a reference to the rule that can be used in pipeline stage conditions
|
||||
* @returns A string in the format "#{rule.ruleName}" that can be used to reference this rule
|
||||
*/
|
||||
reference(): string;
|
||||
/**
|
||||
* Renders the rule configuration into a CloudFormation property
|
||||
* @internal
|
||||
* @returns The rule declaration property for CloudFormation
|
||||
*/
|
||||
_render(): CfnPipeline.RuleDeclarationProperty;
|
||||
}
|
||||
Reference in New Issue
Block a user