@aws-solutions-constructs/aws-fargate-stepfunctions 2.25.0 → 2.26.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/.jsii CHANGED
@@ -8,8 +8,8 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "@aws-solutions-constructs/core": "2.25.0",
12
- "aws-cdk-lib": "^2.37.1",
11
+ "@aws-solutions-constructs/core": "2.26.0",
12
+ "aws-cdk-lib": "^2.45.0",
13
13
  "constructs": "^10.0.0"
14
14
  },
15
15
  "dependencyClosure": {
@@ -755,6 +755,32 @@
755
755
  }
756
756
  }
757
757
  },
758
+ "aws-cdk-lib.aws_connectcampaigns": {
759
+ "targets": {
760
+ "dotnet": {
761
+ "namespace": "Amazon.CDK.AWS.ConnectCampaigns"
762
+ },
763
+ "java": {
764
+ "package": "software.amazon.awscdk.services.connectcampaigns"
765
+ },
766
+ "python": {
767
+ "module": "aws_cdk.aws_connectcampaigns"
768
+ }
769
+ }
770
+ },
771
+ "aws-cdk-lib.aws_controltower": {
772
+ "targets": {
773
+ "dotnet": {
774
+ "namespace": "Amazon.CDK.AWS.ControlTower"
775
+ },
776
+ "java": {
777
+ "package": "software.amazon.awscdk.services.controltower"
778
+ },
779
+ "python": {
780
+ "module": "aws_cdk.aws_controltower"
781
+ }
782
+ }
783
+ },
758
784
  "aws-cdk-lib.aws_cur": {
759
785
  "targets": {
760
786
  "dotnet": {
@@ -1522,6 +1548,19 @@
1522
1548
  }
1523
1549
  }
1524
1550
  },
1551
+ "aws-cdk-lib.aws_iotfleetwise": {
1552
+ "targets": {
1553
+ "dotnet": {
1554
+ "namespace": "Amazon.CDK.AWS.IoTFleetWise"
1555
+ },
1556
+ "java": {
1557
+ "package": "software.amazon.awscdk.services.iotfleetwise"
1558
+ },
1559
+ "python": {
1560
+ "module": "aws_cdk.aws_iotfleetwise"
1561
+ }
1562
+ }
1563
+ },
1525
1564
  "aws-cdk-lib.aws_iotsitewise": {
1526
1565
  "targets": {
1527
1566
  "dotnet": {
@@ -1873,6 +1912,19 @@
1873
1912
  }
1874
1913
  }
1875
1914
  },
1915
+ "aws-cdk-lib.aws_m2": {
1916
+ "targets": {
1917
+ "dotnet": {
1918
+ "namespace": "Amazon.CDK.AWS.M2"
1919
+ },
1920
+ "java": {
1921
+ "package": "software.amazon.awscdk.services.m2"
1922
+ },
1923
+ "python": {
1924
+ "module": "aws_cdk.aws_m2"
1925
+ }
1926
+ }
1927
+ },
1876
1928
  "aws-cdk-lib.aws_macie": {
1877
1929
  "targets": {
1878
1930
  "dotnet": {
@@ -2302,6 +2354,19 @@
2302
2354
  }
2303
2355
  }
2304
2356
  },
2357
+ "aws-cdk-lib.aws_rolesanywhere": {
2358
+ "targets": {
2359
+ "dotnet": {
2360
+ "namespace": "Amazon.CDK.AWS.RolesAnywhere"
2361
+ },
2362
+ "java": {
2363
+ "package": "software.amazon.awscdk.services.rolesanywhere"
2364
+ },
2365
+ "python": {
2366
+ "module": "aws_cdk.aws_rolesanywhere"
2367
+ }
2368
+ }
2369
+ },
2305
2370
  "aws-cdk-lib.aws_route53": {
2306
2371
  "targets": {
2307
2372
  "dotnet": {
@@ -2731,6 +2796,19 @@
2731
2796
  }
2732
2797
  }
2733
2798
  },
