@aws-solutions-constructs/aws-fargate-opensearch 2.101.0 → 2.103.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/.jsii +252 -4
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.faropn-existing-resources.js.snapshot/asset.02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093/__entrypoint__.js +1 -0
  5. package/test/integ.faropn-existing-resources.js.snapshot/cdk.out +1 -1
  6. package/test/integ.faropn-existing-resources.js.snapshot/faropn-existing-resources.assets.json +8 -8
  7. package/test/integ.faropn-existing-resources.js.snapshot/faropn-existing-resources.metadata.json +1005 -0
  8. package/test/integ.faropn-existing-resources.js.snapshot/faropn-existing-resources.template.json +2 -2
  9. package/test/integ.faropn-existing-resources.js.snapshot/faropnexistingresourcesIntegDefaultTestDeployAssert753D5E58.assets.json +1 -1
  10. package/test/integ.faropn-existing-resources.js.snapshot/faropnexistingresourcesIntegDefaultTestDeployAssert753D5E58.metadata.json +14 -0
  11. package/test/integ.faropn-existing-resources.js.snapshot/integ.json +2 -2
  12. package/test/integ.faropn-existing-resources.js.snapshot/manifest.json +57 -1034
  13. package/test/integ.faropn-existing-resources.js.snapshot/tree.json +1 -1
  14. package/test/integ.faropn-existing-resources.js.snapshot/validation-report.json +27 -0
  15. package/test/integ.faropn-new-resources.js.snapshot/asset.02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093/__entrypoint__.js +1 -0
  16. package/test/integ.faropn-new-resources.js.snapshot/cdk.out +1 -1
  17. package/test/integ.faropn-new-resources.js.snapshot/faropn-new-resources.assets.json +8 -8
  18. package/test/integ.faropn-new-resources.js.snapshot/faropn-new-resources.metadata.json +1005 -0
  19. package/test/integ.faropn-new-resources.js.snapshot/faropn-new-resources.template.json +2 -2
  20. package/test/integ.faropn-new-resources.js.snapshot/faropnnewresourcesIntegDefaultTestDeployAssert740558EF.assets.json +1 -1
  21. package/test/integ.faropn-new-resources.js.snapshot/faropnnewresourcesIntegDefaultTestDeployAssert740558EF.metadata.json +14 -0
  22. package/test/integ.faropn-new-resources.js.snapshot/integ.json +2 -2
  23. package/test/integ.faropn-new-resources.js.snapshot/manifest.json +57 -1033
  24. package/test/integ.faropn-new-resources.js.snapshot/tree.json +1 -1
  25. package/test/integ.faropn-new-resources.js.snapshot/validation-report.json +27 -0
  26. package/test/integ.faropn-existing-resources.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
  27. package/test/integ.faropn-new-resources.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
  28. /package/test/integ.faropn-existing-resources.js.snapshot/{asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200 → asset.02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093}/index.js +0 -0
  29. /package/test/integ.faropn-new-resources.js.snapshot/{asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200 → asset.02b51ab524e7bcf8f477de3e71e5f9a72e448301b26ba62e9e75a14f9c55a093}/index.js +0 -0
