@aws-solutions-constructs/aws-fargate-stepfunctions 2.85.2 → 2.85.3
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/.jsii +4 -4
- package/README.adoc +267 -0
- package/README.md +1 -142
- package/lib/index.js +1 -1
- package/package.json +5 -4
- /package/{architecture.png → aws-fargate-stepfunctions.png} +0 -0
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@aws-solutions-constructs/core": "2.85.
|
|
11
|
+
"@aws-solutions-constructs/core": "2.85.3",
|
|
12
12
|
"aws-cdk-lib": "^2.193.0",
|
|
13
13
|
"constructs": "^10.0.0"
|
|
14
14
|
},
|
|
@@ -3993,7 +3993,7 @@
|
|
|
3993
3993
|
},
|
|
3994
3994
|
"name": "@aws-solutions-constructs/aws-fargate-stepfunctions",
|
|
3995
3995
|
"readme": {
|
|
3996
|
-
"markdown": "# aws-fargate-stepfunctions module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n> All classes are under active development and subject to non-backward compatible changes or removal in any\n> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.\n> 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.\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n| Python|`aws_solutions_constructs.aws_fargate_stepfunctions`|\n| Typescript|`@aws-solutions-constructs/aws-fargate-stepfunctions`|\n| Java|`software.amazon.awsconstructs.services.fargatestepfunctions`|\n\n## Overview\nThis AWS Solutions Construct implements an AWS Fargate service that can execute an AWS Step Functions state machine\n\nHere is a minimal deployable pattern definition:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport { FargateToStepfunctions, FargateToStepfunctionsProps } from '@aws-solutions-constructs/aws-fargate-stepfunctions';\nimport * as stepfunctions from 'aws-cdk-lib/aws-stepfunctions';\n\nconst startState = new stepfunctions.Pass(this, 'StartState');\n\nconst constructProps: FargateToStepfunctionsProps = {\n publicApi: true,\n ecrRepositoryArn: \"arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo\",\n stateMachineProps: {\n definition: startState\n }\n};\n\nnew FargateToStepfunctions(this, 'test-construct', constructProps);\n```\n\nPython\n``` python\nfrom aws_solutions_constructs.aws_fargate_stepfunctions import FargateToStepfunctions, FargateToStepfunctionsProps\nfrom aws_cdk import (\n aws_stepfunctions as stepfunctions,\n Stack\n)\nfrom constructs import Construct\n\nstart_state = stepfunctions.Pass(self, 'start_state')\n\nFargateToStepfunctions(self, 'test_construct',\n public_api=True,\n ecr_repository_arn=\"arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo\",\n state_machine_props=stepfunctions.StateMachineProps(\n definition=start_state))\n```\n\nJava\n``` java\nimport software.constructs.Construct;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awsconstructs.services.fargatestepfunctions.*;\nimport software.amazon.awscdk.services.stepfunctions.*;\n\nstart_state = stepfunctions.Pass(self, 'start_state')\n\nnew FargateToStepfunctions(this, \"test-construct\", new FargateToStepfunctionsProps.Builder()\n .publicApi(true)\n .ecrRepositoryArn(\"arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo\")\n .stateMachineProps(new StateMachineProps.Builder()\n .definition(startState)\n .build()\n .build());\n```\n\n## Pattern Construct Props\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n| publicApi | `boolean` | Whether the construct is deploying a private or public API. This has implications for the VPC. |\n| vpcProps? | [`ec2.VpcProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.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. |\n| existingVpc? | [`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.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. |\n| clusterProps? | [`ecs.ClusterProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ClusterProps.html) | Optional properties to create a new ECS cluster. To provide an existing cluster, use the cluster attribute of fargateServiceProps. |\n| 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* |\n| ecrImageVersion? | `string` | The version of the image to use from the repository. Defaults to 'Latest' |\n| containerDefinitionProps? | [`ecs.ContainerDefinitionProps \\| any`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ContainerDefinitionProps.html) | Optional props to define the container created for the Fargate Service (defaults found in fargate-defaults.ts) |\n| fargateTaskDefinitionProps? | [`ecs.FargateTaskDefinitionProps \\| any`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.FargateTaskDefinitionProps.html) | Optional props to define the Fargate Task Definition for this construct (defaults found in fargate-defaults.ts) |\n| fargateServiceProps? | [`ecs.FargateServiceProps \\| any`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.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. |\n|existingFargateServiceObject? | [`ecs.FargateService`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.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 |\n|existingContainerDefinitionObject? | [`ecs.ContainerDefinition`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ContainerDefinition.html) | A container definition already instantiated as part of a Fargate service. This must be the container in the existingFargateServiceObject |\n|stateMachineProps|[`sfn.StateMachineProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.StateMachineProps.html)|User provided props to override the default props for sfn.StateMachine.|\n| createCloudWatchAlarms? | `boolean`|Whether to create recommended CloudWatch alarms. Default is true.|\n|logGroupProps?|[`logs.LogGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogGroupProps.html)|Optional user provided props to override the default props for for the CloudWatchLogs LogGroup.|\n|stateMachineEnvironmentVariableName?|`string`|Optional Name for the container environment variable set to the ARN of the state machine. Default: STATE_MACHINE_ARN |\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n| vpc | [`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html) | The VPC used by the construct (whether created by the construct or provided by the client) |\n| service | [`ecs.FargateService`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.FargateService.html) | The AWS Fargate service used by this construct (whether created by this construct or passed to this construct at initialization) |\n| container | [`ecs.ContainerDefinition`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ContainerDefinition.html) | The container associated with the AWS Fargate service in the service property. |\n| stateMachine| [`sfn.StateMachine`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.StateMachine.html)|Returns an instance of `sfn.StateMachine` created by the construct.|\n| stateMachineLogGroup|[`logs.ILogGroup`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.ILogGroup.html)|Returns an instance of the `logs.ILogGroup` created by the construct for StateMachine.|\n| cloudwatchAlarms? | [`cloudwatch.Alarm[]`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudwatch.Alarm.html)|Returns a list of `cloudwatch.Alarm` created by the construct.|\n\n## Default settings\n\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### AWS Fargate Service\n* Sets up an AWS Fargate service\n * Uses the existing service if provided\n * Creates a new service if none provided.\n * Service will run in isolated subnets if available, then private subnets if available and finally public subnets\n* Adds an environment variable to the container containing the ARN of the state machine\n * Default name is `STATE_MACHINE_ARN`\n* Add permissions to the container IAM role allowing it to start the execution of a state machine\n\n### AWS Step Functions\n* Sets up an AWS Step Functions state machine\n * Uses an existing state machine if one is provided, otherwise creates a new one\n* Adds an Interface Endpoint to the VPC for Step Functions (the service by default runs in Isolated or Private subnets)\n* Enables CloudWatch logging\n\n## Architecture\n\n\n***\n© Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
|
|
3996
|
+
"markdown": "Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-fargate-stepfunctions/README.adoc)\n"
|
|
3997
3997
|
},
|
|
3998
3998
|
"repository": {
|
|
3999
3999
|
"directory": "source/patterns/@aws-solutions-constructs/aws-fargate-stepfunctions",
|
|
@@ -4394,6 +4394,6 @@
|
|
|
4394
4394
|
"symbolId": "lib/index:FargateToStepfunctionsProps"
|
|
4395
4395
|
}
|
|
4396
4396
|
},
|
|
4397
|
-
"version": "2.85.
|
|
4398
|
-
"fingerprint": "
|
|
4397
|
+
"version": "2.85.3",
|
|
4398
|
+
"fingerprint": "Pn3abtyI4NbsMcF85r8TXNo0VYEj4TCm4qpy/e+92VE="
|
|
4399
4399
|
}
|
package/README.adoc
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
//!!NODE_ROOT <section>
|
|
2
|
+
//== aws-fargate-stepfunctions module
|
|
3
|
+
|
|
4
|
+
[.topic]
|
|
5
|
+
= aws-fargate-stepfunctions
|
|
6
|
+
:info_doctype: section
|
|
7
|
+
:info_title: aws-fargate-stepfunctions
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
image:https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge[Stability:Experimental]
|
|
11
|
+
|
|
12
|
+
____
|
|
13
|
+
All classes are under active development and subject to non-backward
|
|
14
|
+
compatible changes or removal in any future version. These are not
|
|
15
|
+
subject to the https://semver.org/[Semantic Versioning] model. This
|
|
16
|
+
means that while you may use them, you may need to update your source
|
|
17
|
+
code when upgrading to a newer version of this package.
|
|
18
|
+
____
|
|
19
|
+
|
|
20
|
+
[width="100%",cols="<50%,<50%",options="header",]
|
|
21
|
+
|===
|
|
22
|
+
|*Reference Documentation*:
|
|
23
|
+
|https://docs.aws.amazon.com/solutions/latest/constructs/
|
|
24
|
+
|===
|
|
25
|
+
|
|
26
|
+
[width="100%",cols="<46%,54%",options="header",]
|
|
27
|
+
|===
|
|
28
|
+
|*Language* |*Package*
|
|
29
|
+
|image:https://docs.aws.amazon.com/cdk/api/latest/img/python32.png[Python
|
|
30
|
+
Logo] Python
|
|
31
|
+
|`aws_solutions_constructs.aws_fargate_stepfunctions`
|
|
32
|
+
|
|
33
|
+
|image:https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png[Typescript
|
|
34
|
+
Logo] Typescript |`@aws-solutions-constructs/aws-fargate-stepfunctions`
|
|
35
|
+
|
|
36
|
+
|image:https://docs.aws.amazon.com/cdk/api/latest/img/java32.png[Java
|
|
37
|
+
Logo] Java
|
|
38
|
+
|`software.amazon.awsconstructs.services.fargatestepfunctions`
|
|
39
|
+
|===
|
|
40
|
+
|
|
41
|
+
== Overview
|
|
42
|
+
|
|
43
|
+
This AWS Solutions Construct implements an AWS Fargate service that can
|
|
44
|
+
execute an AWS Step Functions state machine
|
|
45
|
+
|
|
46
|
+
Here is a minimal deployable pattern definition:
|
|
47
|
+
|
|
48
|
+
====
|
|
49
|
+
[role="tablist"]
|
|
50
|
+
Typescript::
|
|
51
|
+
+
|
|
52
|
+
[source,typescript]
|
|
53
|
+
----
|
|
54
|
+
import { Construct } from 'constructs';
|
|
55
|
+
import { Stack, StackProps } from 'aws-cdk-lib';
|
|
56
|
+
import { FargateToStepfunctions, FargateToStepfunctionsProps } from '@aws-solutions-constructs/aws-fargate-stepfunctions';
|
|
57
|
+
import * as stepfunctions from 'aws-cdk-lib/aws-stepfunctions';
|
|
58
|
+
|
|
59
|
+
const startState = new stepfunctions.Pass(this, 'StartState');
|
|
60
|
+
|
|
61
|
+
const constructProps: FargateToStepfunctionsProps = {
|
|
62
|
+
publicApi: true,
|
|
63
|
+
ecrRepositoryArn: "arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo",
|
|
64
|
+
stateMachineProps: {
|
|
65
|
+
definition: startState
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
new FargateToStepfunctions(this, 'test-construct', constructProps);
|
|
70
|
+
----
|
|
71
|
+
|
|
72
|
+
Python::
|
|
73
|
+
+
|
|
74
|
+
[source,python]
|
|
75
|
+
----
|
|
76
|
+
from aws_solutions_constructs.aws_fargate_stepfunctions import FargateToStepfunctions, FargateToStepfunctionsProps
|
|
77
|
+
from aws_cdk import (
|
|
78
|
+
aws_stepfunctions as stepfunctions,
|
|
79
|
+
Stack
|
|
80
|
+
)
|
|
81
|
+
from constructs import Construct
|
|
82
|
+
|
|
83
|
+
start_state = stepfunctions.Pass(self, 'start_state')
|
|
84
|
+
|
|
85
|
+
FargateToStepfunctions(self, 'test_construct',
|
|
86
|
+
public_api=True,
|
|
87
|
+
ecr_repository_arn="arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo",
|
|
88
|
+
state_machine_props=stepfunctions.StateMachineProps(
|
|
89
|
+
definition=start_state))
|
|
90
|
+
----
|
|
91
|
+
|
|
92
|
+
Java::
|
|
93
|
+
+
|
|
94
|
+
[source,java]
|
|
95
|
+
----
|
|
96
|
+
import software.constructs.Construct;
|
|
97
|
+
|
|
98
|
+
import software.amazon.awscdk.Stack;
|
|
99
|
+
import software.amazon.awscdk.StackProps;
|
|
100
|
+
import software.amazon.awsconstructs.services.fargatestepfunctions.*;
|
|
101
|
+
import software.amazon.awscdk.services.stepfunctions.*;
|
|
102
|
+
|
|
103
|
+
start_state = stepfunctions.Pass(self, 'start_state')
|
|
104
|
+
|
|
105
|
+
new FargateToStepfunctions(this, "test-construct", new FargateToStepfunctionsProps.Builder()
|
|
106
|
+
.publicApi(true)
|
|
107
|
+
.ecrRepositoryArn("arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo")
|
|
108
|
+
.stateMachineProps(new StateMachineProps.Builder()
|
|
109
|
+
.definition(startState)
|
|
110
|
+
.build()
|
|
111
|
+
.build());
|
|
112
|
+
----
|
|
113
|
+
====
|
|
114
|
+
|
|
115
|
+
== Pattern Construct Props
|
|
116
|
+
|
|
117
|
+
[width="100%",cols="<30%,<35%,35%",options="header",]
|
|
118
|
+
|===
|
|
119
|
+
|*Name* |*Type* |*Description*
|
|
120
|
+
|publicApi |`boolean` |Whether the construct is deploying a private or
|
|
121
|
+
public API. This has implications for the VPC.
|
|
122
|
+
|
|
123
|
+
|vpcProps?
|
|
124
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.VpcProps.html[`ec2.VpcProps`]
|
|
125
|
+
|Optional custom properties for a VPC the construct will create. This
|
|
126
|
+
VPC will be used by any Private Hosted Zone the construct creates
|
|
127
|
+
(that’s why loadBalancerProps and privateHostedZoneProps can’t include a
|
|
128
|
+
VPC). Providing both this and existingVpc is an error.
|
|
129
|
+
|
|
130
|
+
|existingVpc?
|
|
131
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html[`ec2.IVpc`]
|
|
132
|
+
|An existing VPC in which to deploy the construct. Providing both this
|
|
133
|
+
and vpcProps is an error. If the client provides an existing load
|
|
134
|
+
balancer and/or existing Private Hosted Zone, those constructs must
|
|
135
|
+
exist in this VPC.
|
|
136
|
+
|
|
137
|
+
|clusterProps?
|
|
138
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ClusterProps.html[`ecs.ClusterProps`]
|
|
139
|
+
|Optional properties to create a new ECS cluster. To provide an existing
|
|
140
|
+
cluster, use the cluster attribute of fargateServiceProps.
|
|
141
|
+
|
|
142
|
+
|ecrRepositoryArn? |`string` |The arn of an ECR Repository containing
|
|
143
|
+
the image to use to generate the containers. Either this or the image
|
|
144
|
+
property of containerDefinitionProps must be provided. format:
|
|
145
|
+
arn:aws:ecr:_region_:_account number_:repository/_Repository Name_
|
|
146
|
+
|
|
147
|
+
|ecrImageVersion? |`string` |The version of the image to use from the
|
|
148
|
+
repository. Defaults to '`Latest`'
|
|
149
|
+
|
|
150
|
+
|containerDefinitionProps?
|
|
151
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ContainerDefinitionProps.html[`ecs.ContainerDefinitionProps`] {vbar} any
|
|
152
|
+
|Optional props to define the container created for the Fargate Service
|
|
153
|
+
(defaults found in fargate-defaults.ts)
|
|
154
|
+
|
|
155
|
+
|fargateTaskDefinitionProps?
|
|
156
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.FargateTaskDefinitionProps.html[`ecs.FargateTaskDefinitionProps`] {vbar} any
|
|
157
|
+
|Optional props to define the Fargate Task Definition for this construct
|
|
158
|
+
(defaults found in fargate-defaults.ts)
|
|
159
|
+
|
|
160
|
+
|fargateServiceProps?
|
|
161
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.FargateServiceProps.html[`ecs.FargateServiceProps`] {vbar} any
|
|
162
|
+
|Optional values to override default Fargate Task definition properties
|
|
163
|
+
(fargate-defaults.ts). The construct will default to launching the
|
|
164
|
+
service is the most isolated subnets available (precedence: Isolated,
|
|
165
|
+
Private and Public). Override those and other defaults here.
|
|
166
|
+
|
|
167
|
+
|existingFargateServiceObject?
|
|
168
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.FargateService.html[`ecs.FargateService`]
|
|
169
|
+
|A Fargate Service already instantiated (probably by another Solutions
|
|
170
|
+
Construct). If this is specified, then no props defining a new service
|
|
171
|
+
can be provided, including: ecrImageVersion, containerDefinitionProps,
|
|
172
|
+
fargateTaskDefinitionProps, ecrRepositoryArn, fargateServiceProps,
|
|
173
|
+
clusterProps
|
|
174
|
+
|
|
175
|
+
|existingContainerDefinitionObject?
|
|
176
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ContainerDefinition.html[`ecs.ContainerDefinition`]
|
|
177
|
+
|A container definition already instantiated as part of a Fargate
|
|
178
|
+
service. This must be the container in the existingFargateServiceObject
|
|
179
|
+
|
|
180
|
+
|stateMachineProps
|
|
181
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.StateMachineProps.html[`sfn.StateMachineProps`]
|
|
182
|
+
|User provided props to override the default props for sfn.StateMachine.
|
|
183
|
+
|
|
184
|
+
|createCloudWatchAlarms? |`boolean` |Whether to create recommended
|
|
185
|
+
CloudWatch alarms. Default is true.
|
|
186
|
+
|
|
187
|
+
|logGroupProps?
|
|
188
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogGroupProps.html[`logs.LogGroupProps`]
|
|
189
|
+
|Optional user provided props to override the default props for for the
|
|
190
|
+
CloudWatchLogs LogGroup.
|
|
191
|
+
|
|
192
|
+
|stateMachineEnvironmentVariableName? |`string` |Optional Name for the
|
|
193
|
+
container environment variable set to the ARN of the state machine.
|
|
194
|
+
Default: STATE_MACHINE_ARN
|
|
195
|
+
|===
|
|
196
|
+
|
|
197
|
+
== Pattern Properties
|
|
198
|
+
|
|
199
|
+
[width="100%",cols="<30%,<35%,35%",options="header",]
|
|
200
|
+
|===
|
|
201
|
+
|*Name* |*Type* |*Description*
|
|
202
|
+
|vpc
|
|
203
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html[`ec2.IVpc`]
|
|
204
|
+
|The VPC used by the construct (whether created by the construct or
|
|
205
|
+
provided by the client)
|
|
206
|
+
|
|
207
|
+
|service
|
|
208
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.FargateService.html[`ecs.FargateService`]
|
|
209
|
+
|The AWS Fargate service used by this construct (whether created by this
|
|
210
|
+
construct or passed to this construct at initialization)
|
|
211
|
+
|
|
212
|
+
|container
|
|
213
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ContainerDefinition.html[`ecs.ContainerDefinition`]
|
|
214
|
+
|The container associated with the AWS Fargate service in the service
|
|
215
|
+
property.
|
|
216
|
+
|
|
217
|
+
|stateMachine
|
|
218
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.StateMachine.html[`sfn.StateMachine`]
|
|
219
|
+
|Returns an instance of `sfn.StateMachine` created by the construct.
|
|
220
|
+
|
|
221
|
+
|stateMachineLogGroup
|
|
222
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.ILogGroup.html[`logs.ILogGroup`]
|
|
223
|
+
|Returns an instance of the `logs.ILogGroup` created by the construct
|
|
224
|
+
for StateMachine.
|
|
225
|
+
|
|
226
|
+
|cloudwatchAlarms?
|
|
227
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudwatch.Alarm.html[`cloudwatch.Alarm[\]`]
|
|
228
|
+
|Returns a list of `cloudwatch.Alarm` created by the construct.
|
|
229
|
+
|===
|
|
230
|
+
|
|
231
|
+
== Default settings
|
|
232
|
+
|
|
233
|
+
Out of the box implementation of the Construct without any override will
|
|
234
|
+
set the following defaults:
|
|
235
|
+
|
|
236
|
+
=== AWS Fargate Service
|
|
237
|
+
|
|
238
|
+
* Sets up an AWS Fargate service
|
|
239
|
+
** Uses the existing service if provided
|
|
240
|
+
** Creates a new service if none provided.
|
|
241
|
+
*** Service will run in isolated subnets if available, then private
|
|
242
|
+
subnets if available and finally public subnets
|
|
243
|
+
* Adds an environment variable to the container containing the ARN of
|
|
244
|
+
the state machine
|
|
245
|
+
** Default name is `STATE_MACHINE_ARN`
|
|
246
|
+
* Add permissions to the container IAM role allowing it to start the
|
|
247
|
+
execution of a state machine
|
|
248
|
+
|
|
249
|
+
=== AWS Step Functions
|
|
250
|
+
|
|
251
|
+
* Sets up an AWS Step Functions state machine
|
|
252
|
+
** Uses an existing state machine if one is provided, otherwise creates
|
|
253
|
+
a new one
|
|
254
|
+
* Adds an Interface Endpoint to the VPC for Step Functions (the service
|
|
255
|
+
by default runs in Isolated or Private subnets)
|
|
256
|
+
* Enables CloudWatch logging
|
|
257
|
+
|
|
258
|
+
== Architecture
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
image::aws-fargate-stepfunctions.png["Diagram showing the Fargate service, State Machine, log group and IAM roles created by the construct",scaledwidth=100%]
|
|
262
|
+
|
|
263
|
+
// github block
|
|
264
|
+
|
|
265
|
+
'''''
|
|
266
|
+
|
|
267
|
+
© Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
package/README.md
CHANGED
|
@@ -1,142 +1 @@
|
|
|
1
|
-
|
|
2
|
-
<!--BEGIN STABILITY BANNER-->
|
|
3
|
-
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-

|
|
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|`aws_solutions_constructs.aws_fargate_stepfunctions`|
|
|
22
|
-
| Typescript|`@aws-solutions-constructs/aws-fargate-stepfunctions`|
|
|
23
|
-
| Java|`software.amazon.awsconstructs.services.fargatestepfunctions`|
|
|
24
|
-
|
|
25
|
-
## Overview
|
|
26
|
-
This AWS Solutions Construct implements an AWS Fargate service that can execute an AWS Step Functions state machine
|
|
27
|
-
|
|
28
|
-
Here is a minimal deployable pattern definition:
|
|
29
|
-
|
|
30
|
-
Typescript
|
|
31
|
-
``` typescript
|
|
32
|
-
import { Construct } from 'constructs';
|
|
33
|
-
import { Stack, StackProps } from 'aws-cdk-lib';
|
|
34
|
-
import { FargateToStepfunctions, FargateToStepfunctionsProps } from '@aws-solutions-constructs/aws-fargate-stepfunctions';
|
|
35
|
-
import * as stepfunctions from 'aws-cdk-lib/aws-stepfunctions';
|
|
36
|
-
|
|
37
|
-
const startState = new stepfunctions.Pass(this, 'StartState');
|
|
38
|
-
|
|
39
|
-
const constructProps: FargateToStepfunctionsProps = {
|
|
40
|
-
publicApi: true,
|
|
41
|
-
ecrRepositoryArn: "arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo",
|
|
42
|
-
stateMachineProps: {
|
|
43
|
-
definition: startState
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
new FargateToStepfunctions(this, 'test-construct', constructProps);
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Python
|
|
51
|
-
``` python
|
|
52
|
-
from aws_solutions_constructs.aws_fargate_stepfunctions import FargateToStepfunctions, FargateToStepfunctionsProps
|
|
53
|
-
from aws_cdk import (
|
|
54
|
-
aws_stepfunctions as stepfunctions,
|
|
55
|
-
Stack
|
|
56
|
-
)
|
|
57
|
-
from constructs import Construct
|
|
58
|
-
|
|
59
|
-
start_state = stepfunctions.Pass(self, 'start_state')
|
|
60
|
-
|
|
61
|
-
FargateToStepfunctions(self, 'test_construct',
|
|
62
|
-
public_api=True,
|
|
63
|
-
ecr_repository_arn="arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo",
|
|
64
|
-
state_machine_props=stepfunctions.StateMachineProps(
|
|
65
|
-
definition=start_state))
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
Java
|
|
69
|
-
``` java
|
|
70
|
-
import software.constructs.Construct;
|
|
71
|
-
|
|
72
|
-
import software.amazon.awscdk.Stack;
|
|
73
|
-
import software.amazon.awscdk.StackProps;
|
|
74
|
-
import software.amazon.awsconstructs.services.fargatestepfunctions.*;
|
|
75
|
-
import software.amazon.awscdk.services.stepfunctions.*;
|
|
76
|
-
|
|
77
|
-
start_state = stepfunctions.Pass(self, 'start_state')
|
|
78
|
-
|
|
79
|
-
new FargateToStepfunctions(this, "test-construct", new FargateToStepfunctionsProps.Builder()
|
|
80
|
-
.publicApi(true)
|
|
81
|
-
.ecrRepositoryArn("arn:aws:ecr:us-east-1:123456789012:repository/your-ecr-repo")
|
|
82
|
-
.stateMachineProps(new StateMachineProps.Builder()
|
|
83
|
-
.definition(startState)
|
|
84
|
-
.build()
|
|
85
|
-
.build());
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
## Pattern Construct Props
|
|
89
|
-
|
|
90
|
-
| **Name** | **Type** | **Description** |
|
|
91
|
-
|:-------------|:----------------|-----------------|
|
|
92
|
-
| publicApi | `boolean` | Whether the construct is deploying a private or public API. This has implications for the VPC. |
|
|
93
|
-
| vpcProps? | [`ec2.VpcProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.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. |
|
|
94
|
-
| existingVpc? | [`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.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. |
|
|
95
|
-
| clusterProps? | [`ecs.ClusterProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ClusterProps.html) | Optional properties to create a new ECS cluster. To provide an existing cluster, use the cluster attribute of fargateServiceProps. |
|
|
96
|
-
| 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* |
|
|
97
|
-
| ecrImageVersion? | `string` | The version of the image to use from the repository. Defaults to 'Latest' |
|
|
98
|
-
| containerDefinitionProps? | [`ecs.ContainerDefinitionProps \| any`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ContainerDefinitionProps.html) | Optional props to define the container created for the Fargate Service (defaults found in fargate-defaults.ts) |
|
|
99
|
-
| fargateTaskDefinitionProps? | [`ecs.FargateTaskDefinitionProps \| any`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.FargateTaskDefinitionProps.html) | Optional props to define the Fargate Task Definition for this construct (defaults found in fargate-defaults.ts) |
|
|
100
|
-
| fargateServiceProps? | [`ecs.FargateServiceProps \| any`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.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. |
|
|
101
|
-
|existingFargateServiceObject? | [`ecs.FargateService`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.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 |
|
|
102
|
-
|existingContainerDefinitionObject? | [`ecs.ContainerDefinition`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ContainerDefinition.html) | A container definition already instantiated as part of a Fargate service. This must be the container in the existingFargateServiceObject |
|
|
103
|
-
|stateMachineProps|[`sfn.StateMachineProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.StateMachineProps.html)|User provided props to override the default props for sfn.StateMachine.|
|
|
104
|
-
| createCloudWatchAlarms? | `boolean`|Whether to create recommended CloudWatch alarms. Default is true.|
|
|
105
|
-
|logGroupProps?|[`logs.LogGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogGroupProps.html)|Optional user provided props to override the default props for for the CloudWatchLogs LogGroup.|
|
|
106
|
-
|stateMachineEnvironmentVariableName?|`string`|Optional Name for the container environment variable set to the ARN of the state machine. Default: STATE_MACHINE_ARN |
|
|
107
|
-
|
|
108
|
-
## Pattern Properties
|
|
109
|
-
|
|
110
|
-
| **Name** | **Type** | **Description** |
|
|
111
|
-
|:-------------|:----------------|-----------------|
|
|
112
|
-
| vpc | [`ec2.IVpc`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html) | The VPC used by the construct (whether created by the construct or provided by the client) |
|
|
113
|
-
| service | [`ecs.FargateService`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.FargateService.html) | The AWS Fargate service used by this construct (whether created by this construct or passed to this construct at initialization) |
|
|
114
|
-
| container | [`ecs.ContainerDefinition`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ContainerDefinition.html) | The container associated with the AWS Fargate service in the service property. |
|
|
115
|
-
| stateMachine| [`sfn.StateMachine`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.StateMachine.html)|Returns an instance of `sfn.StateMachine` created by the construct.|
|
|
116
|
-
| stateMachineLogGroup|[`logs.ILogGroup`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.ILogGroup.html)|Returns an instance of the `logs.ILogGroup` created by the construct for StateMachine.|
|
|
117
|
-
| cloudwatchAlarms? | [`cloudwatch.Alarm[]`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudwatch.Alarm.html)|Returns a list of `cloudwatch.Alarm` created by the construct.|
|
|
118
|
-
|
|
119
|
-
## Default settings
|
|
120
|
-
|
|
121
|
-
Out of the box implementation of the Construct without any override will set the following defaults:
|
|
122
|
-
|
|
123
|
-
### AWS Fargate Service
|
|
124
|
-
* Sets up an AWS Fargate service
|
|
125
|
-
* Uses the existing service if provided
|
|
126
|
-
* Creates a new service if none provided.
|
|
127
|
-
* Service will run in isolated subnets if available, then private subnets if available and finally public subnets
|
|
128
|
-
* Adds an environment variable to the container containing the ARN of the state machine
|
|
129
|
-
* Default name is `STATE_MACHINE_ARN`
|
|
130
|
-
* Add permissions to the container IAM role allowing it to start the execution of a state machine
|
|
131
|
-
|
|
132
|
-
### AWS Step Functions
|
|
133
|
-
* Sets up an AWS Step Functions state machine
|
|
134
|
-
* Uses an existing state machine if one is provided, otherwise creates a new one
|
|
135
|
-
* Adds an Interface Endpoint to the VPC for Step Functions (the service by default runs in Isolated or Private subnets)
|
|
136
|
-
* Enables CloudWatch logging
|
|
137
|
-
|
|
138
|
-
## Architecture
|
|
139
|
-

|
|
140
|
-
|
|
141
|
-
***
|
|
142
|
-
© Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
1
|
+
Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-fargate-stepfunctions/README.adoc)
|
package/lib/index.js
CHANGED
|
@@ -65,5 +65,5 @@ class FargateToStepfunctions extends constructs_1.Construct {
|
|
|
65
65
|
}
|
|
66
66
|
exports.FargateToStepfunctions = FargateToStepfunctions;
|
|
67
67
|
_a = JSII_RTTI_SYMBOL_1;
|
|
68
|
-
FargateToStepfunctions[_a] = { fqn: "@aws-solutions-constructs/aws-fargate-stepfunctions.FargateToStepfunctions", version: "2.85.
|
|
68
|
+
FargateToStepfunctions[_a] = { fqn: "@aws-solutions-constructs/aws-fargate-stepfunctions.FargateToStepfunctions", version: "2.85.3" };
|
|
69
69
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBOzs7Ozs7Ozs7OztHQVdHO0FBRUgsd0ZBQXdGO0FBQ3hGLDJDQUF1QztBQUN2QywyREFBMkQ7QUFtSDNELE1BQWEsc0JBQXVCLFNBQVEsc0JBQVM7SUFRbkQsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUFrQztRQUMxRSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBQ2pCLFFBQVEsQ0FBQyxpQkFBaUIsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUNsQyxRQUFRLENBQUMsYUFBYSxDQUFDLEtBQUssQ0FBQyxDQUFDO1FBQzlCLFFBQVEsQ0FBQyxzQkFBc0IsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUV2QyxJQUFJLENBQUMsR0FBRyxHQUFHLFFBQVEsQ0FBQyxRQUFRLENBQUMsS0FBSyxFQUFFO1lBQ2xDLFdBQVcsRUFBRSxLQUFLLENBQUMsV0FBVztZQUM5QixlQUFlLEVBQUUsS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W5lID0gYnVpbGRTdGF0ZU1hY2hpbmVSZXNwb25zZS5zdGF0ZU1hY2hpbmU7XG4gICAgdGhpcy5zdGF0ZU1hY2hpbmVMb2dHcm91cCA9IGJ1aWxkU3RhdGVNYWNoaW5lUmVzcG9uc2UubG9nR3JvdXA7XG4gICAgdGhpcy5jbG91ZHdhdGNoQWxhcm1zID0gYnVpbGRTdGF0ZU1hY2hpbmVSZXNwb25zZS5jbG91ZFdhdGNoQWxhcm1zO1xuXG4gICAgdGhpcy5zdGF0ZU1hY2hpbmUuZ3JhbnRTdGFydEV4ZWN1dGlvbih0aGlzLnNlcnZpY2UudGFza0RlZmluaXRpb24udGFza1JvbGUpO1xuXG4gICAgLy8gQWRkIGVudmlyb25tZW50IHZhcmlhYmxlXG4gICAgY29uc3Qgc3RhdGVNYWNoaW5lRW52aXJvbm1lbnRWYXJpYWJsZU5hbWUgPSBwcm9wcy5zdGF0ZU1hY2hpbmVFbnZpcm9ubWVudFZhcmlhYmxlTmFtZSB8fCAnU1RBVEVfTUFDSElORV9BUk4nO1xuICAgIHRoaXMuY29udGFpbmVyLmFkZEVudmlyb25tZW50KHN0YXRlTWFjaGluZUVudmlyb25tZW50VmFyaWFibGVOYW1lLCB0aGlzLnN0YXRlTWFjaGluZS5zdGF0ZU1hY2hpbmVBcm4pO1xuICB9XG59XG4iXX0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-solutions-constructs/aws-fargate-stepfunctions",
|
|
3
|
-
"version": "2.85.
|
|
3
|
+
"version": "2.85.3",
|
|
4
4
|
"description": "CDK Constructs for AWS Fargate to Amazon Step Functions integration",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -22,12 +22,13 @@
|
|
|
22
22
|
"test": "jest --coverage",
|
|
23
23
|
"clean": "tsc -b --clean",
|
|
24
24
|
"watch": "tsc -b -w",
|
|
25
|
+
"asciidoc": "asciidoctor --failure-level WARNING -o /dev/null README.adoc",
|
|
25
26
|
"integ": "integ-runner --update-on-failed",
|
|
26
27
|
"integ-no-clean": "integ-runner --update-on-failed --no-clean",
|
|
27
28
|
"integ-assert": "integ-runner",
|
|
28
29
|
"jsii": "jsii",
|
|
29
30
|
"jsii-pacmak": "jsii-pacmak",
|
|
30
|
-
"build+lint+test": "npm run jsii && npm run lint && npm test && npm run integ-assert",
|
|
31
|
+
"build+lint+test": "npm run jsii && npm run lint && npm run asciidoc && npm test && npm run integ-assert",
|
|
31
32
|
"blt": "npm run build+lint+test",
|
|
32
33
|
"snapshot-update": "npm run jsii && npm test -- -u && npm run integ-assert"
|
|
33
34
|
},
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
}
|
|
55
56
|
},
|
|
56
57
|
"dependencies": {
|
|
57
|
-
"@aws-solutions-constructs/core": "2.85.
|
|
58
|
+
"@aws-solutions-constructs/core": "2.85.3",
|
|
58
59
|
"constructs": "^10.0.0"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
]
|
|
79
80
|
},
|
|
80
81
|
"peerDependencies": {
|
|
81
|
-
"@aws-solutions-constructs/core": "2.85.
|
|
82
|
+
"@aws-solutions-constructs/core": "2.85.3",
|
|
82
83
|
"constructs": "^10.0.0",
|
|
83
84
|
"aws-cdk-lib": "^2.193.0"
|
|
84
85
|
},
|
|
File without changes
|