@aws-solutions-constructs/aws-fargate-stepfunctions 1.155.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,141 @@
1
+ # aws-fargate-stepfunctions module
2
+ <!--BEGIN STABILITY BANNER-->
3
+
4
+ ---
5
+
6
+ ![Stability: Experimental](https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge)
7
+
8
+ > All classes are under active development and subject to non-backward compatible changes or removal in any
9
+ > future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.
10
+ > This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
11
+
12
+ ---
13
+ <!--END STABILITY BANNER-->
14
+
15
+ | **Reference Documentation**:| <span style="font-weight: normal">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|
16
+ |:-------------|:-------------|
17
+ <div style="height:8px"></div>
18
+
19
+ | **Language** | **Package** |
20
+ |:-------------|-----------------|
21
+ |![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_fargate_stepfunctions`|
22
+ |![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-fargate-stepfunctions`|
23
+ |![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.fargatestepfunctions`|
24
+
25
+ This AWS Solutions Construct implements an AWS Fargate service that can execute an AWS Step Functions state machine
26
+
27
+ Here is a minimal deployable pattern definition:
28
+
29
+ Typescript
30
+ ``` typescript
31
+ import { Construct } from 'constructs';
32
+ import { Stack, StackProps } from 'aws-cdk-lib';
33
+ import { FargateToStepfunctions, FargateToStepfunctionsProps } from '@aws-solutions-constructs/aws-fargate-stepfunctions';
34
+ import * as stepfunctions from 'aws-cdk-lib/aws-stepfunctions';
35
+
36
+ const startState = new stepfunctions.Pass(this, 'StartState');
37
+
38
+ const constructProps: FargateToStepfunctionsProps = {
39
+ publicApi: true,
40
+ ecrRepositoryArn: "arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo",
41
+ stateMachineProps: {
42
+ definition: startState
43
+ }
44
+ };
45
+
46
+ new FargateToStepfunctions(this, 'test-construct', constructProps);
47
+ ```
48
+
49
+ Python
50
+ ``` python
51
+ from aws_solutions_constructs.aws_fargate_stepfunctions import FargateToStepfunctions, FargateToStepfunctionsProps
52
+ from aws_cdk import (
53
+ aws_stepfunctions as stepfunctions,
54
+ Stack
55
+ )
56
+ from constructs import Construct
57
+
58
+ start_state = stepfunctions.Pass(self, 'start_state')
59
+
60
+ FargateToStepfunctions(self, 'test_construct',
61
+ public_api=True,
62
+ ecr_repository_arn="arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo",
63
+ state_machine_props=stepfunctions.StateMachineProps(
64
+ definition=start_state))
65
+ ```
66
+
67
+ Java
68
+ ``` java
69
+ import software.constructs.Construct;
70
+
71
+ import software.amazon.awscdk.Stack;
72
+ import software.amazon.awscdk.StackProps;
73
+ import software.amazon.awsconstructs.services.fargatestepfunctions.*;
74
+ import software.amazon.awscdk.services.stepfunctions.*;
75
+
76
+ start_state = stepfunctions.Pass(self, 'start_state')
77
+
78
+ new FargateToStepfunctions(this, "test-construct", new FargateToStepfunctionsProps.Builder()
79
+ .publicApi(true)
80
+ .ecrRepositoryArn("arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo")
81
+ .stateMachineProps(new StateMachineProps.Builder()
82
+ .definition(startState)
83
+ .build()
84
+ .build());
85
+ ```
86
+
87
+ ## Pattern Construct Props
88
+
89
+ | **Name** | **Type** | **Description** |
90
+ |:-------------|:----------------|-----------------|
91
+ | publicApi | `boolean` | Whether the construct is deploying a private or public API. This has implications for the VPC. |
92
+ | vpcProps? | [`ec2.VpcProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.VpcProps.html) | Optional custom properties for a VPC the construct will create. This VPC will be used by any Private Hosted Zone the construct creates (that's why loadBalancerProps and privateHostedZoneProps can't include a VPC). Providing both this and existingVpc is an error. |
93
+ | existingVpc? | [`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.IVpc.html) | An existing VPC in which to deploy the construct. Providing both this and vpcProps is an error. If the client provides an existing load balancer and/or existing Private Hosted Zone, those constructs must exist in this VPC. |
94
+ | clusterProps? | [`ecs.ClusterProps`](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ecs.ClusterProps.html) | Optional properties to create a new ECS cluster. To provide an existing cluster, use the cluster attribute of fargateServiceProps. |
95
+ | ecrRepositoryArn? | `string` | The arn of an ECR Repository containing the image to use to generate the containers. Either this or the image property of containerDefinitionProps must be provided. format: arn:aws:ecr:*region*:*account number*:repository/*Repository Name* |
96
+ | ecrImageVersion? | `string` | The version of the image to use from the repository. Defaults to 'Latest' |
97
+ | containerDefinitionProps? | [`ecs.ContainerDefinitionProps \| any`](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ecs.ContainerDefinitionProps.html) | Optional props to define the container created for the Fargate Service (defaults found in fargate-defaults.ts) |
98
+ | fargateTaskDefinitionProps? | [`ecs.FargateTaskDefinitionProps \| any`](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ecs.FargateTaskDefinitionProps.html) | Optional props to define the Fargate Task Definition for this construct (defaults found in fargate-defaults.ts) |
99
+ | fargateServiceProps? | [`ecs.FargateServiceProps \| any`](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ecs.FargateServiceProps.html) | Optional values to override default Fargate Task definition properties (fargate-defaults.ts). The construct will default to launching the service is the most isolated subnets available (precedence: Isolated, Private and Public). Override those and other defaults here. |
100
+ |existingFargateServiceObject? | [`ecs.FargateService`](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ecs.FargateService.html) | A Fargate Service already instantiated (probably by another Solutions Construct). If this is specified, then no props defining a new service can be provided, including: ecrImageVersion, containerDefinitionProps, fargateTaskDefinitionProps, ecrRepositoryArn, fargateServiceProps, clusterProps |
101
+ |existingContainerDefinitionObject? | [`ecs.ContainerDefinition`](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ecs.ContainerDefinition.html) | A container definition already instantiated as part of a Fargate service. This must be the container in the existingFargateServiceObject |
102
+ |stateMachineProps|[`sfn.StateMachineProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-stepfunctions.StateMachineProps.html)|User provided props to override the default props for sfn.StateMachine.|
103
+ | createCloudWatchAlarms? | `boolean`|Whether to create recommended CloudWatch alarms. Default is true.|
104
+ |logGroupProps?|[`logs.LogGroupProps`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-logs.LogGroupProps.html)|Optional user provided props to override the default props for for the CloudWatchLogs LogGroup.|
105
+ |stateMachineEnvironmentVariableName?|`string`|Optional Name for the container environment variable set to the ARN of the state machine. Default: STATE_MACHINE_ARN |
106
+
107
+ ## Pattern Properties
108
+
109
+ | **Name** | **Type** | **Description** |
110
+ |:-------------|:----------------|-----------------|
111
+ | vpc | [`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.IVpc.html) | The VPC used by the construct (whether created by the construct or provided by the client) |
112
+ | service | [`ecs.FargateService`](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ecs.FargateService.html) | The AWS Fargate service used by this construct (whether created by this construct or passed to this construct at initialization) |
113
+ | container | [`ecs.ContainerDefinition`](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ecs.ContainerDefinition.html) | The container associated with the AWS Fargate service in the service property. |
114
+ | stateMachine| [`sfn.StateMachine`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-stepfunctions.StateMachine.html)|Returns an instance of `sfn.StateMachine` created by the construct.|
115
+ | stateMachineLogGroup|[`logs.ILogGroup`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-logs.ILogGroup.html)|Returns an instance of the `logs.ILogGroup` created by the construct for StateMachine.|
116
+ | cloudwatchAlarms? | [`cloudwatch.Alarm[]`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-cloudwatch.Alarm.html)|Returns a list of `cloudwatch.Alarm` created by the construct.|
117
+
118
+ ## Default settings
119
+
120
+ Out of the box implementation of the Construct without any override will set the following defaults:
121
+
122
+ ### AWS Fargate Service
123
+ * Sets up an AWS Fargate service
124
+ * Uses the existing service if provided
125
+ * Creates a new service if none provided.
126
+ * Service will run in isolated subnets if available, then private subnets if available and finally public subnets
127
+ * Adds an environment variable to the container containing the ARN of the state machine
128
+ * Default name is `STATE_MACHINE_ARN`
129
+ * Add permissions to the container IAM role allowing it to start the execution of a state machine
130
+
131
+ ### AWS Step Functions
132
+ * Sets up an AWS Step Functions state machine
133
+ * Uses an existing state machine if one is provided, otherwise creates a new one
134
+ * Adds an Interface Endpoint to the VPC for Step Functions (the service by default runs in Isolated or Private subnets)
135
+ * Enables CloudWatch logging
136
+
137
+ ## Architecture
138
+ ![Architecture Diagram](architecture.png)
139
+
140
+ ***
141
+ &copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Binary file
package/lib/index.d.ts ADDED
@@ -0,0 +1,120 @@
1
+ /**
2
+ * Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5
+ * with the License. A copy of the License is located at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11
+ * and limitations under the License.
12
+ */
13
+ import { Construct } from "@aws-cdk/core";
14
+ import * as ecs from "@aws-cdk/aws-ecs";
15
+ import * as ec2 from "@aws-cdk/aws-ec2";
16
+ import * as sfn from '@aws-cdk/aws-stepfunctions';
17
+ import * as logs from '@aws-cdk/aws-logs';
18
+ import * as cloudwatch from '@aws-cdk/aws-cloudwatch';
19
+ export interface FargateToStepfunctionsProps {
20
+ /**
21
+ * Whether the construct is deploying a private or public API. This has implications for the VPC deployed
22
+ * by this construct.
23
+ *
24
+ * @default - none
25
+ */
26
+ readonly publicApi: boolean;
27
+ /**
28
+ * Optional custom properties for a VPC the construct will create. This VPC will
29
+ * be used by the new Fargate service the construct creates (that's
30
+ * why targetGroupProps can't include a VPC). Providing
31
+ * both this and existingVpc is an error. A Step Functions Interface
32
+ * endpoint will be included in this VPC.
33
+ *
34
+ * @default - A set of defaults from vpc-defaults.ts: DefaultPublicPrivateVpcProps() for public APIs
35
+ * and DefaultIsolatedVpcProps() for private APIs.
36
+ */
37
+ readonly vpcProps?: ec2.VpcProps;
38
+ /**
39
+ * An existing VPC in which to deploy the construct. Providing both this and
40
+ * vpcProps is an error. If the client provides an existing Fargate service,
41
+ * this value must be the VPC where the service is running. A Step Functions Interface
42
+ * endpoint will be added to this VPC.
43
+ *
44
+ * @default - none
45
+ */
46
+ readonly existingVpc?: ec2.IVpc;
47
+ /**
48
+ * Optional properties to create a new ECS cluster
49
+ */
50
+ readonly clusterProps?: ecs.ClusterProps;
51
+ /**
52
+ * The arn of an ECR Repository containing the image to use
53
+ * to generate the containers
54
+ *
55
+ * format:
56
+ * arn:aws:ecr:[region]:[account number]:repository/[Repository Name]
57
+ */
58
+ readonly ecrRepositoryArn?: string;
59
+ /**
60
+ * The version of the image to use from the repository
61
+ *
62
+ * @default - 'latest'
63
+ */
64
+ readonly ecrImageVersion?: string;
65
+ readonly containerDefinitionProps?: ecs.ContainerDefinitionProps | any;
66
+ readonly fargateTaskDefinitionProps?: ecs.FargateTaskDefinitionProps | any;
67
+ /**
68
+ * Optional values to override default Fargate Task definition properties
69
+ * (fargate-defaults.ts). The construct will default to launching the service
70
+ * is the most isolated subnets available (precedence: Isolated, Private and
71
+ * Public). Override those and other defaults here.
72
+ *
73
+ * defaults - fargate-defaults.ts
74
+ */
75
+ readonly fargateServiceProps?: ecs.FargateServiceProps | any;
76
+ /**
77
+ * A Fargate Service already instantiated (probably by another Solutions Construct). If
78
+ * this is specified, then no props defining a new service can be provided, including:
79
+ * existingImageObject, ecrImageVersion, containerDefintionProps, fargateTaskDefinitionProps,
80
+ * ecrRepositoryArn, fargateServiceProps, clusterProps, existingClusterInterface. If this value
81
+ * is provided, then existingContainerDefinitionObject must be provided as well.
82
+ *
83
+ * @default - none
84
+ */
85
+ readonly existingFargateServiceObject?: ecs.FargateService;
86
+ readonly existingContainerDefinitionObject?: ecs.ContainerDefinition;
87
+ /**
88
+ * User provided StateMachineProps to override the defaults
89
+ *
90
+ * @default - None
91
+ */
92
+ readonly stateMachineProps: sfn.StateMachineProps;
93
+ /**
94
+ * Whether to create recommended CloudWatch alarms
95
+ *
96
+ * @default - true
97
+ */
98
+ readonly createCloudWatchAlarms?: boolean;
99
+ /**
100
+ * User provided props to override the default props for the CloudWatchLogs LogGroup.
101
+ *
102
+ * @default - Default props are used
103
+ */
104
+ readonly logGroupProps?: logs.LogGroupProps;
105
+ /**
106
+ * Optional Name for the container environment variable set to the ARN of the state machine.
107
+ *
108
+ * @default - STATE_MACHINE_ARN
109
+ */
110
+ readonly stateMachineEnvironmentVariableName?: string;
111
+ }
112
+ export declare class FargateToStepfunctions extends Construct {
113
+ readonly vpc: ec2.IVpc;
114
+ readonly service: ecs.FargateService;
115
+ readonly container: ecs.ContainerDefinition;
116
+ readonly stateMachine: sfn.StateMachine;
117
+ readonly stateMachineLogGroup: logs.ILogGroup;
118
+ readonly cloudwatchAlarms?: cloudwatch.Alarm[];
119
+ constructor(scope: Construct, id: string, props: FargateToStepfunctionsProps);
120
+ }
package/lib/index.js ADDED
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.FargateToStepfunctions = void 0;
5
+ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
6
+ /**
7
+ * Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
10
+ * with the License. A copy of the License is located at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
15
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
16
+ * and limitations under the License.
17
+ */
18
+ // Note: To ensure CDKv2 compatibility, keep the import statement for Construct separate
19
+ const core_1 = require("@aws-cdk/core");
20
+ const defaults = require("@aws-solutions-constructs/core");
21
+ class FargateToStepfunctions extends core_1.Construct {
22
+ constructor(scope, id, props) {
23
+ super(scope, id);
24
+ defaults.CheckProps(props);
25
+ defaults.CheckFargateProps(props);
26
+ this.vpc = defaults.buildVpc(scope, {
27
+ existingVpc: props.existingVpc,
28
+ defaultVpcProps: props.publicApi ? defaults.DefaultPublicPrivateVpcProps() : defaults.DefaultIsolatedVpcProps(),
29
+ userVpcProps: props.vpcProps,
30
+ constructVpcProps: { enableDnsHostnames: true, enableDnsSupport: true }
31
+ });
32
+ defaults.AddAwsServiceEndpoint(scope, this.vpc, defaults.ServiceEndpointTypes.STEP_FUNCTIONS);
33
+ if (props.existingFargateServiceObject) {
34
+ this.service = props.existingFargateServiceObject;
35
+ // CheckFargateProps confirms that the container is provided
36
+ this.container = props.existingContainerDefinitionObject;
37
+ }
38
+ else {
39
+ [this.service, this.container] = defaults.CreateFargateService(scope, id, this.vpc, props.clusterProps, props.ecrRepositoryArn, props.ecrImageVersion, props.fargateTaskDefinitionProps, props.containerDefinitionProps, props.fargateServiceProps);
40
+ }
41
+ [this.stateMachine, this.stateMachineLogGroup] = defaults.buildStateMachine(this, props.stateMachineProps, props.logGroupProps);
42
+ this.stateMachine.grantStartExecution(this.service.taskDefinition.taskRole);
43
+ if (props.createCloudWatchAlarms === undefined || props.createCloudWatchAlarms) {
44
+ // Deploy best-practice CloudWatch Alarm for state machine
45
+ this.cloudwatchAlarms = defaults.buildStepFunctionCWAlarms(this, this.stateMachine);
46
+ }
47
+ // Add environment variable
48
+ const stateMachineEnvironmentVariableName = props.stateMachineEnvironmentVariableName || 'STATE_MACHINE_ARN';
49
+ this.container.addEnvironment(stateMachineEnvironmentVariableName, this.stateMachine.stateMachineArn);
50
+ }
51
+ }
52
+ exports.FargateToStepfunctions = FargateToStepfunctions;
53
+ _a = JSII_RTTI_SYMBOL_1;
54
+ FargateToStepfunctions[_a] = { fqn: "@aws-solutions-constructs/aws-fargate-stepfunctions.FargateToStepfunctions", version: "1.155.0" };
55
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBOzs7Ozs7Ozs7OztHQVdHO0FBRUgsd0ZBQXdGO0FBQ3hGLHdDQUEwQztBQUMxQywyREFBMkQ7QUFxSDNELE1BQWEsc0JBQXVCLFNBQVEsZ0JBQVM7SUFRbkQsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUFrQztRQUMxRSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBQ2pCLFFBQVEsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDLENBQUM7UUFDM0IsUUFBUSxDQUFDLGlCQUFpQixDQUFDLEtBQUssQ0FBQyxDQUFDO1FBRWxDLElBQUksQ0FBQyxHQUFHLEdBQUcsUUFBUSxDQUFDLFFBQVEsQ0FBQyxLQUFLLEVBQUU7WUFDbEMsV0FBVyxFQUFFLEtBQUssQ0FBQyxXQUFXO1lBQzlCLGVBQWUsRUFBRSxLQUFLLENBQ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A9IGRlZmF1bHRzLmJ1aWxkU3RhdGVNYWNoaW5lKHRoaXMsIHByb3BzLnN0YXRlTWFjaGluZVByb3BzLFxuICAgICAgcHJvcHMubG9nR3JvdXBQcm9wcyk7XG5cbiAgICB0aGlzLnN0YXRlTWFjaGluZS5ncmFudFN0YXJ0RXhlY3V0aW9uKHRoaXMuc2VydmljZS50YXNrRGVmaW5pdGlvbi50YXNrUm9sZSk7XG5cbiAgICBpZiAocHJvcHMuY3JlYXRlQ2xvdWRXYXRjaEFsYXJtcyA9PT0gdW5kZWZpbmVkIHx8IHByb3BzLmNyZWF0ZUNsb3VkV2F0Y2hBbGFybXMpIHtcbiAgICAgIC8vIERlcGxveSBiZXN0LXByYWN0aWNlIENsb3VkV2F0Y2ggQWxhcm0gZm9yIHN0YXRlIG1hY2hpbmVcbiAgICAgIHRoaXMuY2xvdWR3YXRjaEFsYXJtcyA9IGRlZmF1bHRzLmJ1aWxkU3RlcEZ1bmN0aW9uQ1dBbGFybXModGhpcywgdGhpcy5zdGF0ZU1hY2hpbmUpO1xuICAgIH1cblxuICAgIC8vIEFkZCBlbnZpcm9ubWVudCB2YXJpYWJsZVxuICAgIGNvbnN0IHN0YXRlTWFjaGluZUVudmlyb25tZW50VmFyaWFibGVOYW1lID0gcHJvcHMuc3RhdGVNYWNoaW5lRW52aXJvbm1lbnRWYXJpYWJsZU5hbWUgfHwgJ1NUQVRFX01BQ0hJTkVfQVJOJztcbiAgICB0aGlzLmNvbnRhaW5lci5hZGRFbnZpcm9ubWVudChzdGF0ZU1hY2hpbmVFbnZpcm9ubWVudFZhcmlhYmxlTmFtZSwgdGhpcy5zdGF0ZU1hY2hpbmUuc3RhdGVNYWNoaW5lQXJuKTtcbiAgfVxufVxuIl19
package/package.json ADDED
@@ -0,0 +1,110 @@
1
+ {
2
+ "name": "@aws-solutions-constructs/aws-fargate-stepfunctions",
3
+ "version": "1.155.0",
4
+ "description": "CDK Constructs for AWS Fargate to Amazon Step Functions integration",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/awslabs/aws-solutions-constructs.git",
10
+ "directory": "source/patterns/@aws-solutions-constructs/aws-fargate-stepfunctions"
11
+ },
12
+ "author": {
13
+ "name": "Amazon Web Services",
14
+ "url": "https://aws.amazon.com",
15
+ "organization": true
16
+ },
17
+ "license": "Apache-2.0",
18
+ "scripts": {
19
+ "build": "tsc -b .",
20
+ "lint": "eslint -c ../eslintrc.yml --ext=.js,.ts . && tslint --project .",
21
+ "lint-fix": "eslint -c ../eslintrc.yml --ext=.js,.ts --fix .",
22
+ "test": "jest --coverage",
23
+ "clean": "tsc -b --clean",
24
+ "watch": "tsc -b -w",
25
+ "integ": "cdk-integ",
26
+ "integ-no-clean": "cdk-integ --no-clean",
27
+ "integ-assert": "cdk-integ-assert",
28
+ "jsii": "jsii",
29
+ "jsii-pacmak": "jsii-pacmak",
30
+ "build+lint+test": "npm run jsii && npm run lint && npm test && npm run integ-assert",
31
+ "snapshot-update": "npm run jsii && npm test -- -u && npm run integ-assert"
32
+ },
33
+ "jsii": {
34
+ "outdir": "dist",
35
+ "targets": {
36
+ "java": {
37
+ "package": "software.amazon.awsconstructs.services.fargatestepfunctions",
38
+ "maven": {
39
+ "groupId": "software.amazon.awsconstructs",
40
+ "artifactId": "fargatestepfunctions"
41
+ }
42
+ },
43
+ "dotnet": {
44
+ "namespace": "Amazon.SolutionsConstructs.AWS.FargateStepfunctions",
45
+ "packageId": "Amazon.SolutionsConstructs.AWS.FargateStepfunctions",
46
+ "signAssembly": true,
47
+ "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png"
48
+ },
49
+ "python": {
50
+ "distName": "aws-solutions-constructs.aws-fargate-stepfunctions",
51
+ "module": "aws_solutions_constructs.aws_fargate_stepfunctions"
52
+ }
53
+ }
54
+ },
55
+ "dependencies": {
56
+ "@aws-cdk/aws-cloudwatch": "1.155.0",
57
+ "@aws-cdk/core": "1.155.0",
58
+ "@aws-cdk/aws-ec2": "1.155.0",
59
+ "@aws-cdk/aws-ecs": "1.155.0",
60
+ "@aws-cdk/aws-logs": "1.155.0",
61
+ "@aws-cdk/aws-stepfunctions": "1.155.0",
62
+ "@aws-solutions-constructs/core": "1.155.0",
63
+ "constructs": "^3.2.0"
64
+ },
65
+ "devDependencies": {
66
+ "@aws-cdk/assert": "1.155.0",
67
+ "@aws-cdk/aws-cloudwatch": "1.155.0",
68
+ "@aws-cdk/core": "1.155.0",
69
+ "@aws-cdk/aws-ec2": "1.155.0",
70
+ "@aws-cdk/aws-ecs": "1.155.0",
71
+ "@aws-cdk/aws-logs": "1.155.0",
72
+ "@aws-cdk/aws-stepfunctions": "1.155.0",
73
+ "@aws-solutions-constructs/core": "1.155.0",
74
+ "@types/jest": "^26.0.22",
75
+ "@types/node": "^10.3.0",
76
+ "constructs": "3.2.0"
77
+ },
78
+ "jest": {
79
+ "moduleFileExtensions": [
80
+ "js"
81
+ ],
82
+ "coverageReporters": [
83
+ "text",
84
+ [
85
+ "lcov",
86
+ {
87
+ "projectRoot": "../../../../"
88
+ }
89
+ ]
90
+ ]
91
+ },
92
+ "peerDependencies": {
93
+ "@aws-cdk/aws-cloudwatch": "1.155.0",
94
+ "@aws-cdk/core": "1.155.0",
95
+ "@aws-cdk/aws-ec2": "1.155.0",
96
+ "@aws-cdk/aws-ecs": "1.155.0",
97
+ "@aws-cdk/aws-logs": "1.155.0",
98
+ "@aws-cdk/aws-stepfunctions": "1.155.0",
99
+ "@aws-solutions-constructs/core": "1.155.0",
100
+ "constructs": "^3.2.0"
101
+ },
102
+ "keywords": [
103
+ "aws",
104
+ "cdk",
105
+ "awscdk",
106
+ "AWS Solutions Constructs",
107
+ "Amazon Step Functions",
108
+ "AWS Fargate"
109
+ ]
110
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5
+ * with the License. A copy of the License is located at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11
+ * and limitations under the License.
12
+ */
13
+ import '@aws-cdk/assert/jest';