2799
+ "aws-cdk-lib.aws_supportapp": {
2800
+ "targets": {
2801
+ "dotnet": {
2802
+ "namespace": "Amazon.CDK.AWS.SupportApp"
2803
+ },
2804
+ "java": {
2805
+ "package": "software.amazon.awscdk.services.supportapp"
2806
+ },
2807
+ "python": {
2808
+ "module": "aws_cdk.aws_supportapp"
2809
+ }
2810
+ }
2811
+ },
2734
2812
  "aws-cdk-lib.aws_synthetics": {
2735
2813
  "targets": {
2736
2814
  "dotnet": {
@@ -3046,7 +3124,7 @@
3046
3124
  },
3047
3125
  "description": "CDK Constructs for AWS Fargate to Amazon Step Functions integration",
3048
3126
  "homepage": "https://github.com/awslabs/aws-solutions-constructs.git",
3049
- "jsiiVersion": "1.67.0 (build 2c027f5)",
3127
+ "jsiiVersion": "1.69.0 (build f656c31)",
3050
3128
  "keywords": [
3051
3129
  "aws",
3052
3130
  "cdk",
@@ -3065,7 +3143,7 @@
3065
3143
  },
3066
3144
  "name": "@aws-solutions-constructs/aws-fargate-stepfunctions",
3067
3145
  "readme": {
3068
- "markdown": "# aws-fargate-stepfunctions module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Experimental](https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge)\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 Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_fargate_stepfunctions`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-fargate-stepfunctions`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) 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/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. |\n| 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. |\n| 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. |\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/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) |\n| 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) |\n| 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. |\n|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 |\n|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 |\n|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.|\n| createCloudWatchAlarms? | `boolean`|Whether to create recommended CloudWatch alarms. Default is true.|\n|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.|\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/latest/docs/@aws-cdk_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/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) |\n| 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. |\n| 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.|\n| 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.|\n| 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.|\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![Architecture Diagram](architecture.png)\n\n***\n&copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
3146
+ "markdown": "# aws-fargate-stepfunctions module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Experimental](https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge)\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 Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_fargate_stepfunctions`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-fargate-stepfunctions`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) 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![Architecture Diagram](architecture.png)\n\n***\n&copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
3069
3147
  },
3070
3148
  "repository": {
3071
3149
  "directory": "source/patterns/@aws-solutions-constructs/aws-fargate-stepfunctions",
@@ -3467,6 +3545,6 @@
3467
3545
  "symbolId": "lib/index:FargateToStepfunctionsProps"
3468
3546
  }
3469
3547
  },
3470
- "version": "2.25.0",
3471
- "fingerprint": "Y581yY+FaZlCxdj/mJlDJsQYRN1uK9D1blOtICpHSvs="
3548
+ "version": "2.26.0",
3549
+ "fingerprint": "hJhOHVtYZhRtpgxs56vIZJRV8JFluEEkAnqGjIWC2B4="
3472
3550
  }
package/README.md CHANGED
@@ -90,31 +90,31 @@ new FargateToStepfunctions(this, "test-construct", new FargateToStepfunctionsPro
90
90
  | **Name** | **Type** | **Description** |
91
91
  |:-------------|:----------------|-----------------|
92
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/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. |
94
- | 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. |
95
- | 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. |
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
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
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/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) |
99
- | 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) |
100
- | 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. |
101
- |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 |
102
- |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 |
103
- |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.|
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
104
  | createCloudWatchAlarms? | `boolean`|Whether to create recommended CloudWatch alarms. Default is true.|
105
- |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
+ |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
106
  |stateMachineEnvironmentVariableName?|`string`|Optional Name for the container environment variable set to the ARN of the state machine. Default: STATE_MACHINE_ARN |
107
107
 
108
108
  ## Pattern Properties
109
109
 
110
110
  | **Name** | **Type** | **Description** |
111
111
  |:-------------|:----------------|-----------------|
112
- | 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) |
113
- | 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) |
114
- | 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. |
115
- | 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.|
116
- | 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.|
117
- | 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.|
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
118
 
119
119
  ## Default settings
120
120
 
package/lib/index.js CHANGED
@@ -51,5 +51,5 @@ class FargateToStepfunctions extends constructs_1.Construct {
51
51
  }
52
52
  exports.FargateToStepfunctions = FargateToStepfunctions;
53
53
  _a = JSII_RTTI_SYMBOL_1;
54
- FargateToStepfunctions[_a] = { fqn: "@aws-solutions-constructs/aws-fargate-stepfunctions.FargateToStepfunctions", version: "2.25.0" };
54
+ FargateToStepfunctions[_a] = { fqn: "@aws-solutions-constructs/aws-fargate-stepfunctions.FargateToStepfunctions", version: "2.26.0" };
55
55
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBOzs7Ozs7Ozs7OztHQVdHO0FBRUgsd0ZBQXdGO0FBQ3hGLDJDQUF1QztBQUN2QywyREFBMkQ7QUFxSDNELE1BQWEsc0JBQXVCLFNBQVEsc0JBQVM7SUFRbkQsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUFrQztRQUMxRSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBQ2pCLFFBQVEsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDLENBQUM7UUFDM0IsUUFBUSxDQUFDLGlCQUFpQixDQUFDLEtBQUssQ0FBQyxDQUFD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YWNoaW5lQXJuKTtcbiAgfVxufVxuIl19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-solutions-constructs/aws-fargate-stepfunctions",
3
- "version": "2.25.0",
3
+ "version": "2.26.0",
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",
@@ -53,14 +53,14 @@
53
53
  }