@@ -1 +1 @@
1
- {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.223.0"},"children":{"faropn-new-resources":{"id":"faropn-new-resources","path":"faropn-new-resources","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.223.0"},"children":{"test-construct":{"id":"test-construct","path":"faropn-new-resources/test-construct","constructInfo":{"fqn":"@aws-solutions-constructs/aws-fargate-opensearch.FargateToOpenSearch","version":"2.95.1"},"children":{"CognitoUserPool":{"id":"CognitoUserPool","path":"faropn-new-resources/test-construct/CognitoUserPool","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.UserPool","version":"2.223.0","metadata":["*"]},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/CognitoUserPool/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPool","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::UserPool","aws:cdk:cloudformation:props":{"accountRecoverySetting":{"recoveryMechanisms":[{"name":"verified_phone_number","priority":1},{"name":"verified_email","priority":2}]},"adminCreateUserConfig":{"allowAdminCreateUserOnly":true},"emailVerificationMessage":"The verification code to your new account is {####}","emailVerificationSubject":"Verify your new account","smsVerificationMessage":"The verification code to your new account is {####}","userPoolAddOns":{"advancedSecurityMode":"ENFORCED"},"verificationMessageTemplate":{"defaultEmailOption":"CONFIRM_WITH_CODE","emailMessage":"The verification code to your new account is {####}","emailSubject":"Verify your new account","smsMessage":"The verification code to your new account is {####}"}}}}}},"CognitoUserPoolClient":{"id":"CognitoUserPoolClient","path":"faropn-new-resources/test-construct/CognitoUserPoolClient","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.UserPoolClient","version":"2.223.0","metadata":[{"userPool":"*"}]},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/CognitoUserPoolClient/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPoolClient","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::UserPoolClient","aws:cdk:cloudformation:props":{"allowedOAuthFlows":["implicit","code"],"allowedOAuthFlowsUserPoolClient":true,"allowedOAuthScopes":["profile","phone","email","openid","aws.cognito.signin.user.admin"],"callbackUrLs":["https://example.com"],"supportedIdentityProviders":["COGNITO"],"userPoolId":{"Ref":"testconstructCognitoUserPoolA4991355"}}}}}},"CognitoIdentityPool":{"id":"CognitoIdentityPool","path":"faropn-new-resources/test-construct/CognitoIdentityPool","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnIdentityPool","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::IdentityPool","aws:cdk:cloudformation:props":{"allowUnauthenticatedIdentities":false,"cognitoIdentityProviders":[{"clientId":{"Ref":"testconstructCognitoUserPoolClient36ACF012"},"providerName":{"Fn::GetAtt":["testconstructCognitoUserPoolA4991355","ProviderName"]},"serverSideTokenCheck":true}]}}},"UserPoolDomain":{"id":"UserPoolDomain","path":"faropn-new-resources/test-construct/UserPoolDomain","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPoolDomain","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::UserPoolDomain","aws:cdk:cloudformation:props":{"domain":{"Fn::Join":["-",["dmn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"userPoolId":{"Ref":"testconstructCognitoUserPoolA4991355"}}}},"CognitoAuthorizedRole":{"id":"CognitoAuthorizedRole","path":"faropn-new-resources/test-construct/CognitoAuthorizedRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"}]},"children":{"ImportCognitoAuthorizedRole":{"id":"ImportCognitoAuthorizedRole","path":"faropn-new-resources/test-construct/CognitoAuthorizedRole/ImportCognitoAuthorizedRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/CognitoAuthorizedRole/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:AssumeRoleWithWebIdentity","Condition":{"StringEquals":{"cognito-identity.amazonaws.com:aud":{"Ref":"testconstructCognitoIdentityPool51EFD08D"}},"ForAnyValue:StringLike":{"cognito-identity.amazonaws.com:amr":"authenticated"}},"Effect":"Allow","Principal":{"Federated":"cognito-identity.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"CognitoAccessPolicy","policyDocument":{"Statement":[{"Action":"es:ESHttp*","Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":es:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":domain/",{"Fn::Join":["-",["dmn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"/*"]]}}],"Version":"2012-10-17"}}]}}}}},"IdentityPoolRoleMapping":{"id":"IdentityPoolRoleMapping","path":"faropn-new-resources/test-construct/IdentityPoolRoleMapping","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnIdentityPoolRoleAttachment","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::IdentityPoolRoleAttachment","aws:cdk:cloudformation:props":{"identityPoolId":{"Ref":"testconstructCognitoIdentityPool51EFD08D"},"roles":{"authenticated":{"Fn::GetAtt":["testconstructCognitoAuthorizedRole7BA83790","Arn"]}}}}},"CognitoDashboardConfigureRole":{"id":"CognitoDashboardConfigureRole","path":"faropn-new-resources/test-construct/CognitoDashboardConfigureRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"attachInlinePolicy":["*"]}]},"children":{"ImportCognitoDashboardConfigureRole":{"id":"ImportCognitoDashboardConfigureRole","path":"faropn-new-resources/test-construct/CognitoDashboardConfigureRole/ImportCognitoDashboardConfigureRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/CognitoDashboardConfigureRole/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":"es.amazonaws.com"}}],"Version":"2012-10-17"}}}}}},"CognitoDashboardConfigureRolePolicy":{"id":"CognitoDashboardConfigureRolePolicy","path":"faropn-new-resources/test-construct/CognitoDashboardConfigureRolePolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.223.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/CognitoDashboardConfigureRolePolicy/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":["cognito-identity:DescribeIdentityPool","cognito-identity:GetIdentityPoolRoles","cognito-identity:SetIdentityPoolRoles","cognito-identity:UpdateIdentityPool","cognito-idp:AdminInitiateAuth","cognito-idp:AdminUserGlobalSignOut","cognito-idp:CreateUserPoolClient","cognito-idp:DeleteUserPoolClient","cognito-idp:DescribeUserPool","cognito-idp:DescribeUserPoolClient","cognito-idp:ListUserPoolClients","es:UpdateDomainConfig"],"Effect":"Allow","Resource":[{"Fn::GetAtt":["testconstructCognitoUserPoolA4991355","Arn"]},{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":cognito-identity:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":identitypool/",{"Ref":"testconstructCognitoIdentityPool51EFD08D"}]]},{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":es:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":domain/",{"Fn::Join":["-",["dmn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]}]]}]},{"Action":"iam:PassRole","Condition":{"StringLike":{"iam:PassedToService":"cognito-identity.amazonaws.com"}},"Effect":"Allow","Resource":{"Fn::GetAtt":["testconstructCognitoDashboardConfigureRoleFA66EB70","Arn"]}}],"Version":"2012-10-17"},"policyName":"testconstructCognitoDashboardConfigureRolePolicy3EC6F1C4","roles":[{"Ref":"testconstructCognitoDashboardConfigureRoleFA66EB70"}]}}}}},"OpenSearchDomain":{"id":"OpenSearchDomain","path":"faropn-new-resources/test-construct/OpenSearchDomain","constructInfo":{"fqn":"aws-cdk-lib.aws_opensearchservice.CfnDomain","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::OpenSearchService::Domain","aws:cdk:cloudformation:props":{"accessPolicies":{"Statement":[{"Action":"es:ESHttp*","Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["testconstructCognitoAuthorizedRole7BA83790","Arn"]}},"Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":es:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":domain/",{"Fn::Join":["-",["dmn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"/*"]]}}],"Version":"2012-10-17"},"clusterConfig":{"dedicatedMasterEnabled":true,"dedicatedMasterCount":3,"zoneAwarenessEnabled":true,"zoneAwarenessConfig":{"availabilityZoneCount":2},"instanceCount":2},"cognitoOptions":{"enabled":true,"identityPoolId":{"Ref":"testconstructCognitoIdentityPool51EFD08D"},"userPoolId":{"Ref":"testconstructCognitoUserPoolA4991355"},"roleArn":{"Fn::GetAtt":["testconstructCognitoDashboardConfigureRoleFA66EB70","Arn"]}},"domainEndpointOptions":{"enforceHttps":true,"tlsSecurityPolicy":"Policy-Min-TLS-1-2-2019-07"},"domainName":{"Fn::Join":["-",["dmn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"ebsOptions":{"ebsEnabled":true,"volumeSize":10},"encryptionAtRestOptions":{"enabled":true},"engineVersion":"OpenSearch_1.3","nodeToNodeEncryptionOptions":{"enabled":true},"snapshotOptions":{"automatedSnapshotStartHour":1},"vpcOptions":{"subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"securityGroupIds":[{"Fn::GetAtt":["testconstructsgA602AA29","GroupId"]}]}}}},"StatusRedAlarm":{"id":"StatusRedAlarm","path":"faropn-new-resources/test-construct/StatusRedAlarm","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":"faropn-new-resources/test-construct/StatusRedAlarm/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":"At least one primary shard and its replicas are not allocated to a node. ","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"ClusterStatus.red","namespace":"AWS/ES","period":60,"statistic":"Maximum","threshold":1}}}}},"StatusYellowAlarm":{"id":"StatusYellowAlarm","path":"faropn-new-resources/test-construct/StatusYellowAlarm","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":"faropn-new-resources/test-construct/StatusYellowAlarm/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":"At least one replica shard is not allocated to a node.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"ClusterStatus.yellow","namespace":"AWS/ES","period":60,"statistic":"Maximum","threshold":1}}}}},"FreeStorageSpaceTooLowAlarm":{"id":"FreeStorageSpaceTooLowAlarm","path":"faropn-new-resources/test-construct/FreeStorageSpaceTooLowAlarm","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":"faropn-new-resources/test-construct/FreeStorageSpaceTooLowAlarm/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":"A node in your cluster is down to 20 GiB of free storage space.","comparisonOperator":"LessThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"FreeStorageSpace","namespace":"AWS/ES","period":60,"statistic":"Minimum","threshold":20000}}}}},"IndexWritesBlockedTooHighAlarm":{"id":"IndexWritesBlockedTooHighAlarm","path":"faropn-new-resources/test-construct/IndexWritesBlockedTooHighAlarm","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":"faropn-new-resources/test-construct/IndexWritesBlockedTooHighAlarm/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":"Your cluster is blocking write requests.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"ClusterIndexWritesBlocked","namespace":"AWS/ES","period":300,"statistic":"Maximum","threshold":1}}}}},"AutomatedSnapshotFailureTooHighAlarm":{"id":"AutomatedSnapshotFailureTooHighAlarm","path":"faropn-new-resources/test-construct/AutomatedSnapshotFailureTooHighAlarm","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":"faropn-new-resources/test-construct/AutomatedSnapshotFailureTooHighAlarm/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":"An automated snapshot failed. This failure is often the result of a red cluster health status.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"AutomatedSnapshotFailure","namespace":"AWS/ES","period":60,"statistic":"Maximum","threshold":1}}}}},"CPUUtilizationTooHighAlarm":{"id":"CPUUtilizationTooHighAlarm","path":"faropn-new-resources/test-construct/CPUUtilizationTooHighAlarm","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":"faropn-new-resources/test-construct/CPUUtilizationTooHighAlarm/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":"100% CPU utilization is not uncommon, but sustained high usage is problematic. Consider using larger instance types or adding instances.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":3,"metricName":"CPUUtilization","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":80}}}}},"JVMMemoryPressureTooHighAlarm":{"id":"JVMMemoryPressureTooHighAlarm","path":"faropn-new-resources/test-construct/JVMMemoryPressureTooHighAlarm","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":"faropn-new-resources/test-construct/JVMMemoryPressureTooHighAlarm/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":"Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"JVMMemoryPressure","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":80}}}}},"MasterCPUUtilizationTooHighAlarm":{"id":"MasterCPUUtilizationTooHighAlarm","path":"faropn-new-resources/test-construct/MasterCPUUtilizationTooHighAlarm","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":"faropn-new-resources/test-construct/MasterCPUUtilizationTooHighAlarm/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":"Average CPU utilization over last 45 minutes too high. Consider using larger instance types for your dedicated master nodes.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":3,"metricName":"MasterCPUUtilization","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":50}}}}},"MasterJVMMemoryPressureTooHighAlarm":{"id":"MasterJVMMemoryPressureTooHighAlarm","path":"faropn-new-resources/test-construct/MasterJVMMemoryPressureTooHighAlarm","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":"faropn-new-resources/test-construct/MasterJVMMemoryPressureTooHighAlarm/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":"Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"MasterJVMMemoryPressure","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":50}}}}}}},"Vpc":{"id":"Vpc","path":"faropn-new-resources/Vpc","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.223.0","metadata":[{"enableDnsHostnames":true,"enableDnsSupport":true}]},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/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":"faropn-new-resources/Vpc"}]}}},"PublicSubnet1":{"id":"PublicSubnet1","path":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/Vpc/PublicSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"faropn-new-resources/Vpc/PublicSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"faropn-new-resources/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":"faropn-new-resources/Vpc/PublicSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/Vpc/PublicSubnet1"}]}}},"NATGateway":{"id":"NATGateway","path":"faropn-new-resources/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":"faropn-new-resources/Vpc/PublicSubnet1"}]}}}}},"PublicSubnet2":{"id":"PublicSubnet2","path":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/Vpc/PublicSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"faropn-new-resources/Vpc/PublicSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"faropn-new-resources/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":"faropn-new-resources/Vpc/PublicSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/Vpc/PublicSubnet2"}]}}},"NATGateway":{"id":"NATGateway","path":"faropn-new-resources/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":"faropn-new-resources/Vpc/PublicSubnet2"}]}}}}},"PrivateSubnet1":{"id":"PrivateSubnet1","path":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/Vpc/PrivateSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"faropn-new-resources/Vpc/PrivateSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"faropn-new-resources/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":"faropn-new-resources/Vpc/PrivateSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/Vpc/PrivateSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"faropn-new-resources/Vpc/PrivateSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"faropn-new-resources/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":"faropn-new-resources/Vpc/PrivateSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/Vpc"}]}}},"VPCGW":{"id":"VPCGW","path":"faropn-new-resources/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":"faropn-new-resources/Vpc/RestrictDefaultSecurityGroupCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.223.0","metadata":["*"]},"children":{"Default":{"id":"Default","path":"faropn-new-resources/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.223.0"}}}},"FlowLog":{"id":"FlowLog","path":"faropn-new-resources/Vpc/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.223.0","metadata":[{"resourceType":"*"}]},"children":{"IAMRole":{"id":"IAMRole","path":"faropn-new-resources/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":"faropn-new-resources/Vpc/FlowLog/IAMRole/ImportIAMRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"faropn-new-resources/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":"faropn-new-resources/Vpc/FlowLog"}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/Vpc/FlowLog/LogGroup","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.223.0","metadata":["*"]},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/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":"faropn-new-resources/Vpc/FlowLog"}]}}}}},"FlowLog":{"id":"FlowLog","path":"faropn-new-resources/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":"faropn-new-resources/Vpc/FlowLog"}],"trafficType":"ALL"}}}}},"ECR_API":{"id":"ECR_API","path":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["faropnnewresourcesECRAPIsecuritygroup518CB3F4","GroupId"]}],"serviceName":"com.amazonaws.us-east-1.ecr.api","subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}}}}},"ECR_DKR":{"id":"ECR_DKR","path":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["faropnnewresourcesECRDKRsecuritygroup12106D60","GroupId"]}],"serviceName":"com.amazonaws.us-east-1.ecr.dkr","subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}}}}},"S3":{"id":"S3","path":"faropn-new-resources/Vpc/S3","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.GatewayVpcEndpoint","version":"2.223.0","metadata":[{"vpc":"*","service":{"name":"*"}}]},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/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":"faropn-new-resources/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":"faropn-new-resources/Custom::VpcRestrictDefaultSGCustomResourceProvider","constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.223.0"},"children":{"Staging":{"id":"Staging","path":"faropn-new-resources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.223.0"}},"Role":{"id":"Role","path":"faropn-new-resources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.223.0"}},"Handler":{"id":"Handler","path":"faropn-new-resources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.223.0"}}}},"faropn-new-resources-ECR_API-security-group":{"id":"faropn-new-resources-ECR_API-security-group","path":"faropn-new-resources/faropn-new-resources-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":"faropn-new-resources/faropn-new-resources-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":"faropn-new-resources/faropn-new-resources-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"}}}}}},"faropn-new-resources-ECR_DKR-security-group":{"id":"faropn-new-resources-ECR_DKR-security-group","path":"faropn-new-resources/faropn-new-resources-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":"faropn-new-resources/faropn-new-resources-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":"faropn-new-resources/faropn-new-resources-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-construct-cluster":{"id":"test-construct-cluster","path":"faropn-new-resources/test-construct-cluster","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.Cluster","version":"2.223.0","metadata":[{"vpc":"*"}]},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct-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-construct-taskdef":{"id":"test-construct-taskdef","path":"faropn-new-resources/test-construct-taskdef","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.FargateTaskDefinition","version":"2.223.0","metadata":["*","*","*"]},"children":{"TaskRole":{"id":"TaskRole","path":"faropn-new-resources/test-construct-taskdef/TaskRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}}]},"children":{"ImportTaskRole":{"id":"ImportTaskRole","path":"faropn-new-resources/test-construct-taskdef/TaskRole/ImportTaskRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct-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"}}}}}},"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct-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-construct-container","portMappings":[{"containerPort":8080,"protocol":"tcp"}],"environment":[{"name":"DOMAIN_ENDPOINT","value":{"Fn::GetAtt":["testconstructOpenSearchDomainD2A5B104","DomainEndpoint"]}}]}],"cpu":"256","family":"faropnnewresourcestestconstructtaskdefA180857F","memory":"512","networkMode":"awsvpc","requiresCompatibilities":["FARGATE"],"taskRoleArn":{"Fn::GetAtt":["testconstructtaskdefTaskRoleC60414C4","Arn"]}}}},"test-construct-container":{"id":"test-construct-container","path":"faropn-new-resources/test-construct-taskdef/test-construct-container","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.ContainerDefinition","version":"2.223.0"}}}},"test-construct-sg":{"id":"test-construct-sg","path":"faropn-new-resources/test-construct-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":"faropn-new-resources/test-construct-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-construct-service":{"id":"test-construct-service","path":"faropn-new-resources/test-construct-service","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.FargateService","version":"2.223.0","metadata":["*"]},"children":{"Service":{"id":"Service","path":"faropn-new-resources/test-construct-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":"testconstructcluster7B6231C5"},"deploymentConfiguration":{"maximumPercent":150,"minimumHealthyPercent":75},"desiredCount":2,"enableEcsManagedTags":false,"launchType":"FARGATE","networkConfiguration":{"awsvpcConfiguration":{"assignPublicIp":"DISABLED","subnets":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"securityGroups":[{"Fn::GetAtt":["testconstructsgA602AA29","GroupId"]}]}},"platformVersion":"LATEST","taskDefinition":{"Ref":"testconstructtaskdef8BD1F9E4"}}}}}},"Integ":{"id":"Integ","path":"faropn-new-resources/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.223.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"faropn-new-resources/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.223.0-alpha.0"},"children":{"Default":{"id":"Default","path":"faropn-new-resources/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"faropn-new-resources/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.223.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"faropn-new-resources/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.223.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"faropn-new-resources/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.223.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"faropn-new-resources/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.223.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"faropn-new-resources/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.223.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.259.0"},"children":{"faropn-new-resources":{"id":"faropn-new-resources","path":"faropn-new-resources","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.259.0"},"children":{"test-construct":{"id":"test-construct","path":"faropn-new-resources/test-construct","constructInfo":{"fqn":"@aws-solutions-constructs/aws-fargate-opensearch.FargateToOpenSearch","version":"2.102.0"},"children":{"CognitoUserPool":{"id":"CognitoUserPool","path":"faropn-new-resources/test-construct/CognitoUserPool","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.UserPool","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/CognitoUserPool/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPool","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::UserPool","aws:cdk:cloudformation:logicalId":"testconstructCognitoUserPoolA4991355","aws:cdk:cloudformation:props":{"accountRecoverySetting":{"recoveryMechanisms":[{"name":"verified_phone_number","priority":1},{"name":"verified_email","priority":2}]},"adminCreateUserConfig":{"allowAdminCreateUserOnly":true},"emailVerificationMessage":"The verification code to your new account is {####}","emailVerificationSubject":"Verify your new account","smsVerificationMessage":"The verification code to your new account is {####}","userPoolAddOns":{"advancedSecurityMode":"ENFORCED"},"verificationMessageTemplate":{"defaultEmailOption":"CONFIRM_WITH_CODE","emailMessage":"The verification code to your new account is {####}","emailSubject":"Verify your new account","smsMessage":"The verification code to your new account is {####}"}}}}}},"CognitoUserPoolClient":{"id":"CognitoUserPoolClient","path":"faropn-new-resources/test-construct/CognitoUserPoolClient","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.UserPoolClient","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/CognitoUserPoolClient/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPoolClient","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::UserPoolClient","aws:cdk:cloudformation:logicalId":"testconstructCognitoUserPoolClient36ACF012","aws:cdk:cloudformation:props":{"allowedOAuthFlows":["implicit","code"],"allowedOAuthFlowsUserPoolClient":true,"allowedOAuthScopes":["profile","phone","email","openid","aws.cognito.signin.user.admin"],"callbackUrLs":["https://example.com"],"supportedIdentityProviders":["COGNITO"],"userPoolId":{"Ref":"testconstructCognitoUserPoolA4991355"}}}}}},"CognitoIdentityPool":{"id":"CognitoIdentityPool","path":"faropn-new-resources/test-construct/CognitoIdentityPool","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnIdentityPool","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::IdentityPool","aws:cdk:cloudformation:logicalId":"testconstructCognitoIdentityPool51EFD08D","aws:cdk:cloudformation:props":{"allowUnauthenticatedIdentities":false,"cognitoIdentityProviders":[{"clientId":{"Ref":"testconstructCognitoUserPoolClient36ACF012"},"providerName":{"Fn::GetAtt":["testconstructCognitoUserPoolA4991355","ProviderName"]},"serverSideTokenCheck":true}]}}},"UserPoolDomain":{"id":"UserPoolDomain","path":"faropn-new-resources/test-construct/UserPoolDomain","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPoolDomain","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::UserPoolDomain","aws:cdk:cloudformation:logicalId":"testconstructUserPoolDomain6B64F32F","aws:cdk:cloudformation:props":{"domain":{"Fn::Join":["-",["dmn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"userPoolId":{"Ref":"testconstructCognitoUserPoolA4991355"}}}},"CognitoAuthorizedRole":{"id":"CognitoAuthorizedRole","path":"faropn-new-resources/test-construct/CognitoAuthorizedRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/CognitoAuthorizedRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:logicalId":"testconstructCognitoAuthorizedRole7BA83790","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRoleWithWebIdentity","Condition":{"StringEquals":{"cognito-identity.amazonaws.com:aud":{"Ref":"testconstructCognitoIdentityPool51EFD08D"}},"ForAnyValue:StringLike":{"cognito-identity.amazonaws.com:amr":"authenticated"}},"Effect":"Allow","Principal":{"Federated":"cognito-identity.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"CognitoAccessPolicy","policyDocument":{"Statement":[{"Action":"es:ESHttp*","Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":es:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":domain/",{"Fn::Join":["-",["dmn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"/*"]]}}],"Version":"2012-10-17"}}]}}}}},"IdentityPoolRoleMapping":{"id":"IdentityPoolRoleMapping","path":"faropn-new-resources/test-construct/IdentityPoolRoleMapping","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnIdentityPoolRoleAttachment","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::IdentityPoolRoleAttachment","aws:cdk:cloudformation:logicalId":"testconstructIdentityPoolRoleMapping1391CBDD","aws:cdk:cloudformation:props":{"identityPoolId":{"Ref":"testconstructCognitoIdentityPool51EFD08D"},"roles":{"authenticated":{"Fn::GetAtt":["testconstructCognitoAuthorizedRole7BA83790","Arn"]}}}}},"CognitoDashboardConfigureRole":{"id":"CognitoDashboardConfigureRole","path":"faropn-new-resources/test-construct/CognitoDashboardConfigureRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/CognitoDashboardConfigureRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:logicalId":"testconstructCognitoDashboardConfigureRoleFA66EB70","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"es.amazonaws.com"}}],"Version":"2012-10-17"}}}}}},"CognitoDashboardConfigureRolePolicy":{"id":"CognitoDashboardConfigureRolePolicy","path":"faropn-new-resources/test-construct/CognitoDashboardConfigureRolePolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/CognitoDashboardConfigureRolePolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"testconstructCognitoDashboardConfigureRolePolicy3EC6F1C4","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["cognito-identity:DescribeIdentityPool","cognito-identity:GetIdentityPoolRoles","cognito-identity:SetIdentityPoolRoles","cognito-identity:UpdateIdentityPool","cognito-idp:AdminInitiateAuth","cognito-idp:AdminUserGlobalSignOut","cognito-idp:CreateUserPoolClient","cognito-idp:DeleteUserPoolClient","cognito-idp:DescribeUserPool","cognito-idp:DescribeUserPoolClient","cognito-idp:ListUserPoolClients","es:UpdateDomainConfig"],"Effect":"Allow","Resource":[{"Fn::GetAtt":["testconstructCognitoUserPoolA4991355","Arn"]},{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":cognito-identity:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":identitypool/",{"Ref":"testconstructCognitoIdentityPool51EFD08D"}]]},{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":es:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":domain/",{"Fn::Join":["-",["dmn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]}]]}]},{"Action":"iam:PassRole","Condition":{"StringLike":{"iam:PassedToService":"cognito-identity.amazonaws.com"}},"Effect":"Allow","Resource":{"Fn::GetAtt":["testconstructCognitoDashboardConfigureRoleFA66EB70","Arn"]}}],"Version":"2012-10-17"},"policyName":"testconstructCognitoDashboardConfigureRolePolicy3EC6F1C4","roles":[{"Ref":"testconstructCognitoDashboardConfigureRoleFA66EB70"}]}}}}},"OpenSearchDomain":{"id":"OpenSearchDomain","path":"faropn-new-resources/test-construct/OpenSearchDomain","constructInfo":{"fqn":"aws-cdk-lib.aws_opensearchservice.CfnDomain","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::OpenSearchService::Domain","aws:cdk:cloudformation:logicalId":"testconstructOpenSearchDomainD2A5B104","aws:cdk:cloudformation:props":{"accessPolicies":{"Statement":[{"Action":"es:ESHttp*","Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["testconstructCognitoAuthorizedRole7BA83790","Arn"]}},"Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":es:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":domain/",{"Fn::Join":["-",["dmn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"/*"]]}}],"Version":"2012-10-17"},"clusterConfig":{"dedicatedMasterEnabled":true,"dedicatedMasterCount":3,"zoneAwarenessEnabled":true,"zoneAwarenessConfig":{"availabilityZoneCount":2},"instanceCount":2},"cognitoOptions":{"enabled":true,"identityPoolId":{"Ref":"testconstructCognitoIdentityPool51EFD08D"},"userPoolId":{"Ref":"testconstructCognitoUserPoolA4991355"},"roleArn":{"Fn::GetAtt":["testconstructCognitoDashboardConfigureRoleFA66EB70","Arn"]}},"domainEndpointOptions":{"enforceHttps":true,"tlsSecurityPolicy":"Policy-Min-TLS-1-2-2019-07"},"domainName":{"Fn::Join":["-",["dmn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"ebsOptions":{"ebsEnabled":true,"volumeSize":10},"encryptionAtRestOptions":{"enabled":true},"engineVersion":"OpenSearch_1.3","nodeToNodeEncryptionOptions":{"enabled":true},"snapshotOptions":{"automatedSnapshotStartHour":1},"vpcOptions":{"subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"securityGroupIds":[{"Fn::GetAtt":["testconstructsgA602AA29","GroupId"]}]}}}},"StatusRedAlarm":{"id":"StatusRedAlarm","path":"faropn-new-resources/test-construct/StatusRedAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/StatusRedAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:logicalId":"testconstructStatusRedAlarmFBEA96DF","aws:cdk:cloudformation:props":{"alarmDescription":"At least one primary shard and its replicas are not allocated to a node. ","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"ClusterStatus.red","namespace":"AWS/ES","period":60,"statistic":"Maximum","threshold":1}}}}},"StatusYellowAlarm":{"id":"StatusYellowAlarm","path":"faropn-new-resources/test-construct/StatusYellowAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/StatusYellowAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:logicalId":"testconstructStatusYellowAlarm3B8C3640","aws:cdk:cloudformation:props":{"alarmDescription":"At least one replica shard is not allocated to a node.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"ClusterStatus.yellow","namespace":"AWS/ES","period":60,"statistic":"Maximum","threshold":1}}}}},"FreeStorageSpaceTooLowAlarm":{"id":"FreeStorageSpaceTooLowAlarm","path":"faropn-new-resources/test-construct/FreeStorageSpaceTooLowAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/FreeStorageSpaceTooLowAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:logicalId":"testconstructFreeStorageSpaceTooLowAlarm08294658","aws:cdk:cloudformation:props":{"alarmDescription":"A node in your cluster is down to 20 GiB of free storage space.","comparisonOperator":"LessThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"FreeStorageSpace","namespace":"AWS/ES","period":60,"statistic":"Minimum","threshold":20000}}}}},"IndexWritesBlockedTooHighAlarm":{"id":"IndexWritesBlockedTooHighAlarm","path":"faropn-new-resources/test-construct/IndexWritesBlockedTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/IndexWritesBlockedTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:logicalId":"testconstructIndexWritesBlockedTooHighAlarm06094A18","aws:cdk:cloudformation:props":{"alarmDescription":"Your cluster is blocking write requests.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"ClusterIndexWritesBlocked","namespace":"AWS/ES","period":300,"statistic":"Maximum","threshold":1}}}}},"AutomatedSnapshotFailureTooHighAlarm":{"id":"AutomatedSnapshotFailureTooHighAlarm","path":"faropn-new-resources/test-construct/AutomatedSnapshotFailureTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/AutomatedSnapshotFailureTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:logicalId":"testconstructAutomatedSnapshotFailureTooHighAlarm29E550A3","aws:cdk:cloudformation:props":{"alarmDescription":"An automated snapshot failed. This failure is often the result of a red cluster health status.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"AutomatedSnapshotFailure","namespace":"AWS/ES","period":60,"statistic":"Maximum","threshold":1}}}}},"CPUUtilizationTooHighAlarm":{"id":"CPUUtilizationTooHighAlarm","path":"faropn-new-resources/test-construct/CPUUtilizationTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/CPUUtilizationTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:logicalId":"testconstructCPUUtilizationTooHighAlarmD32179B7","aws:cdk:cloudformation:props":{"alarmDescription":"100% CPU utilization is not uncommon, but sustained high usage is problematic. Consider using larger instance types or adding instances.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":3,"metricName":"CPUUtilization","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":80}}}}},"JVMMemoryPressureTooHighAlarm":{"id":"JVMMemoryPressureTooHighAlarm","path":"faropn-new-resources/test-construct/JVMMemoryPressureTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/JVMMemoryPressureTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:logicalId":"testconstructJVMMemoryPressureTooHighAlarmFD4175A0","aws:cdk:cloudformation:props":{"alarmDescription":"Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"JVMMemoryPressure","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":80}}}}},"MasterCPUUtilizationTooHighAlarm":{"id":"MasterCPUUtilizationTooHighAlarm","path":"faropn-new-resources/test-construct/MasterCPUUtilizationTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/MasterCPUUtilizationTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:logicalId":"testconstructMasterCPUUtilizationTooHighAlarmAA50D0A7","aws:cdk:cloudformation:props":{"alarmDescription":"Average CPU utilization over last 45 minutes too high. Consider using larger instance types for your dedicated master nodes.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":3,"metricName":"MasterCPUUtilization","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":50}}}}},"MasterJVMMemoryPressureTooHighAlarm":{"id":"MasterJVMMemoryPressureTooHighAlarm","path":"faropn-new-resources/test-construct/MasterJVMMemoryPressureTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct/MasterJVMMemoryPressureTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:logicalId":"testconstructMasterJVMMemoryPressureTooHighAlarm5AE37D64","aws:cdk:cloudformation:props":{"alarmDescription":"Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"MasterJVMMemoryPressure","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":50}}}}}}},"Vpc":{"id":"Vpc","path":"faropn-new-resources/Vpc","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/Vpc/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPC","aws:cdk:cloudformation:logicalId":"Vpc8378EB38","aws:cdk:cloudformation:props":{"cidrBlock":"10.0.0.0/16","enableDnsHostnames":true,"enableDnsSupport":true,"instanceTenancy":"default","tags":[{"key":"Name","value":"faropn-new-resources/Vpc"}]}}},"PublicSubnet1":{"id":"PublicSubnet1","path":"faropn-new-resources/Vpc/PublicSubnet1","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PublicSubnet","version":"2.259.0"},"children":{"Subnet":{"id":"Subnet","path":"faropn-new-resources/Vpc/PublicSubnet1/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet1Subnet5C2D37C4","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":"faropn-new-resources/Vpc/PublicSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"faropn-new-resources/Vpc/PublicSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.259.0"}},"RouteTable":{"id":"RouteTable","path":"faropn-new-resources/Vpc/PublicSubnet1/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet1RouteTable6C95E38E","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"faropn-new-resources/Vpc/PublicSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"faropn-new-resources/Vpc/PublicSubnet1/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet1RouteTableAssociation97140677","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPublicSubnet1RouteTable6C95E38E"},"subnetId":{"Ref":"VpcPublicSubnet1Subnet5C2D37C4"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"faropn-new-resources/Vpc/PublicSubnet1/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet1DefaultRoute3DA9E72A","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","gatewayId":{"Ref":"VpcIGWD7BA715C"},"routeTableId":{"Ref":"VpcPublicSubnet1RouteTable6C95E38E"}}}},"EIP":{"id":"EIP","path":"faropn-new-resources/Vpc/PublicSubnet1/EIP","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnEIP","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::EIP","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet1EIPD7E02669","aws:cdk:cloudformation:props":{"domain":"vpc","tags":[{"key":"Name","value":"faropn-new-resources/Vpc/PublicSubnet1"}]}}},"NATGateway":{"id":"NATGateway","path":"faropn-new-resources/Vpc/PublicSubnet1/NATGateway","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnNatGateway","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::NatGateway","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet1NATGateway4D7517AA","aws:cdk:cloudformation:props":{"allocationId":{"Fn::GetAtt":["VpcPublicSubnet1EIPD7E02669","AllocationId"]},"subnetId":{"Ref":"VpcPublicSubnet1Subnet5C2D37C4"},"tags":[{"key":"Name","value":"faropn-new-resources/Vpc/PublicSubnet1"}]}}}}},"PublicSubnet2":{"id":"PublicSubnet2","path":"faropn-new-resources/Vpc/PublicSubnet2","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PublicSubnet","version":"2.259.0"},"children":{"Subnet":{"id":"Subnet","path":"faropn-new-resources/Vpc/PublicSubnet2/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet2Subnet691E08A3","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":"faropn-new-resources/Vpc/PublicSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"faropn-new-resources/Vpc/PublicSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.259.0"}},"RouteTable":{"id":"RouteTable","path":"faropn-new-resources/Vpc/PublicSubnet2/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet2RouteTable94F7E489","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"faropn-new-resources/Vpc/PublicSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"faropn-new-resources/Vpc/PublicSubnet2/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet2RouteTableAssociationDD5762D8","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPublicSubnet2RouteTable94F7E489"},"subnetId":{"Ref":"VpcPublicSubnet2Subnet691E08A3"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"faropn-new-resources/Vpc/PublicSubnet2/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet2DefaultRoute97F91067","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","gatewayId":{"Ref":"VpcIGWD7BA715C"},"routeTableId":{"Ref":"VpcPublicSubnet2RouteTable94F7E489"}}}},"EIP":{"id":"EIP","path":"faropn-new-resources/Vpc/PublicSubnet2/EIP","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnEIP","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::EIP","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet2EIP3C605A87","aws:cdk:cloudformation:props":{"domain":"vpc","tags":[{"key":"Name","value":"faropn-new-resources/Vpc/PublicSubnet2"}]}}},"NATGateway":{"id":"NATGateway","path":"faropn-new-resources/Vpc/PublicSubnet2/NATGateway","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnNatGateway","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::NatGateway","aws:cdk:cloudformation:logicalId":"VpcPublicSubnet2NATGateway9182C01D","aws:cdk:cloudformation:props":{"allocationId":{"Fn::GetAtt":["VpcPublicSubnet2EIP3C605A87","AllocationId"]},"subnetId":{"Ref":"VpcPublicSubnet2Subnet691E08A3"},"tags":[{"key":"Name","value":"faropn-new-resources/Vpc/PublicSubnet2"}]}}}}},"PrivateSubnet1":{"id":"PrivateSubnet1","path":"faropn-new-resources/Vpc/PrivateSubnet1","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.259.0"},"children":{"Subnet":{"id":"Subnet","path":"faropn-new-resources/Vpc/PrivateSubnet1/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:logicalId":"VpcPrivateSubnet1Subnet536B997A","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":"faropn-new-resources/Vpc/PrivateSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"faropn-new-resources/Vpc/PrivateSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.259.0"}},"RouteTable":{"id":"RouteTable","path":"faropn-new-resources/Vpc/PrivateSubnet1/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:logicalId":"VpcPrivateSubnet1RouteTableB2C5B500","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"faropn-new-resources/Vpc/PrivateSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"faropn-new-resources/Vpc/PrivateSubnet1/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:logicalId":"VpcPrivateSubnet1RouteTableAssociation70C59FA6","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPrivateSubnet1RouteTableB2C5B500"},"subnetId":{"Ref":"VpcPrivateSubnet1Subnet536B997A"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"faropn-new-resources/Vpc/PrivateSubnet1/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:logicalId":"VpcPrivateSubnet1DefaultRouteBE02A9ED","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","natGatewayId":{"Ref":"VpcPublicSubnet1NATGateway4D7517AA"},"routeTableId":{"Ref":"VpcPrivateSubnet1RouteTableB2C5B500"}}}}}},"PrivateSubnet2":{"id":"PrivateSubnet2","path":"faropn-new-resources/Vpc/PrivateSubnet2","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.259.0"},"children":{"Subnet":{"id":"Subnet","path":"faropn-new-resources/Vpc/PrivateSubnet2/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:logicalId":"VpcPrivateSubnet2Subnet3788AAA1","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":"faropn-new-resources/Vpc/PrivateSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"faropn-new-resources/Vpc/PrivateSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.259.0"}},"RouteTable":{"id":"RouteTable","path":"faropn-new-resources/Vpc/PrivateSubnet2/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:logicalId":"VpcPrivateSubnet2RouteTableA678073B","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"faropn-new-resources/Vpc/PrivateSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"faropn-new-resources/Vpc/PrivateSubnet2/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:logicalId":"VpcPrivateSubnet2RouteTableAssociationA89CAD56","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcPrivateSubnet2RouteTableA678073B"},"subnetId":{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}}}},"DefaultRoute":{"id":"DefaultRoute","path":"faropn-new-resources/Vpc/PrivateSubnet2/DefaultRoute","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRoute","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Route","aws:cdk:cloudformation:logicalId":"VpcPrivateSubnet2DefaultRoute060D2087","aws:cdk:cloudformation:props":{"destinationCidrBlock":"0.0.0.0/0","natGatewayId":{"Ref":"VpcPublicSubnet2NATGateway9182C01D"},"routeTableId":{"Ref":"VpcPrivateSubnet2RouteTableA678073B"}}}}}},"IGW":{"id":"IGW","path":"faropn-new-resources/Vpc/IGW","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnInternetGateway","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::InternetGateway","aws:cdk:cloudformation:logicalId":"VpcIGWD7BA715C","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"faropn-new-resources/Vpc"}]}}},"VPCGW":{"id":"VPCGW","path":"faropn-new-resources/Vpc/VPCGW","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCGatewayAttachment","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCGatewayAttachment","aws:cdk:cloudformation:logicalId":"VpcVPCGWBF912B6E","aws:cdk:cloudformation:props":{"internetGatewayId":{"Ref":"VpcIGWD7BA715C"},"vpcId":{"Ref":"Vpc8378EB38"}}}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"faropn-new-resources/Vpc/RestrictDefaultSecurityGroupCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.259.0"},"children":{"Default":{"id":"Default","path":"faropn-new-resources/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.259.0"}}}},"FlowLog":{"id":"FlowLog","path":"faropn-new-resources/Vpc/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.259.0"},"children":{"IAMRole":{"id":"IAMRole","path":"faropn-new-resources/Vpc/FlowLog/IAMRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/Vpc/FlowLog/IAMRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:logicalId":"VpcFlowLogIAMRole6A475D41","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":"faropn-new-resources/Vpc/FlowLog"}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"faropn-new-resources/Vpc/FlowLog/IAMRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"VpcFlowLogIAMRoleDefaultPolicy406FB995","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":"faropn-new-resources/Vpc/FlowLog/LogGroup","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/Vpc/FlowLog/LogGroup/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:logicalId":"VpcFlowLogLogGroup7B5C56B9","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"faropn-new-resources/Vpc/FlowLog"}]}}}}},"FlowLog":{"id":"FlowLog","path":"faropn-new-resources/Vpc/FlowLog/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnFlowLog","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::FlowLog","aws:cdk:cloudformation:logicalId":"VpcFlowLog8FF33A73","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":"faropn-new-resources/Vpc/FlowLog"}],"trafficType":"ALL"}}}}},"ECR_API":{"id":"ECR_API","path":"faropn-new-resources/Vpc/ECR_API","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/Vpc/ECR_API/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:logicalId":"VpcECRAPI9A3B6A2B","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"faropn-new-resources/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["faropnnewresourcesECRAPIsecuritygroup518CB3F4","GroupId"]}],"serviceName":"com.amazonaws.us-east-1.ecr.api","subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}}}}},"ECR_DKR":{"id":"ECR_DKR","path":"faropn-new-resources/Vpc/ECR_DKR","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/Vpc/ECR_DKR/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:logicalId":"VpcECRDKR604E039F","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"faropn-new-resources/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["faropnnewresourcesECRDKRsecuritygroup12106D60","GroupId"]}],"serviceName":"com.amazonaws.us-east-1.ecr.dkr","subnetIds":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}}}}},"S3":{"id":"S3","path":"faropn-new-resources/Vpc/S3","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.GatewayVpcEndpoint","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/Vpc/S3/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:logicalId":"VpcS3A5408339","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"faropn-new-resources/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":"faropn-new-resources/Custom::VpcRestrictDefaultSGCustomResourceProvider","constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.259.0"},"children":{"Staging":{"id":"Staging","path":"faropn-new-resources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.259.0"}},"Role":{"id":"Role","path":"faropn-new-resources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.259.0"}},"Handler":{"id":"Handler","path":"faropn-new-resources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.259.0"}}}},"faropn-new-resources-ECR_API-security-group":{"id":"faropn-new-resources-ECR_API-security-group","path":"faropn-new-resources/faropn-new-resources-ECR_API-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/faropn-new-resources-ECR_API-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:logicalId":"faropnnewresourcesECRAPIsecuritygroup518CB3F4","aws:cdk:cloudformation:props":{"groupDescription":"faropn-new-resources/faropn-new-resources-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"}}}}}},"faropn-new-resources-ECR_DKR-security-group":{"id":"faropn-new-resources-ECR_DKR-security-group","path":"faropn-new-resources/faropn-new-resources-ECR_DKR-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/faropn-new-resources-ECR_DKR-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:logicalId":"faropnnewresourcesECRDKRsecuritygroup12106D60","aws:cdk:cloudformation:props":{"groupDescription":"faropn-new-resources/faropn-new-resources-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-construct-cluster":{"id":"test-construct-cluster","path":"faropn-new-resources/test-construct-cluster","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.Cluster","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct-cluster/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.CfnCluster","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ECS::Cluster","aws:cdk:cloudformation:logicalId":"testconstructcluster7B6231C5","aws:cdk:cloudformation:props":{}}}}},"test-construct-taskdef":{"id":"test-construct-taskdef","path":"faropn-new-resources/test-construct-taskdef","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.FargateTaskDefinition","version":"2.259.0"},"children":{"TaskRole":{"id":"TaskRole","path":"faropn-new-resources/test-construct-taskdef/TaskRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct-taskdef/TaskRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:logicalId":"testconstructtaskdefTaskRoleC60414C4","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"ecs-tasks.amazonaws.com"}}],"Version":"2012-10-17"}}}}}},"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct-taskdef/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.CfnTaskDefinition","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ECS::TaskDefinition","aws:cdk:cloudformation:logicalId":"testconstructtaskdef8BD1F9E4","aws:cdk:cloudformation:props":{"containerDefinitions":[{"essential":true,"image":"nginx","memoryReservation":512,"name":"test-construct-container","portMappings":[{"containerPort":8080,"protocol":"tcp"}],"environment":[{"name":"DOMAIN_ENDPOINT","value":{"Fn::GetAtt":["testconstructOpenSearchDomainD2A5B104","DomainEndpoint"]}}]}],"cpu":"256","family":"faropnnewresourcestestconstructtaskdefA180857F","memory":"512","networkMode":"awsvpc","requiresCompatibilities":["FARGATE"],"taskRoleArn":{"Fn::GetAtt":["testconstructtaskdefTaskRoleC60414C4","Arn"]}}}},"test-construct-container":{"id":"test-construct-container","path":"faropn-new-resources/test-construct-taskdef/test-construct-container","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.ContainerDefinition","version":"2.259.0"}}}},"test-construct-sg":{"id":"test-construct-sg","path":"faropn-new-resources/test-construct-sg","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"faropn-new-resources/test-construct-sg/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:logicalId":"testconstructsgA602AA29","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-construct-service":{"id":"test-construct-service","path":"faropn-new-resources/test-construct-service","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.FargateService","version":"2.259.0"},"children":{"Service":{"id":"Service","path":"faropn-new-resources/test-construct-service/Service","constructInfo":{"fqn":"aws-cdk-lib.aws_ecs.CfnService","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::ECS::Service","aws:cdk:cloudformation:logicalId":"testconstructserviceService13074A8F","aws:cdk:cloudformation:props":{"cluster":{"Ref":"testconstructcluster7B6231C5"},"deploymentConfiguration":{"maximumPercent":150,"minimumHealthyPercent":75},"desiredCount":2,"enableEcsManagedTags":false,"launchType":"FARGATE","networkConfiguration":{"awsvpcConfiguration":{"assignPublicIp":"DISABLED","subnets":[{"Ref":"VpcPrivateSubnet1Subnet536B997A"},{"Ref":"VpcPrivateSubnet2Subnet3788AAA1"}],"securityGroups":[{"Fn::GetAtt":["testconstructsgA602AA29","GroupId"]}]}},"platformVersion":"LATEST","taskDefinition":{"Ref":"testconstructtaskdef8BD1F9E4"}}}}}},"Integ":{"id":"Integ","path":"faropn-new-resources/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.259.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"faropn-new-resources/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.259.0-alpha.0"},"children":{"Default":{"id":"Default","path":"faropn-new-resources/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}},"DeployAssert":{"id":"DeployAssert","path":"faropn-new-resources/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.259.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"faropn-new-resources/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.259.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"faropn-new-resources/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.259.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"faropn-new-resources/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.259.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"faropn-new-resources/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.259.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}}}}}
@@ -0,0 +1,27 @@
1
+ {
2
+ "version": "54.0.0",
3
+ "title": "Validation Report",
4
+ "pluginReports": [
5
+ {
6
+ "pluginName": "Construct Annotations",
7
+ "conclusion": "success",
8
+ "violations": [
9
+ {
10
+ "ruleName": "@aws-cdk/aws-ecs:shouldUseCircuitBreaker",
11
+ "description": "Enable the 'circuitBreaker' property to trigger a quicker deployment failure if tasks are failing to come start (without this setting deployments may take up to 3 hours to fail). [ack: @aws-cdk/aws-ecs:shouldUseCircuitBreaker]",
12
+ "severity": "warning",
13
+ "violatingConstructs": [
14
+ {
15
+ "constructPath": "faropn-new-resources/test-construct-service",
16
+ "constructFqn": "aws-cdk-lib.aws_ecs.FargateService",
17
+ "libraryVersion": "2.259.0",
18
+ "stackTraces": [
19
+ "Run with '--debug' to include location info\nRun with '--debug' to include location info"
20
+ ]
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
26
+ ]
27
+ }
@@ -1 +0,0 @@
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))}
@@ -1 +0,0 @@
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))}