agent-claw: automated task changes
This commit is contained in:
36
cdk/node_modules/aws-cdk-lib/aws-events-targets/lib/state-machine.d.ts
generated
vendored
Normal file
36
cdk/node_modules/aws-cdk-lib/aws-events-targets/lib/state-machine.d.ts
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
import type { TargetBaseProps } from './util';
|
||||
import type * as events from '../../aws-events';
|
||||
import type * as iam from '../../aws-iam';
|
||||
import type * as sfn from '../../aws-stepfunctions';
|
||||
/**
|
||||
* Customize the Step Functions State Machine target
|
||||
*/
|
||||
export interface SfnStateMachineProps extends TargetBaseProps {
|
||||
/**
|
||||
* The input to the state machine execution
|
||||
*
|
||||
* @default the entire EventBridge event
|
||||
*/
|
||||
readonly input?: events.RuleTargetInput;
|
||||
/**
|
||||
* The IAM role to be assumed to execute the State Machine
|
||||
*
|
||||
* @default - a new role will be created
|
||||
*/
|
||||
readonly role?: iam.IRole;
|
||||
}
|
||||
/**
|
||||
* Use a StepFunctions state machine as a target for Amazon EventBridge rules.
|
||||
*/
|
||||
export declare class SfnStateMachine implements events.IRuleTarget {
|
||||
readonly machine: sfn.IStateMachine;
|
||||
private readonly props;
|
||||
private readonly role;
|
||||
constructor(machine: sfn.IStateMachine, props?: SfnStateMachineProps);
|
||||
/**
|
||||
* Returns a properties that are used in an Rule to trigger this State Machine
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/eventbridge/latest/userguide/resource-based-policies-eventbridge.html#sns-permissions
|
||||
*/
|
||||
bind(rule: events.IRuleRef, _id?: string): events.RuleTargetConfig;
|
||||
}
|
||||
Reference in New Issue
Block a user