@aws-solutions-constructs/aws-fargate-kinesisstreams 2.94.0 → 2.95.1

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.
Files changed (66) hide show
  1. package/.jsii +31 -5
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.farkin-existingFargateService.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  5. package/test/integ.farkin-existingFargateService.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  6. package/test/integ.farkin-existingFargateService.js.snapshot/cdk.out +1 -1
  7. package/test/integ.farkin-existingFargateService.js.snapshot/farkin-existingFargateService.assets.json +4 -4
  8. package/test/integ.farkin-existingFargateService.js.snapshot/farkin-existingFargateService.template.json +0 -10
  9. package/test/integ.farkin-existingFargateService.js.snapshot/farkinexistingFargateServiceIntegDefaultTestDeployAssertF1F4EC2C.assets.json +1 -1
  10. package/test/integ.farkin-existingFargateService.js.snapshot/integ.json +2 -2
  11. package/test/integ.farkin-existingFargateService.js.snapshot/manifest.json +75 -65
  12. package/test/integ.farkin-existingFargateService.js.snapshot/tree.json +1 -1
  13. package/test/integ.farkin-existingStream.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  14. package/test/integ.farkin-existingStream.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  15. package/test/integ.farkin-existingStream.js.snapshot/cdk.out +1 -1
  16. package/test/integ.farkin-existingStream.js.snapshot/farkin-existingStream.assets.json +4 -4
  17. package/test/integ.farkin-existingStream.js.snapshot/farkin-existingStream.template.json +0 -10
  18. package/test/integ.farkin-existingStream.js.snapshot/farkinexistingStreamIntegDefaultTestDeployAssert24640A36.assets.json +1 -1
  19. package/test/integ.farkin-existingStream.js.snapshot/integ.json +2 -2
  20. package/test/integ.farkin-existingStream.js.snapshot/manifest.json +75 -65
  21. package/test/integ.farkin-existingStream.js.snapshot/tree.json +1 -1
  22. package/test/integ.farkin-existingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  23. package/test/integ.farkin-existingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  24. package/test/integ.farkin-existingVpc.js.snapshot/cdk.out +1 -1
  25. package/test/integ.farkin-existingVpc.js.snapshot/farkin-existingVpc.assets.json +4 -4
  26. package/test/integ.farkin-existingVpc.js.snapshot/farkin-existingVpc.template.json +0 -10
  27. package/test/integ.farkin-existingVpc.js.snapshot/farkinexistingVpcIntegDefaultTestDeployAssert8065A04A.assets.json +1 -1
  28. package/test/integ.farkin-existingVpc.js.snapshot/integ.json +2 -2
  29. package/test/integ.farkin-existingVpc.js.snapshot/manifest.json +75 -65
  30. package/test/integ.farkin-existingVpc.js.snapshot/tree.json +1 -1
  31. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  32. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  33. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/cdk.out +1 -1
  34. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/farkin-fargateServiceFromProps.assets.json +4 -4
  35. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/farkin-fargateServiceFromProps.template.json +0 -10
  36. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/farkinfargateServiceFromPropsIntegDefaultTestDeployAssert5047AEA2.assets.json +1 -1
  37. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/integ.json +2 -2
  38. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/manifest.json +75 -65
  39. package/test/integ.farkin-fargateServiceFromProps.js.snapshot/tree.json +1 -1
  40. package/test/integ.farkin-noArguments.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  41. package/test/integ.farkin-noArguments.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  42. package/test/integ.farkin-noArguments.js.snapshot/cdk.out +1 -1
  43. package/test/integ.farkin-noArguments.js.snapshot/farkin-noArguments.assets.json +4 -4
  44. package/test/integ.farkin-noArguments.js.snapshot/farkin-noArguments.template.json +0 -10
  45. package/test/integ.farkin-noArguments.js.snapshot/farkinnoArgumentsIntegDefaultTestDeployAssert5E204AE6.assets.json +1 -1
  46. package/test/integ.farkin-noArguments.js.snapshot/integ.json +2 -2
  47. package/test/integ.farkin-noArguments.js.snapshot/manifest.json +75 -65
  48. package/test/integ.farkin-noArguments.js.snapshot/tree.json +1 -1
  49. package/test/integ.farkin-streamFromProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  50. package/test/integ.farkin-streamFromProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  51. package/test/integ.farkin-streamFromProps.js.snapshot/cdk.out +1 -1
  52. package/test/integ.farkin-streamFromProps.js.snapshot/farkin-streamFromProps.assets.json +4 -4
  53. package/test/integ.farkin-streamFromProps.js.snapshot/farkin-streamFromProps.template.json +0 -10
  54. package/test/integ.farkin-streamFromProps.js.snapshot/farkinstreamFromPropsIntegDefaultTestDeployAssertF891650B.assets.json +1 -1
  55. package/test/integ.farkin-streamFromProps.js.snapshot/integ.json +2 -2
  56. package/test/integ.farkin-streamFromProps.js.snapshot/manifest.json +75 -65
  57. package/test/integ.farkin-streamFromProps.js.snapshot/tree.json +1 -1
  58. package/test/integ.farkin-vpcFromProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  59. package/test/integ.farkin-vpcFromProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  60. package/test/integ.farkin-vpcFromProps.js.snapshot/cdk.out +1 -1
  61. package/test/integ.farkin-vpcFromProps.js.snapshot/farkin-vpcFromProps.assets.json +4 -4
  62. package/test/integ.farkin-vpcFromProps.js.snapshot/farkin-vpcFromProps.template.json +0 -10
  63. package/test/integ.farkin-vpcFromProps.js.snapshot/farkinvpcFromPropsIntegDefaultTestDeployAssert05CE38D4.assets.json +1 -1
  64. package/test/integ.farkin-vpcFromProps.js.snapshot/integ.json +2 -2
  65. package/test/integ.farkin-vpcFromProps.js.snapshot/manifest.json +75 -65
  66. package/test/integ.farkin-vpcFromProps.js.snapshot/tree.json +1 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "45.0.0",
2
+ "version": "48.0.0",
3
3
  "files": {
4
4
  "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
5
  "displayName": "farkinfargateServiceFromPropsIntegDefaultTestDeployAssert5047AEA2 Template",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "45.0.0",
2
+ "version": "48.0.0",
3
3
  "testCases": {
4
4
  "farkin-fargateServiceFromProps/Integ/DefaultTest": {
5
5
  "stacks": [
@@ -9,5 +9,5 @@
9
9
  "assertionStackName": "farkinfargateServiceFromPropsIntegDefaultTestDeployAssert5047AEA2"
10
10
  }
11
11
  },
12
- "minimumCliVersion": "2.1020.2"
12
+ "minimumCliVersion": "2.1029.2"
13
13
  }
@@ -66,7 +66,7 @@
66
66
  "validateOnSynth": false,
67
67
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
68
68
  "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
69
- "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/3c886e684317be9fc78994f958ec4703215b01a3b4d2eef2cc2b29cc0f4959e7.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/f2a1af6dad0b7eab6ab21c3ce30dcfcf5a6ca0f3540fe832b85ce9b24e0748a7.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -101,7 +101,8 @@
101
101
  "type": "aws:cdk:analytics:construct",
102
102
  "data": {
103
103
  "metric": {
104
- "warnings": "*"
104
+ "warnings": "*",
105
+ "warningsV2": "*"
105
106
  },
106
107
  "threshold": "*",
107
108
  "evaluationPeriods": "*",
@@ -121,7 +122,8 @@
121
122
  "type": "aws:cdk:analytics:construct",
122
123
  "data": {
123
124
  "metric": {
124
- "warnings": "*"
125
+ "warnings": "*",
126
+ "warningsV2": "*"
125
127
  },
126
128
  "threshold": "*",
127
129
  "evaluationPeriods": "*",
@@ -465,14 +467,6 @@
465
467
  "*"
466
468
  ]
467
469
  }
468
- },
469
- {
470
- "type": "aws:cdk:analytics:method",
471
- "data": {
472
- "addToPrincipalPolicy": [
473
- {}
474
- ]
475
- }
476
470
  }
