agent-claw: automated task changes
This commit is contained in:
96
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/eventbridge/put-events.d.ts
generated
vendored
Normal file
96
cdk/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/lib/eventbridge/put-events.d.ts
generated
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type * as events from '../../../aws-events';
|
||||
import * as iam from '../../../aws-iam';
|
||||
import * as sfn from '../../../aws-stepfunctions';
|
||||
/**
|
||||
* An entry to be sent to EventBridge
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEventsRequestEntry.html
|
||||
*/
|
||||
export interface EventBridgePutEventsEntry {
|
||||
/**
|
||||
* The event body
|
||||
*
|
||||
* Can either be provided as an object or as a JSON-serialized string
|
||||
* @example
|
||||
*
|
||||
* sfn.TaskInput.fromText('{"instance-id": "i-1234567890abcdef0", "state": "terminated"}');
|
||||
* sfn.TaskInput.fromObject({ Message: 'Hello from Step Functions' });
|
||||
* sfn.TaskInput.fromJsonPathAt('$.EventDetail');
|
||||
*/
|
||||
readonly detail: sfn.TaskInput;
|
||||
/**
|
||||
* Used along with the source field to help identify the fields and values expected in the detail field
|
||||
*
|
||||
* For example, events by CloudTrail have detail type "AWS API Call via CloudTrail"
|
||||
* @see https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-events.html
|
||||
*/
|
||||
readonly detailType: string;
|
||||
/**
|
||||
* The event bus the entry will be sent to.
|
||||
*
|
||||
* @default - event is sent to account's default event bus
|
||||
*/
|
||||
readonly eventBus?: events.IEventBusRef;
|
||||
/**
|
||||
* The service or application that caused this event to be generated
|
||||
*
|
||||
* Example value: `com.example.service`
|
||||
*
|
||||
* @see https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-events.html
|
||||
*/
|
||||
readonly source: string;
|
||||
}
|
||||
interface EventBridgePutEventsOptions {
|
||||
/**
|
||||
* The entries that will be sent. Minimum number of entries is 1 and maximum is 10,
|
||||
* unless [PutEvents API limit](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html#API_PutEvents_RequestSyntax) has changed.
|
||||
*/
|
||||
readonly entries: EventBridgePutEventsEntry[];
|
||||
}
|
||||
/**
|
||||
* Properties for sending events with PutEvents using JSONPath
|
||||
*/
|
||||
export interface EventBridgePutEventsJsonPathProps extends sfn.TaskStateJsonPathBaseProps, EventBridgePutEventsOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for sending events with PutEvents using JSONata
|
||||
*/
|
||||
export interface EventBridgePutEventsJsonataProps extends sfn.TaskStateJsonataBaseProps, EventBridgePutEventsOptions {
|
||||
}
|
||||
/**
|
||||
* Properties for sending events with PutEvents
|
||||
*/
|
||||
export interface EventBridgePutEventsProps extends sfn.TaskStateBaseProps, EventBridgePutEventsOptions {
|
||||
}
|
||||
/**
|
||||
* A StepFunctions Task to send events to an EventBridge event bus
|
||||
*/
|
||||
export declare class EventBridgePutEvents extends sfn.TaskStateBase {
|
||||
private readonly props;
|
||||
/**
|
||||
* A StepFunctions Task using JSONPath to send events to an EventBridge event bus
|
||||
*/
|
||||
static jsonPath(scope: Construct, id: string, props: EventBridgePutEventsJsonPathProps): EventBridgePutEvents;
|
||||
/**
|
||||
* A StepFunctions Task using JSONata to send events to an EventBridge event bus
|
||||
*/
|
||||
static jsonata(scope: Construct, id: string, props: EventBridgePutEventsJsonataProps): EventBridgePutEvents;
|
||||
private static readonly SUPPORTED_INTEGRATION_PATTERNS;
|
||||
protected readonly taskMetrics?: sfn.TaskMetricsConfig;
|
||||
protected readonly taskPolicies?: iam.PolicyStatement[];
|
||||
private readonly integrationPattern;
|
||||
constructor(scope: Construct, id: string, props: EventBridgePutEventsProps);
|
||||
/**
|
||||
* Returns an array of EventBusArn strings based on this.props.entries
|
||||
*/
|
||||
private get eventBusArns();
|
||||
/**
|
||||
* Provides the EventBridge put events service integration task configuration
|
||||
* @internal
|
||||
*/
|
||||
protected _renderTask(topLevelQueryLanguage?: sfn.QueryLanguage): any;
|
||||
private renderEntries;
|
||||
private validateEntries;
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user