54
54
  },
55
55
  "dependencies": {
56
- "@aws-solutions-constructs/core": "2.25.0"
56
+ "@aws-solutions-constructs/core": "2.26.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-cdk/assert": "2.37.1",
60
- "@aws-solutions-constructs/core": "2.25.0",
59
+ "@aws-cdk/assert": "2.45.0",
60
+ "@aws-solutions-constructs/core": "2.26.0",
61
61
  "@types/jest": "^26.0.22",
62
62
  "@types/node": "^10.3.0",
63
- "aws-cdk-lib": "2.37.1",
63
+ "aws-cdk-lib": "2.45.0",
64
64
  "constructs": "^10.0.0"
65
65
  },
66
66
  "jest": {
@@ -78,8 +78,8 @@
78
78
  ]
79
79
  },
80
80
  "peerDependencies": {
81
- "@aws-solutions-constructs/core": "2.25.0",
82
- "aws-cdk-lib": "^2.37.1",
81
+ "@aws-solutions-constructs/core": "2.26.0",
82
+ "aws-cdk-lib": "^2.45.0",
83
83
  "constructs": "^10.0.0"
84
84
  },
85
85
  "keywords": [
@@ -121,7 +121,11 @@
121
121
  "Value": "new-resources/Vpc/PublicSubnet1"
122
122
  }
123
123
  ]
124
- }
124
+ },
125
+ "DependsOn": [
126
+ "VpcPublicSubnet1DefaultRoute3DA9E72A",
127
+ "VpcPublicSubnet1RouteTableAssociation97140677"
128
+ ]
125
129
  },
126
130
  "VpcPublicSubnet2Subnet691E08A3": {
127
131
  "Type": "AWS::EC2::Subnet",
@@ -228,7 +232,11 @@
228
232
  "Value": "new-resources/Vpc/PublicSubnet2"
229
233
  }
230
234
  ]
231
- }
235
+ },
236
+ "DependsOn": [
237
+ "VpcPublicSubnet2DefaultRoute97F91067",
238
+ "VpcPublicSubnet2RouteTableAssociationDD5762D8"
239
+ ]
232
240
  },
233
241
  "VpcPublicSubnet3SubnetBE12F0B6": {
234
242
  "Type": "AWS::EC2::Subnet",
@@ -335,7 +343,11 @@
335
343
  "Value": "new-resources/Vpc/PublicSubnet3"
336
344
  }
337
345
  ]
338
- }
346
+ },
347
+ "DependsOn": [
348
+ "VpcPublicSubnet3DefaultRoute4697774F",
349
+ "VpcPublicSubnet3RouteTableAssociation1F1EDF02"
350
+ ]
339
351
  },
340
352
  "VpcPrivateSubnet1Subnet536B997A": {
341
353
  "Type": "AWS::EC2::Subnet",
@@ -121,7 +121,11 @@
121
121
  "Value": "no-cloudwatch-alarms/Vpc/PublicSubnet1"
122
122
  }
123
123
  ]
124
- }
124
+ },
125
+ "DependsOn": [
126
+ "VpcPublicSubnet1DefaultRoute3DA9E72A",
127
+ "VpcPublicSubnet1RouteTableAssociation97140677"
128
+ ]
125
129
  },
126
130
  "VpcPublicSubnet2Subnet691E08A3": {
127
131
  "Type": "AWS::EC2::Subnet",
@@ -228,7 +232,11 @@
228
232
  "Value": "no-cloudwatch-alarms/Vpc/PublicSubnet2"
229
233
  }
230
234
  ]
231
- }
235
+ },
236
+ "DependsOn": [
237
+ "VpcPublicSubnet2DefaultRoute97F91067",
238
+ "VpcPublicSubnet2RouteTableAssociationDD5762D8"
239
+ ]
232
240
  },
233
241
  "VpcPublicSubnet3SubnetBE12F0B6": {
234
242
  "Type": "AWS::EC2::Subnet",
@@ -335,7 +343,11 @@
335
343
  "Value": "no-cloudwatch-alarms/Vpc/PublicSubnet3"
336
344
  }
337
345
  ]
338
- }
346
+ },
347
+ "DependsOn": [
348
+ "VpcPublicSubnet3DefaultRoute4697774F",
349
+ "VpcPublicSubnet3RouteTableAssociation1F1EDF02"
350
+ ]
339
351
  },
340
352
  "VpcPrivateSubnet1Subnet536B997A": {
341
353
  "Type": "AWS::EC2::Subnet",