477
471
  ],
478
472
  "/farkin-fargateServiceFromProps/Vpc/FlowLog/IAMRole/ImportIAMRole": [
@@ -508,14 +502,6 @@
508
502
  ]
509
503
  }
510
504
  },
511
- {
512
- "type": "aws:cdk:analytics:method",
513
- "data": {
514
- "addStatements": [
515
- {}
516
- ]
517
- }
518
- },
519
505
  {
520
506
  "type": "aws:cdk:analytics:method",
521
507
  "data": {
@@ -555,9 +541,9 @@
555
541
  "data": {
556
542
  "vpc": "*",
557
543
  "service": {
558
- "privateDnsDefault": true,
559
544
  "name": "*",
560
- "port": "*"
545
+ "port": "*",
546
+ "privateDnsDefault": true
561
547
  },
562
548
  "securityGroups": [
563
549
  "*"
@@ -577,9 +563,9 @@
577
563
  "data": {
578
564
  "vpc": "*",
579
565
  "service": {
580
- "privateDnsDefault": true,
581
566
  "name": "*",
582
- "port": "*"
567
+ "port": "*",
568
+ "privateDnsDefault": true
583
569
  },
584
570
  "securityGroups": [
585
571
  "*"
@@ -599,9 +585,9 @@
599
585
  "data": {
600
586
  "vpc": "*",
601
587
  "service": {
602
- "privateDnsDefault": true,
603
588
  "name": "*",
604
- "port": "*"
589
+ "port": "*",
590
+ "privateDnsDefault": true
605
591
  },
606
592
  "securityGroups": [
607
593
  "*"
@@ -957,57 +943,48 @@
957
943
  "properties": {
958
944
  "module": "aws-cdk-lib",
959
945
  "flags": {
960
- "@aws-cdk/core:enableStackNameDuplicates": {
961
- "recommendedValue": true,
962
- "explanation": "Allow multiple stacks with the same name"
963
- },
964
- "aws-cdk:enableDiffNoFail": {
946
+ "@aws-cdk/aws-signer:signingProfileNamePassedToCfn": {
965
947
  "recommendedValue": true,
966
- "explanation": "Make `cdk diff` not fail when there are differences"
948
+ "explanation": "Pass signingProfileName to CfnSigningProfile"
967
949
  },
968
950
  "@aws-cdk/core:newStyleStackSynthesis": {
969
951
  "recommendedValue": true,
970
- "explanation": "Switch to new stack synthesis method which enables CI/CD"
952
+ "explanation": "Switch to new stack synthesis method which enables CI/CD",
953
+ "unconfiguredBehavesLike": {
954
+ "v2": true
955
+ }
971
956
  },
972
957
  "@aws-cdk/core:stackRelativeExports": {
973
958
  "recommendedValue": true,
974
- "explanation": "Name exports based on the construct paths relative to the stack, rather than the global construct path"
975
- },
976
- "@aws-cdk/aws-ecr-assets:dockerIgnoreSupport": {
977
- "recommendedValue": true,
978
- "explanation": "DockerImageAsset properly supports `.dockerignore` files by default"
979
- },
980
- "@aws-cdk/aws-secretsmanager:parseOwnedSecretName": {
981
- "recommendedValue": true,
982
- "explanation": "Fix the referencing of SecretsManager names from ARNs"
983
- },
984
- "@aws-cdk/aws-kms:defaultKeyPolicies": {
985
- "recommendedValue": true,
986
- "explanation": "Tighten default KMS key policies"
987
- },
988
- "@aws-cdk/aws-s3:grantWriteWithoutAcl": {
989
- "recommendedValue": true,
990
- "explanation": "Remove `PutObjectAcl` from Bucket.grantWrite"
959
+ "explanation": "Name exports based on the construct paths relative to the stack, rather than the global construct path",
960
+ "unconfiguredBehavesLike": {
961
+ "v2": true
962
+ }
991
963
  },
992
- "@aws-cdk/aws-ecs-patterns:removeDefaultDesiredCount": {
964
+ "@aws-cdk/aws-ecs-patterns:secGroupsDisablesImplicitOpenListener": {
993
965
  "recommendedValue": true,
994
- "explanation": "Do not specify a default DesiredCount for ECS services"
966
+ "explanation": "Disable implicit openListener when custom security groups are provided"
995
967
  },
996
968
  "@aws-cdk/aws-rds:lowercaseDbIdentifier": {
997
969
  "recommendedValue": true,
998
- "explanation": "Force lowercasing of RDS Cluster names in CDK"
970
+ "explanation": "Force lowercasing of RDS Cluster names in CDK",
971
+ "unconfiguredBehavesLike": {
972
+ "v2": true
973
+ }
999
974
  },
1000
975
  "@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": {
1001
976
  "recommendedValue": true,
1002
- "explanation": "Allow adding/removing multiple UsagePlanKeys independently"
1003
- },
1004
- "@aws-cdk/aws-efs:defaultEncryptionAtRest": {
1005
- "recommendedValue": true,
1006
- "explanation": "Enable this feature flag to have elastic file systems encrypted at rest by default."
977
+ "explanation": "Allow adding/removing multiple UsagePlanKeys independently",
978
+ "unconfiguredBehavesLike": {
979
+ "v2": true
980
+ }
1007
981
  },
1008
982
  "@aws-cdk/aws-lambda:recognizeVersionProps": {
1009
983
  "recommendedValue": true,
1010
- "explanation": "Enable this feature flag to opt in to the updated logical id calculation for Lambda Version created using the `fn.currentVersion`."
984
+ "explanation": "Enable this feature flag to opt in to the updated logical id calculation for Lambda Version created using the `fn.currentVersion`.",
985
+ "unconfiguredBehavesLike": {
986
+ "v2": true
987
+ }
1011
988
  },
1012
989
  "@aws-cdk/aws-lambda:recognizeLayerVersion": {
1013
990
  "userValue": true,
@@ -1016,7 +993,10 @@
1016
993
  },
1017
994
  "@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021": {
1018
995
  "recommendedValue": true,
1019
- "explanation": "Enable this feature flag to have cloudfront distributions use the security policy TLSv1.2_2021 by default."
996
+ "explanation": "Enable this feature flag to have cloudfront distributions use the security policy TLSv1.2_2021 by default.",
997
+ "unconfiguredBehavesLike": {
998
+ "v2": true
999
+ }
1020
1000
  },
1021
1001
  "@aws-cdk/core:checkSecretUsage": {
1022
1002
  "userValue": true,
@@ -1093,7 +1073,7 @@
1093
1073
  "@aws-cdk/aws-iam:importedRoleStackSafeDefaultPolicyName": {
1094
1074
  "userValue": true,
1095
1075
  "recommendedValue": true,
1096
- "explanation": "Enable this feature to by default create default policy names for imported roles that depend on the stack the role is in."
1076
+ "explanation": "Enable this feature to create default policy names for imported roles that depend on the stack the role is in."
1097
1077
  },
1098
1078
  "@aws-cdk/aws-s3:serverAccessLogsUseBucketPolicy": {
1099
1079
  "userValue": true,
@@ -1237,7 +1217,10 @@
1237
1217
  },
1238
1218
  "@aws-cdk/pipelines:reduceAssetRoleTrustScope": {
1239
1219
  "recommendedValue": true,
1240
- "explanation": "Remove the root account principal from PipelineAssetsFileRole trust policy"
1220
+ "explanation": "Remove the root account principal from PipelineAssetsFileRole trust policy",
1221
+ "unconfiguredBehavesLike": {
1222
+ "v2": true
1223
+ }
1241
1224
  },
1242
1225
  "@aws-cdk/aws-eks:nodegroupNameAttribute": {
1243
1226
  "userValue": true,
@@ -1266,7 +1249,10 @@
1266
1249
  },
1267
1250
  "@aws-cdk/aws-stepfunctions-tasks:useNewS3UriParametersForBedrockInvokeModelTask": {
1268
1251
  "recommendedValue": true,
1269
- "explanation": "When enabled, use new props for S3 URI field in task definition of state machine for bedrock invoke model."
1252
+ "explanation": "When enabled, use new props for S3 URI field in task definition of state machine for bedrock invoke model.",
1253
+ "unconfiguredBehavesLike": {
1254
+ "v2": true
1255
+ }
1270
1256
  },
1271
1257
  "@aws-cdk/core:explicitStackTags": {
1272
1258
  "userValue": true,
@@ -1330,7 +1316,10 @@
1330
1316
  },
1331
1317
  "@aws-cdk/core:aspectStabilization": {
1332
1318
  "recommendedValue": true,
1333
- "explanation": "When enabled, a stabilization loop will be run when invoking Aspects during synthesis."
1319
+ "explanation": "When enabled, a stabilization loop will be run when invoking Aspects during synthesis.",
1320
+ "unconfiguredBehavesLike": {
1321
+ "v2": true
1322
+ }
1334
1323
  },
1335
1324
  "@aws-cdk/aws-route53-targets:userPoolDomainNameMethodWithoutCustomResource": {
1336
1325
  "userValue": true,
@@ -1364,7 +1353,10 @@
1364
1353
  },
1365
1354
  "@aws-cdk/pipelines:reduceStageRoleTrustScope": {
1366
1355
  "recommendedValue": true,
1367
- "explanation": "Remove the root account principal from Stage addActions trust policy"
1356
+ "explanation": "Remove the root account principal from Stage addActions trust policy",
1357
+ "unconfiguredBehavesLike": {
1358
+ "v2": true
1359
+ }
1368
1360
  },
1369
1361
  "@aws-cdk/aws-events:requireEventBusPolicySid": {
1370
1362
  "userValue": true,
@@ -1387,7 +1379,10 @@
1387
1379
  },
1388
1380
  "@aws-cdk/pipelines:reduceCrossAccountActionRoleTrustScope": {
1389
1381
  "recommendedValue": true,
1390
- "explanation": "When enabled, scopes down the trust policy for the cross-account action role"
1382
+ "explanation": "When enabled, scopes down the trust policy for the cross-account action role",
1383
+ "unconfiguredBehavesLike": {
1384
+ "v2": true
1385
+ }
1391
1386
  },
1392
1387
  "@aws-cdk/aws-stepfunctions:useDistributedMapResultWriterV2": {
1393
1388
  "userValue": true,
@@ -1417,6 +1412,21 @@
1417
1412
  "userValue": true,
1418
1413
  "recommendedValue": true,
1419
1414
  "explanation": "When enabled, CDK creates and manages loggroup for the lambda function"
1415
+ },
1416
+ "@aws-cdk/aws-elasticloadbalancingv2:networkLoadBalancerWithSecurityGroupByDefault": {
1417
+ "recommendedValue": true,
1418
+ "explanation": "When enabled, Network Load Balancer will be created with a security group by default."
1419
+ },
1420
+ "@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint": {
1421
+ "recommendedValue": true,
1422
+ "explanation": "When enabled, allows using a dynamic apiEndpoint with JSONPath format in HttpInvoke tasks.",
1423
+ "unconfiguredBehavesLike": {
1424
+ "v2": true
1425
+ }
1426
+ },
1427
+ "@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": {
1428
+ "recommendedValue": true,
1429
+ "explanation": "When enabled, ECS patterns will generate unique target group IDs to prevent conflicts during load balancer replacement"
1420
1430
  }
1421
1431
  }
1422
1432
  }
@@ -1 +1 @@
1
- {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.206.0"},"children":{"farkin-fargateServiceFromProps":{"id":"farkin-fargateServiceFromProps","path":"farkin-fargateServiceFromProps","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.206.0"},"children":{"test-fargate-kinesisstreams":{"id":"test-fargate-kinesisstreams","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams","constructInfo":{"fqn":"@aws-solutions-constructs/aws-fargate-kinesisstreams.FargateToKinesisStreams","version":"2.86.0"},"children":{"KinesisStream":{"id":"KinesisStream","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStream","constructInfo":{"fqn":"aws-cdk-lib.aws_kinesis.Stream","version":"2.206.0","metadata":[{"encryption":"MANAGED"}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStream/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_kinesis.CfnStream","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Kinesis::Stream","aws:cdk:cloudformation:props":{"retentionPeriodHours":24,"shardCount":1,"streamEncryption":{"encryptionType":"KMS","keyId":"alias/aws/kinesis"}}}}}},"KinesisStreamGetRecordsIteratorAgeAlarm":{"id":"KinesisStreamGetRecordsIteratorAgeAlarm","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.206.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"GetRecords.IteratorAgeMilliseconds","namespace":"AWS/Kinesis","period":300,"statistic":"Maximum","threshold":43200000}}}}},"KinesisStreamReadProvisionedThroughputExceededAlarm":{"id":"KinesisStreamReadProvisionedThroughputExceededAlarm","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.206.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Consumer Application is Reading at a Slower Rate Than Expected.","comparisonOperator":"GreaterThanThreshold","evaluationPeriods":1,"metricName":"ReadProvisionedThroughputExceeded","namespace":"AWS/Kinesis","period":300,"statistic":"Average","threshold":0}}}}}}},"Vpc":{"id":"Vpc","path":"farkin-fargateServiceFromProps/Vpc","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.206.0","metadata":[{"enableDnsHostnames":true,"enableDnsSupport":true}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPC","aws:cdk:cloudformation:props":{"cidrBlock":"10.0.0.0/16","enableDnsHostnames":true,"enableDnsSupport":true,"instanceTenancy":"default","tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}]}}},"PublicSubnet1":{"id":"PublicSubnet1","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PublicSubnet","version":"2.206.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{},{"addNatGateway":["*"]}]},"children":{"Subnet":{"id":"Subnet","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.0.0/18","mapPublicIpOnLaunch":true,"tags":[{"key":"aws-cdk:subnet-name","value":"Public"},{"key":"aws-cdk:subnet-type","value":"Public"},{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPublicSubnet1RouteTable6C95E38E"},"subnetId":{"Ref":"VpcPublicSubnet1Subnet5C2D37C4"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","gatewayId":{"Ref":"VpcIGWD7BA715C"},"routeTableId":{"Ref":"VpcPublicSubnet1RouteTable6C95E38E"}}}},"EIP":{"id":"EIP","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/EIP","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnEIP","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::EIP","aws:cdk:cloudformation:props":{"domain":"vpc","tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1"}]}}},"NATGateway":{"id":"NATGateway","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/NATGateway","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnNatGateway","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::NatGateway","aws:cdk:cloudformation:props":{"allocationId":{"Fn::GetAtt":["VpcPublicSubnet1EIPD7E02669","AllocationId"]},"subnetId":{"Ref":"VpcPublicSubnet1Subnet5C2D37C4"},"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1"}]}}}}},"PublicSubnet2":{"id":"PublicSubnet2","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PublicSubnet","version":"2.206.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{},{"addNatGateway":["*"]}]},"children":{"Subnet":{"id":"Subnet","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[1,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.64.0/18","mapPublicIpOnLaunch":true,"tags":[{"key":"aws-cdk:subnet-name","value":"Public"},{"key":"aws-cdk:subnet-type","value":"Public"},{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPublicSubnet2RouteTable94F7E489"},"subnetId":{"Ref":"VpcPublicSubnet2Subnet691E08A3"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","gatewayId":{"Ref":"VpcIGWD7BA715C"},"routeTableId":{"Ref":"VpcPublicSubnet2RouteTable94F7E489"}}}},"EIP":{"id":"EIP","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/EIP","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnEIP","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::EIP","aws:cdk:cloudformation:props":{"domain":"vpc","tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2"}]}}},"NATGateway":{"id":"NATGateway","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/NATGateway","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnNatGateway","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::NatGateway","aws:cdk:cloudformation:props":{"allocationId":{"Fn::GetAtt":["VpcPublicSubnet2EIP3C605A87","AllocationId"]},"subnetId":{"Ref":"VpcPublicSubnet2Subnet691E08A3"},"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2"}]}}}}},"PrivateSubnet1":{"id":"PrivateSubnet1","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.206.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{}]},"children":{"Subnet":{"id":"Subnet","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.128.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"Private"},{"key":"aws-cdk:subnet-type","value":"Private"},{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPrivateSubnet1RouteTableB2C5B500"},"subnetId":{"Ref":"VpcPrivateSubnet1Subnet536B997A"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","natGatewayId":{"Ref":"VpcPublicSubnet1NATGateway4D7517AA"},"routeTableId":{"Ref":"VpcPrivateSubnet1RouteTableB2C5B500"}}}}}},"PrivateSubnet2":{"id":"PrivateSubnet2","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.206.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{}]},"children":{"Subnet":{"id":"Subnet","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[1,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.192.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"Private"},{"key":"aws-cdk:subnet-type","value":"Private"},{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPrivateSubnet2RouteTableA678073B"},"subnetId":{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","natGatewayId":{"Ref":"VpcPublicSubnet2NATGateway9182C01D"},"routeTableId":{"Ref":"VpcPrivateSubnet2RouteTableA678073B"}}}}}},"IGW":{"id":"IGW","path":"farkin-fargateServiceFromProps/Vpc/IGW","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnInternetGateway","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::InternetGateway","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}]}}},"VPCGW":{"id":"VPCGW","path":"farkin-fargateServiceFromProps/Vpc/VPCGW","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCGatewayAttachment","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCGatewayAttachment","aws:cdk:cloudformation:props":{"internetGatewayId":{"Ref":"VpcIGWD7BA715C"},"vpcId":{"Ref":"Vpc8378EB38"}}}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"farkin-fargateServiceFromProps/Vpc/RestrictDefaultSecurityGroupCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.206.0","metadata":["*"]},"children":{"Default":{"id":"Default","path":"farkin-fargateServiceFromProps/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.206.0"}}}},"FlowLog":{"id":"FlowLog","path":"farkin-fargateServiceFromProps/Vpc/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.206.0","metadata":[{"resourceType":"*"}]},"children":{"IAMRole":{"id":"IAMRole","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/IAMRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.206.0","metadata":[{"roleName":"*","assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]}]},"children":{"ImportIAMRole":{"id":"ImportIAMRole","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/IAMRole/ImportIAMRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/IAMRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"vpc-flow-logs.amazonaws.com"}}],"Version":"2012-10-17"},"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/FlowLog"}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/IAMRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.206.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["logs:CreateLogStream","logs:DescribeLogStreams","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogLogGroup7B5C56B9","Arn"]}},{"Action":"iam:PassRole","Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogIAMRole6A475D41","Arn"]}}],"Version":"2012-10-17"},"policyName":"VpcFlowLogIAMRoleDefaultPolicy406FB995","roles":[{"Ref":"VpcFlowLogIAMRole6A475D41"}]}}}}}}},"LogGroup":{"id":"LogGroup","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/LogGroup","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.206.0","metadata":["*"]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/LogGroup/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/FlowLog"}]}}}}},"FlowLog":{"id":"FlowLog","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnFlowLog","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::FlowLog","aws:cdk:cloudformation:props":{"deliverLogsPermissionArn":{"Fn::GetAtt":["VpcFlowLogIAMRole6A475D41","Arn"]},"logDestinationType":"cloud-watch-logs","logGroupName":{"Ref":"VpcFlowLogLogGroup7B5C56B9"},"resourceId":{"Ref":"Vpc8378EB38"},"resourceType":"VPC","tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/FlowLog"}],"trafficType":"ALL"}}}}},"KINESIS_STREAMS":{"id":"KINESIS_STREAMS","path":"farkin-fargateServiceFromProps/Vpc/KINESIS_STREAMS","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint","version":"2.206.0","metadata":[{"vpc":"*","service":{"privateDnsDefault":true,"name":"*","port":"*"},"securityGroups":["*"]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/KINESIS_STREAMS/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["farkinfargateServiceFromPropsKINESISSTREAMSsecuritygroupCB85FA0B","GroupId"]}],"serviceName":{"Fn::Join":["",["com.amazonaws.",{"Ref":"AWS::Region"},".kinesis-streams"]]},"subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}}}}},"ECR_API":{"id":"ECR_API","path":"farkin-fargateServiceFromProps/Vpc/ECR_API","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint","version":"2.206.0","metadata":[{"vpc":"*","service":{"privateDnsDefault":true,"name":"*","port":"*"},"securityGroups":["*"]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/ECR_API/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["farkinfargateServiceFromPropsECRAPIsecuritygroup9D2C3426","GroupId"]}],"serviceName":{"Fn::Join":["",["com.amazonaws.",{"Ref":"AWS::Region"},".ecr.api"]]},"subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}}}}},"ECR_DKR":{"id":"ECR_DKR","path":"farkin-fargateServiceFromProps/Vpc/ECR_DKR","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint","version":"2.206.0","metadata":[{"vpc":"*","service":{"privateDnsDefault":true,"name":"*","port":"*"},"securityGroups":["*"]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/ECR_DKR/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["farkinfargateServiceFromPropsECRDKRsecuritygroupB0FEA175","GroupId"]}],"serviceName":{"Fn::Join":["",["com.amazonaws.",{"Ref":"AWS::Region"},".ecr.dkr"]]},"subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}}}}},"S3":{"id":"S3","path":"farkin-fargateServiceFromProps/Vpc/S3","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.GatewayVpcEndpoint","version":"2.206.0","metadata":[{"vpc":"*","service":{"name":"*"}}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/S3/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}],"routeTableIds":[{"Ref":"VpcPrivateSubnet1RouteTableB2C5B500"},{"Ref":"VpcPrivateSubnet2RouteTableA678073B"},{"Ref":"VpcPublicSubnet1RouteTable6C95E38E"},{"Ref":"VpcPublicSubnet2RouteTable94F7E489"}],"serviceName":{"Fn::Join":["",["com.amazonaws.",{"Ref":"AWS::Region"},".s3"]]},"vpcEndpointType":"Gateway","vpcId":{"Ref":"Vpc8378EB38"}}}}}}}},"Custom::VpcRestrictDefaultSGCustomResourceProvider":{"id":"Custom::VpcRestrictDefaultSGCustomResourceProvider","path":"farkin-fargateServiceFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider","constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.206.0"},"children":{"Staging":{"id":"Staging","path":"farkin-fargateServiceFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.206.0"}},"Role":{"id":"Role","path":"farkin-fargateServiceFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.206.0"}},"Handler":{"id":"Handler","path":"farkin-fargateServiceFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.206.0"}}}},"farkin-fargateServiceFromProps-KINESIS_STREAMS-security-group":{"id":"farkin-fargateServiceFromProps-KINESIS_STREAMS-security-group","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-KINESIS_STREAMS-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.206.0","metadata":[{"vpc":"*","allowAllOutbound":true},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*","*"]},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*",false]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-KINESIS_STREAMS-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-KINESIS_STREAMS-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"securityGroupIngress":[{"cidrIp":{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},"ipProtocol":"tcp","fromPort":443,"toPort":443,"description":{"Fn::Join":["",["from ",{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},":443"]]}}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"farkin-fargateServiceFromProps-ECR_API-security-group":{"id":"farkin-fargateServiceFromProps-ECR_API-security-group","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_API-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.206.0","metadata":[{"vpc":"*","allowAllOutbound":true},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*","*"]},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*",false]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_API-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_API-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"securityGroupIngress":[{"cidrIp":{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},"ipProtocol":"tcp","fromPort":443,"toPort":443,"description":{"Fn::Join":["",["from ",{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},":443"]]}}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"farkin-fargateServiceFromProps-ECR_DKR-security-group":{"id":"farkin-fargateServiceFromProps-ECR_DKR-security-group","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_DKR-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.206.0","metadata":[{"vpc":"*","allowAllOutbound":true},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*","*"]},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*",false]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_DKR-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_DKR-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"securityGroupIngress":[{"cidrIp":{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},"ipProtocol":"tcp","fromPort":443,"toPort":443,"description":{"Fn::Join":["",["from ",{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},":443"]]}}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"test-fargate-kinesisstreams-cluster":{"id":"test-fargate-kinesisstreams-cluster","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-cluster","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.Cluster","version":"2.206.0","metadata":[{"vpc":"*"}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-cluster/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.CfnCluster","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ECS::Cluster","aws:cdk:cloudformation:props":{}}}}},"test-fargate-kinesisstreams-taskdef":{"id":"test-fargate-kinesisstreams-taskdef","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.FargateTaskDefinition","version":"2.206.0","metadata":["*","*","*"]},"children":{"TaskRole":{"id":"TaskRole","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/TaskRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.206.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]},"children":{"ImportTaskRole":{"id":"ImportTaskRole","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/TaskRole/ImportTaskRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/TaskRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"ecs-tasks.amazonaws.com"}}],"Version":"2012-10-17"}}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/TaskRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.206.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/TaskRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["kinesis:ListShards","kinesis:PutRecord","kinesis:PutRecords"],"Effect":"Allow","Resource":{"Fn::GetAtt":["testfargatekinesisstreamsKinesisStreamD31BD614","Arn"]}}],"Version":"2012-10-17"},"policyName":"testfargatekinesisstreamstaskdefTaskRoleDefaultPolicyAE7EF3E4","roles":[{"Ref":"testfargatekinesisstreamstaskdefTaskRole9811F3BE"}]}}}}}}},"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.CfnTaskDefinition","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ECS::TaskDefinition","aws:cdk:cloudformation:props":{"containerDefinitions":[{"essential":true,"image":"nginx","memoryReservation":512,"name":"test-fargate-kinesisstreams-container","portMappings":[{"containerPort":8080,"protocol":"tcp"}],"environment":[{"name":"KINESIS_DATASTREAM_NAME","value":{"Ref":"testfargatekinesisstreamsKinesisStreamD31BD614"}}]}],"cpu":"256","family":"farkinfargateServiceFromPropstestfargatekinesisstreamstaskdef2D7B0207","memory":"512","networkMode":"awsvpc","requiresCompatibilities":["FARGATE"],"taskRoleArn":{"Fn::GetAtt":["testfargatekinesisstreamstaskdefTaskRole9811F3BE","Arn"]}}}},"test-fargate-kinesisstreams-container":{"id":"test-fargate-kinesisstreams-container","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/test-fargate-kinesisstreams-container","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.ContainerDefinition","version":"2.206.0"}}}},"test-fargate-kinesisstreams-sg":{"id":"test-fargate-kinesisstreams-sg","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-sg","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.206.0","metadata":[{"allowAllOutbound":true,"disableInlineRules":false,"vpc":"*","description":"*"}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-sg/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"Construct created security group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"test-fargate-kinesisstreams-service":{"id":"test-fargate-kinesisstreams-service","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-service","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.FargateService","version":"2.206.0","metadata":["*"]},"children":{"Service":{"id":"Service","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-service/Service","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.CfnService","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ECS::Service","aws:cdk:cloudformation:props":{"cluster":{"Ref":"testfargatekinesisstreamsclusterEA5A2AD7"},"deploymentConfiguration":{"maximumPercent":150,"minimumHealthyPercent":75},"desiredCount":7,"enableEcsManagedTags":false,"launchType":"FARGATE","networkConfiguration":{"awsvpcConfiguration":{"assignPublicIp":"DISABLED","subnets":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"securityGroups":[{"Fn::GetAtt":["testfargatekinesisstreamssgBA506AC6","GroupId"]}]}},"platformVersion":"LATEST","serviceName":"my-service","taskDefinition":{"Ref":"testfargatekinesisstreamstaskdef402FE0B3"}}}}}},"Integ":{"id":"Integ","path":"farkin-fargateServiceFromProps/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.206.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"farkin-fargateServiceFromProps/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.206.0-alpha.0"},"children":{"Default":{"id":"Default","path":"farkin-fargateServiceFromProps/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"farkin-fargateServiceFromProps/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.206.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"farkin-fargateServiceFromProps/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.206.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"farkin-fargateServiceFromProps/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.206.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"farkin-fargateServiceFromProps/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.206.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"farkin-fargateServiceFromProps/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.206.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}}}}
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.223.0"},"children":{"farkin-fargateServiceFromProps":{"id":"farkin-fargateServiceFromProps","path":"farkin-fargateServiceFromProps","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.223.0"},"children":{"test-fargate-kinesisstreams":{"id":"test-fargate-kinesisstreams","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams","constructInfo":{"fqn":"@aws-solutions-constructs/aws-fargate-kinesisstreams.FargateToKinesisStreams","version":"2.94.0"},"children":{"KinesisStream":{"id":"KinesisStream","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStream","constructInfo":{"fqn":"aws-cdk-lib.aws_kinesis.Stream","version":"2.223.0","metadata":[{"encryption":"MANAGED"}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStream/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_kinesis.CfnStream","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Kinesis::Stream","aws:cdk:cloudformation:props":{"retentionPeriodHours":24,"shardCount":1,"streamEncryption":{"encryptionType":"KMS","keyId":"alias/aws/kinesis"}}}}}},"KinesisStreamGetRecordsIteratorAgeAlarm":{"id":"KinesisStreamGetRecordsIteratorAgeAlarm","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"GetRecords.IteratorAgeMilliseconds","namespace":"AWS/Kinesis","period":300,"statistic":"Maximum","threshold":43200000}}}}},"KinesisStreamReadProvisionedThroughputExceededAlarm":{"id":"KinesisStreamReadProvisionedThroughputExceededAlarm","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Consumer Application is Reading at a Slower Rate Than Expected.","comparisonOperator":"GreaterThanThreshold","evaluationPeriods":1,"metricName":"ReadProvisionedThroughputExceeded","namespace":"AWS/Kinesis","period":300,"statistic":"Average","threshold":0}}}}}}},"Vpc":{"id":"Vpc","path":"farkin-fargateServiceFromProps/Vpc","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.223.0","metadata":[{"enableDnsHostnames":true,"enableDnsSupport":true}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPC","aws:cdk:cloudformation:props":{"cidrBlock":"10.0.0.0/16","enableDnsHostnames":true,"enableDnsSupport":true,"instanceTenancy":"default","tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}]}}},"PublicSubnet1":{"id":"PublicSubnet1","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PublicSubnet","version":"2.223.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{},{"addNatGateway":["*"]}]},"children":{"Subnet":{"id":"Subnet","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.0.0/18","mapPublicIpOnLaunch":true,"tags":[{"key":"aws-cdk:subnet-name","value":"Public"},{"key":"aws-cdk:subnet-type","value":"Public"},{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPublicSubnet1RouteTable6C95E38E"},"subnetId":{"Ref":"VpcPublicSubnet1Subnet5C2D37C4"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","gatewayId":{"Ref":"VpcIGWD7BA715C"},"routeTableId":{"Ref":"VpcPublicSubnet1RouteTable6C95E38E"}}}},"EIP":{"id":"EIP","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/EIP","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnEIP","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::EIP","aws:cdk:cloudformation:props":{"domain":"vpc","tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1"}]}}},"NATGateway":{"id":"NATGateway","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1/NATGateway","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnNatGateway","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::NatGateway","aws:cdk:cloudformation:props":{"allocationId":{"Fn::GetAtt":["VpcPublicSubnet1EIPD7E02669","AllocationId"]},"subnetId":{"Ref":"VpcPublicSubnet1Subnet5C2D37C4"},"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet1"}]}}}}},"PublicSubnet2":{"id":"PublicSubnet2","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PublicSubnet","version":"2.223.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":true,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{},{"addNatGateway":["*"]}]},"children":{"Subnet":{"id":"Subnet","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[1,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.64.0/18","mapPublicIpOnLaunch":true,"tags":[{"key":"aws-cdk:subnet-name","value":"Public"},{"key":"aws-cdk:subnet-type","value":"Public"},{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPublicSubnet2RouteTable94F7E489"},"subnetId":{"Ref":"VpcPublicSubnet2Subnet691E08A3"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","gatewayId":{"Ref":"VpcIGWD7BA715C"},"routeTableId":{"Ref":"VpcPublicSubnet2RouteTable94F7E489"}}}},"EIP":{"id":"EIP","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/EIP","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnEIP","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::EIP","aws:cdk:cloudformation:props":{"domain":"vpc","tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2"}]}}},"NATGateway":{"id":"NATGateway","path":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2/NATGateway","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnNatGateway","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::NatGateway","aws:cdk:cloudformation:props":{"allocationId":{"Fn::GetAtt":["VpcPublicSubnet2EIP3C605A87","AllocationId"]},"subnetId":{"Ref":"VpcPublicSubnet2Subnet691E08A3"},"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PublicSubnet2"}]}}}}},"PrivateSubnet1":{"id":"PrivateSubnet1","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.223.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{}]},"children":{"Subnet":{"id":"Subnet","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.128.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"Private"},{"key":"aws-cdk:subnet-type","value":"Private"},{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPrivateSubnet1RouteTableB2C5B500"},"subnetId":{"Ref":"VpcPrivateSubnet1Subnet536B997A"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet1/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","natGatewayId":{"Ref":"VpcPublicSubnet1NATGateway4D7517AA"},"routeTableId":{"Ref":"VpcPrivateSubnet1RouteTableB2C5B500"}}}}}},"PrivateSubnet2":{"id":"PrivateSubnet2","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.223.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{}]},"children":{"Subnet":{"id":"Subnet","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[1,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.192.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"Private"},{"key":"aws-cdk:subnet-type","value":"Private"},{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPrivateSubnet2RouteTableA678073B"},"subnetId":{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"farkin-fargateServiceFromProps/Vpc/PrivateSubnet2/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","natGatewayId":{"Ref":"VpcPublicSubnet2NATGateway9182C01D"},"routeTableId":{"Ref":"VpcPrivateSubnet2RouteTableA678073B"}}}}}},"IGW":{"id":"IGW","path":"farkin-fargateServiceFromProps/Vpc/IGW","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnInternetGateway","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::InternetGateway","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}]}}},"VPCGW":{"id":"VPCGW","path":"farkin-fargateServiceFromProps/Vpc/VPCGW","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCGatewayAttachment","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCGatewayAttachment","aws:cdk:cloudformation:props":{"internetGatewayId":{"Ref":"VpcIGWD7BA715C"},"vpcId":{"Ref":"Vpc8378EB38"}}}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"farkin-fargateServiceFromProps/Vpc/RestrictDefaultSecurityGroupCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.223.0","metadata":["*"]},"children":{"Default":{"id":"Default","path":"farkin-fargateServiceFromProps/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.223.0"}}}},"FlowLog":{"id":"FlowLog","path":"farkin-fargateServiceFromProps/Vpc/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.223.0","metadata":[{"resourceType":"*"}]},"children":{"IAMRole":{"id":"IAMRole","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/IAMRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"roleName":"*","assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]},"children":{"ImportIAMRole":{"id":"ImportIAMRole","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/IAMRole/ImportIAMRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/IAMRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"vpc-flow-logs.amazonaws.com"}}],"Version":"2012-10-17"},"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/FlowLog"}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/IAMRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.223.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["logs:CreateLogStream","logs:DescribeLogStreams","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogLogGroup7B5C56B9","Arn"]}}],"Version":"2012-10-17"},"policyName":"VpcFlowLogIAMRoleDefaultPolicy406FB995","roles":[{"Ref":"VpcFlowLogIAMRole6A475D41"}]}}}}}}},"LogGroup":{"id":"LogGroup","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/LogGroup","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.223.0","metadata":["*"]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/LogGroup/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/FlowLog"}]}}}}},"FlowLog":{"id":"FlowLog","path":"farkin-fargateServiceFromProps/Vpc/FlowLog/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnFlowLog","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::FlowLog","aws:cdk:cloudformation:props":{"deliverLogsPermissionArn":{"Fn::GetAtt":["VpcFlowLogIAMRole6A475D41","Arn"]},"logDestinationType":"cloud-watch-logs","logGroupName":{"Ref":"VpcFlowLogLogGroup7B5C56B9"},"resourceId":{"Ref":"Vpc8378EB38"},"resourceType":"VPC","tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc/FlowLog"}],"trafficType":"ALL"}}}}},"KINESIS_STREAMS":{"id":"KINESIS_STREAMS","path":"farkin-fargateServiceFromProps/Vpc/KINESIS_STREAMS","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint","version":"2.223.0","metadata":[{"vpc":"*","service":{"name":"*","port":"*","privateDnsDefault":true},"securityGroups":["*"]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/KINESIS_STREAMS/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["farkinfargateServiceFromPropsKINESISSTREAMSsecuritygroupCB85FA0B","GroupId"]}],"serviceName":{"Fn::Join":["",["com.amazonaws.",{"Ref":"AWS::Region"},".kinesis-streams"]]},"subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}}}}},"ECR_API":{"id":"ECR_API","path":"farkin-fargateServiceFromProps/Vpc/ECR_API","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint","version":"2.223.0","metadata":[{"vpc":"*","service":{"name":"*","port":"*","privateDnsDefault":true},"securityGroups":["*"]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/ECR_API/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["farkinfargateServiceFromPropsECRAPIsecuritygroup9D2C3426","GroupId"]}],"serviceName":{"Fn::Join":["",["com.amazonaws.",{"Ref":"AWS::Region"},".ecr.api"]]},"subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}}}}},"ECR_DKR":{"id":"ECR_DKR","path":"farkin-fargateServiceFromProps/Vpc/ECR_DKR","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint","version":"2.223.0","metadata":[{"vpc":"*","service":{"name":"*","port":"*","privateDnsDefault":true},"securityGroups":["*"]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/ECR_DKR/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["farkinfargateServiceFromPropsECRDKRsecuritygroupB0FEA175","GroupId"]}],"serviceName":{"Fn::Join":["",["com.amazonaws.",{"Ref":"AWS::Region"},".ecr.dkr"]]},"subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}}}}},"S3":{"id":"S3","path":"farkin-fargateServiceFromProps/Vpc/S3","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.GatewayVpcEndpoint","version":"2.223.0","metadata":[{"vpc":"*","service":{"name":"*"}}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/Vpc/S3/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"farkin-fargateServiceFromProps/Vpc"}],"routeTableIds":[{"Ref":"VpcPrivateSubnet1RouteTableB2C5B500"},{"Ref":"VpcPrivateSubnet2RouteTableA678073B"},{"Ref":"VpcPublicSubnet1RouteTable6C95E38E"},{"Ref":"VpcPublicSubnet2RouteTable94F7E489"}],"serviceName":{"Fn::Join":["",["com.amazonaws.",{"Ref":"AWS::Region"},".s3"]]},"vpcEndpointType":"Gateway","vpcId":{"Ref":"Vpc8378EB38"}}}}}}}},"Custom::VpcRestrictDefaultSGCustomResourceProvider":{"id":"Custom::VpcRestrictDefaultSGCustomResourceProvider","path":"farkin-fargateServiceFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider","constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.223.0"},"children":{"Staging":{"id":"Staging","path":"farkin-fargateServiceFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.223.0"}},"Role":{"id":"Role","path":"farkin-fargateServiceFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.223.0"}},"Handler":{"id":"Handler","path":"farkin-fargateServiceFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.223.0"}}}},"farkin-fargateServiceFromProps-KINESIS_STREAMS-security-group":{"id":"farkin-fargateServiceFromProps-KINESIS_STREAMS-security-group","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-KINESIS_STREAMS-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.223.0","metadata":[{"vpc":"*","allowAllOutbound":true},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*","*"]},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*",false]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-KINESIS_STREAMS-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-KINESIS_STREAMS-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"securityGroupIngress":[{"cidrIp":{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},"ipProtocol":"tcp","fromPort":443,"toPort":443,"description":{"Fn::Join":["",["from ",{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},":443"]]}}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"farkin-fargateServiceFromProps-ECR_API-security-group":{"id":"farkin-fargateServiceFromProps-ECR_API-security-group","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_API-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.223.0","metadata":[{"vpc":"*","allowAllOutbound":true},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*","*"]},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*",false]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_API-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_API-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"securityGroupIngress":[{"cidrIp":{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},"ipProtocol":"tcp","fromPort":443,"toPort":443,"description":{"Fn::Join":["",["from ",{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},":443"]]}}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"farkin-fargateServiceFromProps-ECR_DKR-security-group":{"id":"farkin-fargateServiceFromProps-ECR_DKR-security-group","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_DKR-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.223.0","metadata":[{"vpc":"*","allowAllOutbound":true},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*","*"]},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*",false]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_DKR-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"farkin-fargateServiceFromProps/farkin-fargateServiceFromProps-ECR_DKR-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"securityGroupIngress":[{"cidrIp":{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},"ipProtocol":"tcp","fromPort":443,"toPort":443,"description":{"Fn::Join":["",["from ",{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},":443"]]}}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"test-fargate-kinesisstreams-cluster":{"id":"test-fargate-kinesisstreams-cluster","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-cluster","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.Cluster","version":"2.223.0","metadata":[{"vpc":"*"}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-cluster/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.CfnCluster","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ECS::Cluster","aws:cdk:cloudformation:props":{}}}}},"test-fargate-kinesisstreams-taskdef":{"id":"test-fargate-kinesisstreams-taskdef","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.FargateTaskDefinition","version":"2.223.0","metadata":["*","*","*"]},"children":{"TaskRole":{"id":"TaskRole","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/TaskRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]},"children":{"ImportTaskRole":{"id":"ImportTaskRole","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/TaskRole/ImportTaskRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/TaskRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"ecs-tasks.amazonaws.com"}}],"Version":"2012-10-17"}}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/TaskRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.223.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/TaskRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["kinesis:ListShards","kinesis:PutRecord","kinesis:PutRecords"],"Effect":"Allow","Resource":{"Fn::GetAtt":["testfargatekinesisstreamsKinesisStreamD31BD614","Arn"]}}],"Version":"2012-10-17"},"policyName":"testfargatekinesisstreamstaskdefTaskRoleDefaultPolicyAE7EF3E4","roles":[{"Ref":"testfargatekinesisstreamstaskdefTaskRole9811F3BE"}]}}}}}}},"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.CfnTaskDefinition","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ECS::TaskDefinition","aws:cdk:cloudformation:props":{"containerDefinitions":[{"essential":true,"image":"nginx","memoryReservation":512,"name":"test-fargate-kinesisstreams-container","portMappings":[{"containerPort":8080,"protocol":"tcp"}],"environment":[{"name":"KINESIS_DATASTREAM_NAME","value":{"Ref":"testfargatekinesisstreamsKinesisStreamD31BD614"}}]}],"cpu":"256","family":"farkinfargateServiceFromPropstestfargatekinesisstreamstaskdef2D7B0207","memory":"512","networkMode":"awsvpc","requiresCompatibilities":["FARGATE"],"taskRoleArn":{"Fn::GetAtt":["testfargatekinesisstreamstaskdefTaskRole9811F3BE","Arn"]}}}},"test-fargate-kinesisstreams-container":{"id":"test-fargate-kinesisstreams-container","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-taskdef/test-fargate-kinesisstreams-container","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.ContainerDefinition","version":"2.223.0"}}}},"test-fargate-kinesisstreams-sg":{"id":"test-fargate-kinesisstreams-sg","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-sg","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.223.0","metadata":[{"allowAllOutbound":true,"disableInlineRules":false,"vpc":"*","description":"*"}]},"children":{"Resource":{"id":"Resource","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-sg/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"Construct created security group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}}}},"test-fargate-kinesisstreams-service":{"id":"test-fargate-kinesisstreams-service","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-service","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.FargateService","version":"2.223.0","metadata":["*"]},"children":{"Service":{"id":"Service","path":"farkin-fargateServiceFromProps/test-fargate-kinesisstreams-service/Service","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.CfnService","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ECS::Service","aws:cdk:cloudformation:props":{"cluster":{"Ref":"testfargatekinesisstreamsclusterEA5A2AD7"},"deploymentConfiguration":{"maximumPercent":150,"minimumHealthyPercent":75},"desiredCount":7,"enableEcsManagedTags":false,"launchType":"FARGATE","networkConfiguration":{"awsvpcConfiguration":{"assignPublicIp":"DISABLED","subnets":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"securityGroups":[{"Fn::GetAtt":["testfargatekinesisstreamssgBA506AC6","GroupId"]}]}},"platformVersion":"LATEST","serviceName":"my-service","taskDefinition":{"Ref":"testfargatekinesisstreamstaskdef402FE0B3"}}}}}},"Integ":{"id":"Integ","path":"farkin-fargateServiceFromProps/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.223.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"farkin-fargateServiceFromProps/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.223.0-alpha.0"},"children":{"Default":{"id":"Default","path":"farkin-fargateServiceFromProps/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"farkin-fargateServiceFromProps/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.223.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"farkin-fargateServiceFromProps/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.223.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"farkin-fargateServiceFromProps/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.223.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"farkin-fargateServiceFromProps/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.223.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"farkin-fargateServiceFromProps/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.223.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}}}}
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.external=void 0,exports.handler=handler,exports.withRetries=withRetries;const https=require("https"),url=require("url");exports.external={sendHttpRequest:defaultSendHttpRequest,log:defaultLog,includeStackTraces:!0,userHandlerIndex:"./index"};const CREATE_FAILED_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::CREATE_FAILED",MISSING_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::MISSING_PHYSICAL_ID";async function handler(event,context){const sanitizedEvent={...event,ResponseURL:"..."};if(exports.external.log(JSON.stringify(sanitizedEvent,void 0,2)),event.RequestType==="Delete"&&event.PhysicalResourceId===CREATE_FAILED_PHYSICAL_ID_MARKER){exports.external.log("ignoring DELETE event caused by a failed CREATE event"),await submitResponse("SUCCESS",event);return}try{const userHandler=require(exports.external.userHandlerIndex).handler,result=await userHandler(sanitizedEvent,context),responseEvent=renderResponse(event,result);await submitResponse("SUCCESS",responseEvent)}catch(e){const resp={...event,Reason:exports.external.includeStackTraces?e.stack:e.message};resp.PhysicalResourceId||(event.RequestType==="Create"?(exports.external.log("CREATE failed, responding with a marker physical resource id so that the subsequent DELETE will be ignored"),resp.PhysicalResourceId=CREATE_FAILED_PHYSICAL_ID_MARKER):exports.external.log(`ERROR: Malformed event. "PhysicalResourceId" is required: ${JSON.stringify(event)}`)),await submitResponse("FAILED",resp)}}function renderResponse(cfnRequest,handlerResponse={}){const physicalResourceId=handlerResponse.PhysicalResourceId??cfnRequest.PhysicalResourceId??cfnRequest.RequestId;if(cfnRequest.RequestType==="Delete"&&physicalResourceId!==cfnRequest.PhysicalResourceId)throw new Error(`DELETE: cannot change the physical resource ID from "${cfnRequest.PhysicalResourceId}" to "${handlerResponse.PhysicalResourceId}" during deletion`);return{...cfnRequest,...handlerResponse,PhysicalResourceId:physicalResourceId}}async function submitResponse(status,event){const json={Status:status,Reason:event.Reason??status,StackId:event.StackId,RequestId:event.RequestId,PhysicalResourceId:event.PhysicalResourceId||MISSING_PHYSICAL_ID_MARKER,LogicalResourceId:event.LogicalResourceId,NoEcho:event.NoEcho,Data:event.Data},parsedUrl=url.parse(event.ResponseURL),loggingSafeUrl=`${parsedUrl.protocol}//${parsedUrl.hostname}/${parsedUrl.pathname}?***`;exports.external.log("submit response to cloudformation",loggingSafeUrl,json);const responseBody=JSON.stringify(json),req={hostname:parsedUrl.hostname,path:parsedUrl.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(responseBody,"utf8")}};await withRetries({attempts:5,sleep:1e3},exports.external.sendHttpRequest)(req,responseBody)}async function defaultSendHttpRequest(options,requestBody){return new Promise((resolve,reject)=>{try{const request=https.request(options,response=>{response.resume(),!response.statusCode||response.statusCode>=400?reject(new Error(`Unsuccessful HTTP response: ${response.statusCode}`)):resolve()});request.on("error",reject),request.write(requestBody),request.end()}catch(e){reject(e)}})}function defaultLog(fmt,...params){console.log(fmt,...params)}function withRetries(options,fn){return async(...xs)=>{let attempts=options.attempts,ms=options.sleep;for(;;)try{return await fn(...xs)}catch(e){if(attempts--<=0)throw e;await sleep(Math.floor(Math.random()*ms)),ms*=2}}}async function sleep(ms){return new Promise(ok=>setTimeout(ok,ms))}
@@ -0,0 +1 @@
1
+ "use strict";var I=Object.create,t=Object.defineProperty,y=Object.getOwnPropertyDescriptor,P=Object.getOwnPropertyNames,g=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,G=(r,e)=>{for(var o in e)t(r,o,{get:e[o],enumerable:!0})},n=(r,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of P(e))!l.call(r,s)&&s!==o&&t(r,s,{get:()=>e[s],enumerable:!(i=y(e,s))||i.enumerable});return r},R=(r,e,o)=>(o=r!=null?I(g(r)):{},n(e||!r||!r.__esModule?t(o,"default",{value:r,enumerable:!0}):o,r)),S=r=>n(t({},"__esModule",{value:!0}),r),k={};G(k,{handler:()=>f}),module.exports=S(k);var a=R(require("@aws-sdk/client-ec2")),u=new a.EC2({});function c(r,e){return{GroupId:r,IpPermissions:[{UserIdGroupPairs:[{GroupId:r,UserId:e}],IpProtocol:"-1"}]}}function d(r){return{GroupId:r,IpPermissions:[{IpRanges:[{CidrIp:"0.0.0.0/0"}],IpProtocol:"-1"}]}}async function f(r){let e=r.ResourceProperties.DefaultSecurityGroupId,o=r.ResourceProperties.Account;switch(r.RequestType){case"Create":return p(e,o);case"Update":return h(r);case"Delete":return m(e,o)}}async function h(r){let e=r.OldResourceProperties.DefaultSecurityGroupId,o=r.ResourceProperties.DefaultSecurityGroupId;e!==o&&(await m(e,r.ResourceProperties.Account),await p(o,r.ResourceProperties.Account))}async function p(r,e){try{await u.revokeSecurityGroupEgress(d(r))}catch(o){if(o.name!=="InvalidPermission.NotFound")throw o}try{await u.revokeSecurityGroupIngress(c(r,e))}catch(o){if(o.name!=="InvalidPermission.NotFound")throw o}}async function m(r,e){await u.authorizeSecurityGroupIngress(c(r,e)),await u.authorizeSecurityGroupEgress(d(r))}
@@ -1 +1 @@
1
- {"version":"45.0.0"}
1
+ {"version":"48.0.0"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "45.0.0",
2
+ "version": "48.0.0",
3
3
  "files": {
4
4
  "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200": {
5
5
  "displayName": "farkin-noArguments/Custom::VpcRestrictDefaultSGCustomResourceProvider Code",
@@ -15,16 +15,16 @@
15
15
  }
16
16
  }
17
17
  },
18
- "6f36c4e2502a19bb39aa2aa96b491344ce40972250d9453f4beab2f3045cb344": {
18
+ "a740b096e5c899ac4d9ef20f590d8d891dda9798111faa016042bccc669d76e5": {
19
19
  "displayName": "farkin-noArguments Template",
20
20
  "source": {
21
21
  "path": "farkin-noArguments.template.json",
22
22
  "packaging": "file"
23
23
  },
24
24
  "destinations": {
25
- "current_account-current_region-01c141a0": {
25
+ "current_account-current_region-f8ed2425": {
26
26
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
27
- "objectKey": "6f36c4e2502a19bb39aa2aa96b491344ce40972250d9453f4beab2f3045cb344.json",
27
+ "objectKey": "a740b096e5c899ac4d9ef20f590d8d891dda9798111faa016042bccc669d76e5.json",
28
28
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
29
29
  }
30
30
  }