18 lines
556 B
Plaintext
18 lines
556 B
Plaintext
import { Construct } from 'constructs';
|
|
import { Stack } from 'aws-cdk-lib';
|
|
import * as apigateway from 'aws-cdk-lib/aws-apigateway';
|
|
import * as stepfunctions from 'aws-cdk-lib/aws-stepfunctions';
|
|
|
|
class Fixture extends Stack {
|
|
constructor(scope: Construct, id: string) {
|
|
super(scope, id);
|
|
|
|
const machine: stepfunctions.IStateMachine = new stepfunctions.StateMachine(this, 'StateMachine', {
|
|
definition: new stepfunctions.Pass(this, 'PassState'),
|
|
stateMachineType: stepfunctions.StateMachineType.EXPRESS,
|
|
});
|
|
|
|
/// here
|
|
}
|
|
}
|