@epilot360/icons 0.0.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -5
- package/dist/bundle.js +1 -1
- package/dist/bundle.js.map +1 -1
- package/index.js.map +1 -1
- package/package.json +41 -8
- package/react/Account/index.d.ts +4 -0
- package/react/Account/index.js +41 -0
- package/react/Account/index.js.map +1 -0
- package/react/Add/index.d.ts +4 -0
- package/react/Add/index.js +41 -0
- package/react/Add/index.js.map +1 -0
- package/react/AddCircle/index.d.ts +4 -0
- package/react/AddCircle/index.js +41 -0
- package/react/AddCircle/index.js.map +1 -0
- package/react/Browse/index.d.ts +4 -0
- package/react/Browse/index.js +27 -0
- package/react/Browse/index.js.map +1 -0
- package/react/Calendar/index.d.ts +4 -0
- package/react/Calendar/index.js +41 -0
- package/react/Calendar/index.js.map +1 -0
- package/react/Cancel/index.d.ts +4 -0
- package/react/Cancel/index.js +41 -0
- package/react/Cancel/index.js.map +1 -0
- package/react/Check/index.d.ts +4 -0
- package/react/Check/index.js +41 -0
- package/react/Check/index.js.map +1 -0
- package/react/CheckCircle/index.d.ts +4 -0
- package/react/CheckCircle/index.js +41 -0
- package/react/CheckCircle/index.js.map +1 -0
- package/react/Close/index.d.ts +4 -0
- package/react/Close/index.js +41 -0
- package/react/Close/index.js.map +1 -0
- package/react/Compass/index.d.ts +4 -0
- package/react/Compass/index.js +27 -0
- package/react/Compass/index.js.map +1 -0
- package/react/Contact/index.d.ts +4 -0
- package/react/Contact/index.js +41 -0
- package/react/Contact/index.js.map +1 -0
- package/react/ContentCopy/index.d.ts +4 -0
- package/react/ContentCopy/index.js +41 -0
- package/react/ContentCopy/index.js.map +1 -0
- package/react/Contract/index.d.ts +4 -0
- package/react/Contract/index.js +41 -0
- package/react/Contract/index.js.map +1 -0
- package/react/Dashboard/index.d.ts +4 -0
- package/react/Dashboard/index.js +41 -0
- package/react/Dashboard/index.js.map +1 -0
- package/react/DataObject/index.d.ts +4 -0
- package/react/DataObject/index.js +41 -0
- package/react/DataObject/index.js.map +1 -0
- package/react/Delete/index.d.ts +4 -0
- package/react/Delete/index.js +41 -0
- package/react/Delete/index.js.map +1 -0
- package/react/Design/index.d.ts +4 -0
- package/react/Design/index.js +41 -0
- package/react/Design/index.js.map +1 -0
- package/react/Document/index.d.ts +4 -0
- package/react/Document/index.js +41 -0
- package/react/Document/index.js.map +1 -0
- package/react/Draft/index.d.ts +4 -0
- package/react/Draft/index.js +41 -0
- package/react/Draft/index.js.map +1 -0
- package/react/DragIndicator/index.d.ts +4 -0
- package/react/DragIndicator/index.js +41 -0
- package/react/DragIndicator/index.js.map +1 -0
- package/react/Edit/index.d.ts +4 -0
- package/react/Edit/index.js +41 -0
- package/react/Edit/index.js.map +1 -0
- package/react/Entity/index.d.ts +4 -0
- package/react/Entity/index.js +41 -0
- package/react/Entity/index.js.map +1 -0
- package/react/Epilot/index.d.ts +4 -0
- package/react/Epilot/index.js +40 -0
- package/react/Epilot/index.js.map +1 -0
- package/react/EpilotIcon.d.ts +110 -0
- package/react/EpilotIcon.js +130 -0
- package/react/EpilotIcon.js.map +1 -0
- package/react/ExpandLess/index.d.ts +4 -0
- package/react/ExpandLess/index.js +41 -0
- package/react/ExpandLess/index.js.map +1 -0
- package/react/ExpandMore/index.d.ts +4 -0
- package/react/ExpandMore/index.js +41 -0
- package/react/ExpandMore/index.js.map +1 -0
- package/react/Explore/index.d.ts +4 -0
- package/react/Explore/index.js +41 -0
- package/react/Explore/index.js.map +1 -0
- package/react/File/index.d.ts +4 -0
- package/react/File/index.js +41 -0
- package/react/File/index.js.map +1 -0
- package/react/Folder/index.d.ts +4 -0
- package/react/Folder/index.js +41 -0
- package/react/Folder/index.js.map +1 -0
- package/react/Help/index.d.ts +4 -0
- package/react/Help/index.js +41 -0
- package/react/Help/index.js.map +1 -0
- package/react/Info/index.d.ts +4 -0
- package/react/Info/index.js +41 -0
- package/react/Info/index.js.map +1 -0
- package/react/Journey/index.d.ts +4 -0
- package/react/Journey/index.js +41 -0
- package/react/Journey/index.js.map +1 -0
- package/react/Mail/index.d.ts +4 -0
- package/react/Mail/index.js +41 -0
- package/react/Mail/index.js.map +1 -0
- package/react/Menu/index.d.ts +4 -0
- package/react/Menu/index.js +41 -0
- package/react/Menu/index.js.map +1 -0
- package/react/Message/index.d.ts +4 -0
- package/react/Message/index.js +41 -0
- package/react/Message/index.js.map +1 -0
- package/react/Meter/index.d.ts +4 -0
- package/react/Meter/index.js +41 -0
- package/react/Meter/index.js.map +1 -0
- package/react/Notifications/index.d.ts +4 -0
- package/react/Notifications/index.js +41 -0
- package/react/Notifications/index.js.map +1 -0
- package/react/OpenInNew/index.d.ts +4 -0
- package/react/OpenInNew/index.js +41 -0
- package/react/OpenInNew/index.js.map +1 -0
- package/react/Opportunity/index.d.ts +4 -0
- package/react/Opportunity/index.js +41 -0
- package/react/Opportunity/index.js.map +1 -0
- package/react/Order/index.d.ts +4 -0
- package/react/Order/index.js +41 -0
- package/react/Order/index.js.map +1 -0
- package/react/Partner/index.d.ts +4 -0
- package/react/Partner/index.js +41 -0
- package/react/Partner/index.js.map +1 -0
- package/react/Price/index.d.ts +4 -0
- package/react/Price/index.js +41 -0
- package/react/Price/index.js.map +1 -0
- package/react/Product/index.d.ts +4 -0
- package/react/Product/index.js +41 -0
- package/react/Product/index.js.map +1 -0
- package/react/Refresh/index.d.ts +4 -0
- package/react/Refresh/index.js +41 -0
- package/react/Refresh/index.js.map +1 -0
- package/react/Search/index.d.ts +4 -0
- package/react/Search/index.js +41 -0
- package/react/Search/index.js.map +1 -0
- package/react/Settings/index.d.ts +4 -0
- package/react/Settings/index.js +41 -0
- package/react/Settings/index.js.map +1 -0
- package/react/Share/index.d.ts +4 -0
- package/react/Share/index.js +41 -0
- package/react/Share/index.js.map +1 -0
- package/react/Submission/index.d.ts +4 -0
- package/react/Submission/index.js +41 -0
- package/react/Submission/index.js.map +1 -0
- package/react/Tax/index.d.ts +4 -0
- package/react/Tax/index.js +41 -0
- package/react/Tax/index.js.map +1 -0
- package/react/Templates/index.d.ts +4 -0
- package/react/Templates/index.js +41 -0
- package/react/Templates/index.js.map +1 -0
- package/react/Visibility/index.d.ts +4 -0
- package/react/Visibility/index.js +41 -0
- package/react/Visibility/index.js.map +1 -0
- package/react/VisibilityOff/index.d.ts +4 -0
- package/react/VisibilityOff/index.js +41 -0
- package/react/VisibilityOff/index.js.map +1 -0
- package/react/Warning/index.d.ts +4 -0
- package/react/Warning/index.js +41 -0
- package/react/Warning/index.js.map +1 -0
- package/react/Webhook/index.d.ts +4 -0
- package/react/Webhook/index.js +41 -0
- package/react/Webhook/index.js.map +1 -0
- package/react/Workflow/index.d.ts +4 -0
- package/react/Workflow/index.js +41 -0
- package/react/Workflow/index.js.map +1 -0
- package/react/index.d.ts +50 -0
- package/react/index.js +50 -0
- package/react/index.js.map +1 -1
- package/react/types.d.ts +8 -0
- package/react/types.js +10 -0
- package/react/types.js.map +1 -0
- package/src/stories/Readme.mdx +53 -0
- package/iac/node_modules/@balena/dockerignore/LICENSE.md +0 -206
- package/iac/node_modules/@balena/dockerignore/README.md +0 -261
- package/iac/node_modules/@cspotcode/source-map-support/LICENSE.md +0 -21
- package/iac/node_modules/@cspotcode/source-map-support/README.md +0 -289
- package/iac/node_modules/@jridgewell/resolve-uri/LICENSE +0 -19
- package/iac/node_modules/@jridgewell/resolve-uri/README.md +0 -40
- package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +0 -1
- package/iac/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +0 -1
- package/iac/node_modules/@jridgewell/sourcemap-codec/LICENSE +0 -21
- package/iac/node_modules/@jridgewell/sourcemap-codec/README.md +0 -200
- package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +0 -1
- package/iac/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +0 -1
- package/iac/node_modules/@jridgewell/trace-mapping/LICENSE +0 -19
- package/iac/node_modules/@jridgewell/trace-mapping/README.md +0 -193
- package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +0 -1
- package/iac/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +0 -1
- package/iac/node_modules/@tsconfig/node10/LICENSE +0 -21
- package/iac/node_modules/@tsconfig/node10/README.md +0 -40
- package/iac/node_modules/@tsconfig/node12/LICENSE +0 -21
- package/iac/node_modules/@tsconfig/node12/README.md +0 -40
- package/iac/node_modules/@tsconfig/node14/LICENSE +0 -21
- package/iac/node_modules/@tsconfig/node14/README.md +0 -40
- package/iac/node_modules/@tsconfig/node16/LICENSE +0 -21
- package/iac/node_modules/@tsconfig/node16/README.md +0 -40
- package/iac/node_modules/@types/jest/LICENSE +0 -21
- package/iac/node_modules/@types/jest/README.md +0 -17
- package/iac/node_modules/@types/node/LICENSE +0 -21
- package/iac/node_modules/@types/node/README.md +0 -16
- package/iac/node_modules/@types/prettier/LICENSE +0 -21
- package/iac/node_modules/@types/prettier/README.md +0 -16
- package/iac/node_modules/acorn/LICENSE +0 -21
- package/iac/node_modules/acorn/README.md +0 -273
- package/iac/node_modules/acorn-walk/LICENSE +0 -21
- package/iac/node_modules/acorn-walk/README.md +0 -126
- package/iac/node_modules/ansi-regex/license +0 -9
- package/iac/node_modules/ansi-regex/readme.md +0 -78
- package/iac/node_modules/ansi-styles/license +0 -9
- package/iac/node_modules/ansi-styles/readme.md +0 -144
- package/iac/node_modules/arg/LICENSE.md +0 -21
- package/iac/node_modules/arg/README.md +0 -280
- package/iac/node_modules/at-least-node/LICENSE +0 -6
- package/iac/node_modules/at-least-node/README.md +0 -25
- package/iac/node_modules/aws-cdk/LICENSE +0 -201
- package/iac/node_modules/aws-cdk/README.md +0 -742
- package/iac/node_modules/aws-cdk/lib/init-templates/LICENSE +0 -16
- package/iac/node_modules/aws-cdk/lib/init-templates/app/csharp/README.md +0 -14
- package/iac/node_modules/aws-cdk/lib/init-templates/app/fsharp/README.md +0 -18
- package/iac/node_modules/aws-cdk/lib/init-templates/app/go/README.md +0 -12
- package/iac/node_modules/aws-cdk/lib/init-templates/app/java/README.md +0 -18
- package/iac/node_modules/aws-cdk/lib/init-templates/app/javascript/README.md +0 -12
- package/iac/node_modules/aws-cdk/lib/init-templates/app/python/README.template.md +0 -58
- package/iac/node_modules/aws-cdk/lib/init-templates/app/typescript/README.md +0 -14
- package/iac/node_modules/aws-cdk/lib/init-templates/lib/typescript/README.template.md +0 -12
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/csharp/README.template.md +0 -19
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/fsharp/README.template.md +0 -20
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/go/README.md +0 -12
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/java/README.template.md +0 -19
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/javascript/README.template.md +0 -13
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/python/README.template.md +0 -65
- package/iac/node_modules/aws-cdk/lib/init-templates/sample-app/typescript/README.template.md +0 -15
- package/iac/node_modules/aws-cdk/test/integ/cli/README.md +0 -48
- package/iac/node_modules/aws-cdk/test/integ/cli-regression-patches/README.md +0 -54
- package/iac/node_modules/aws-cdk-lib/LICENSE +0 -201
- package/iac/node_modules/aws-cdk-lib/README.md +0 -1119
- package/iac/node_modules/aws-cdk-lib/alexa-ask/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/assertions/README.md +0 -571
- package/iac/node_modules/aws-cdk-lib/assets/README.md +0 -4
- package/iac/node_modules/aws-cdk-lib/aws-accessanalyzer/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-acmpca/README.md +0 -59
- package/iac/node_modules/aws-cdk-lib/aws-amazonmq/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-amplify/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-amplifyuibuilder/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-apigateway/README.md +0 -1335
- package/iac/node_modules/aws-cdk-lib/aws-apigatewayv2/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-appconfig/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-appflow/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-appintegrations/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-applicationautoscaling/README.md +0 -246
- package/iac/node_modules/aws-cdk-lib/aws-applicationinsights/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-appmesh/README.md +0 -883
- package/iac/node_modules/aws-cdk-lib/aws-apprunner/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-appstream/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-appsync/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-aps/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-athena/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-auditmanager/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling/README.md +0 -540
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling-common/README.md +0 -8
- package/iac/node_modules/aws-cdk-lib/aws-autoscaling-hooktargets/README.md +0 -18
- package/iac/node_modules/aws-cdk-lib/aws-autoscalingplans/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-backup/README.md +0 -210
- package/iac/node_modules/aws-cdk-lib/aws-batch/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-billingconductor/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-budgets/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-cassandra/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-ce/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/README.md +0 -166
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/lambda-packages/dns_validated_certificate_handler/README.md +0 -2
- package/iac/node_modules/aws-cdk-lib/aws-certificatemanager/suffixes/README.txt +0 -8
- package/iac/node_modules/aws-cdk-lib/aws-chatbot/README.md +0 -44
- package/iac/node_modules/aws-cdk-lib/aws-cloud9/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-cloudformation/README.md +0 -4
- package/iac/node_modules/aws-cdk-lib/aws-cloudfront/README.md +0 -973
- package/iac/node_modules/aws-cdk-lib/aws-cloudfront-origins/README.md +0 -126
- package/iac/node_modules/aws-cdk-lib/aws-cloudtrail/README.md +0 -189
- package/iac/node_modules/aws-cdk-lib/aws-cloudwatch/README.md +0 -579
- package/iac/node_modules/aws-cdk-lib/aws-cloudwatch-actions/README.md +0 -43
- package/iac/node_modules/aws-cdk-lib/aws-codeartifact/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-codebuild/README.md +0 -759
- package/iac/node_modules/aws-cdk-lib/aws-codecommit/README.md +0 -85
- package/iac/node_modules/aws-cdk-lib/aws-codedeploy/README.md +0 -319
- package/iac/node_modules/aws-cdk-lib/aws-codeguruprofiler/README.md +0 -37
- package/iac/node_modules/aws-cdk-lib/aws-codegurureviewer/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-codepipeline/README.md +0 -481
- package/iac/node_modules/aws-cdk-lib/aws-codepipeline-actions/README.md +0 -1203
- package/iac/node_modules/aws-cdk-lib/aws-codestar/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-codestarconnections/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-codestarnotifications/README.md +0 -68
- package/iac/node_modules/aws-cdk-lib/aws-cognito/README.md +0 -843
- package/iac/node_modules/aws-cdk-lib/aws-config/README.md +0 -218
- package/iac/node_modules/aws-cdk-lib/aws-connect/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-controltower/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-cur/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-customerprofiles/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-databrew/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-datapipeline/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-datasync/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-dax/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-detective/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-devopsguru/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-directoryservice/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-dlm/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-dms/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-docdb/README.md +0 -153
- package/iac/node_modules/aws-cdk-lib/aws-dynamodb/README.md +0 -200
- package/iac/node_modules/aws-cdk-lib/aws-ec2/README.md +0 -1514
- package/iac/node_modules/aws-cdk-lib/aws-ecr/README.md +0 -110
- package/iac/node_modules/aws-cdk-lib/aws-ecr-assets/README.md +0 -167
- package/iac/node_modules/aws-cdk-lib/aws-ecs/README.md +0 -1225
- package/iac/node_modules/aws-cdk-lib/aws-ecs-patterns/README.md +0 -980
- package/iac/node_modules/aws-cdk-lib/aws-efs/README.md +0 -154
- package/iac/node_modules/aws-cdk-lib/aws-eks/README.md +0 -1450
- package/iac/node_modules/aws-cdk-lib/aws-elasticache/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-elasticbeanstalk/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancing/README.md +0 -40
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2/README.md +0 -569
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-actions/README.md +0 -68
- package/iac/node_modules/aws-cdk-lib/aws-elasticloadbalancingv2-targets/README.md +0 -4
- package/iac/node_modules/aws-cdk-lib/aws-elasticsearch/README.md +0 -441
- package/iac/node_modules/aws-cdk-lib/aws-emr/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-emrcontainers/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-emrserverless/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-events/README.md +0 -249
- package/iac/node_modules/aws-cdk-lib/aws-events-targets/README.md +0 -339
- package/iac/node_modules/aws-cdk-lib/aws-eventschemas/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-evidently/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-finspace/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-fis/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-fms/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-forecast/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-frauddetector/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-fsx/README.md +0 -200
- package/iac/node_modules/aws-cdk-lib/aws-gamelift/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator/README.md +0 -182
- package/iac/node_modules/aws-cdk-lib/aws-globalaccelerator-endpoints/README.md +0 -10
- package/iac/node_modules/aws-cdk-lib/aws-glue/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-greengrass/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-greengrassv2/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-groundstation/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-guardduty/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-healthlake/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iam/README.md +0 -509
- package/iac/node_modules/aws-cdk-lib/aws-imagebuilder/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-inspector/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-inspectorv2/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iot/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-iot1click/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotanalytics/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotcoredeviceadvisor/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotevents/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-iotfleethub/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotsitewise/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotthingsgraph/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iottwinmaker/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-iotwireless/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-ivs/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-kafkaconnect/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-kendra/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-kinesis/README.md +0 -188
- package/iac/node_modules/aws-cdk-lib/aws-kinesisanalytics/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-kinesisanalyticsv2/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-kinesisfirehose/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-kinesisvideo/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-kms/README.md +0 -209
- package/iac/node_modules/aws-cdk-lib/aws-lakeformation/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-lambda/README.md +0 -985
- package/iac/node_modules/aws-cdk-lib/aws-lambda-destinations/README.md +0 -147
- package/iac/node_modules/aws-cdk-lib/aws-lambda-event-sources/README.md +0 -281
- package/iac/node_modules/aws-cdk-lib/aws-lambda-nodejs/README.md +0 -317
- package/iac/node_modules/aws-cdk-lib/aws-lex/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-licensemanager/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-lightsail/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-location/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-logs/README.md +0 -322
- package/iac/node_modules/aws-cdk-lib/aws-logs-destinations/README.md +0 -7
- package/iac/node_modules/aws-cdk-lib/aws-lookoutequipment/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-lookoutmetrics/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-lookoutvision/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-m2/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-macie/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-managedblockchain/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-mediaconnect/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-mediaconvert/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-medialive/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-mediapackage/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-mediastore/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-mediatailor/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-memorydb/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-msk/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-mwaa/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-neptune/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-networkfirewall/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-networkmanager/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-nimblestudio/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-opensearchservice/README.md +0 -378
- package/iac/node_modules/aws-cdk-lib/aws-opsworks/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-opsworkscm/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-panorama/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-personalize/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-pinpoint/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-pinpointemail/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-qldb/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-quicksight/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-ram/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-rds/README.md +0 -704
- package/iac/node_modules/aws-cdk-lib/aws-redshift/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-redshiftserverless/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-refactorspaces/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-rekognition/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-resiliencehub/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-resourcegroups/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-robomaker/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-route53/README.md +0 -281
- package/iac/node_modules/aws-cdk-lib/aws-route53-patterns/README.md +0 -45
- package/iac/node_modules/aws-cdk-lib/aws-route53-targets/README.md +0 -181
- package/iac/node_modules/aws-cdk-lib/aws-route53recoverycontrol/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-route53recoveryreadiness/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-route53resolver/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-rum/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-s3/README.md +0 -581
- package/iac/node_modules/aws-cdk-lib/aws-s3-assets/README.md +0 -179
- package/iac/node_modules/aws-cdk-lib/aws-s3-deployment/README.md +0 -349
- package/iac/node_modules/aws-cdk-lib/aws-s3-notifications/README.md +0 -46
- package/iac/node_modules/aws-cdk-lib/aws-s3objectlambda/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-s3outposts/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-sagemaker/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-sam/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-sdb/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-secretsmanager/README.md +0 -285
- package/iac/node_modules/aws-cdk-lib/aws-securityhub/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-servicecatalog/README.md +0 -491
- package/iac/node_modules/aws-cdk-lib/aws-servicecatalogappregistry/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-servicediscovery/README.md +0 -45
- package/iac/node_modules/aws-cdk-lib/aws-ses/README.md +0 -194
- package/iac/node_modules/aws-cdk-lib/aws-ses-actions/README.md +0 -16
- package/iac/node_modules/aws-cdk-lib/aws-signer/README.md +0 -41
- package/iac/node_modules/aws-cdk-lib/aws-sns/README.md +0 -184
- package/iac/node_modules/aws-cdk-lib/aws-sns-subscriptions/README.md +0 -120
- package/iac/node_modules/aws-cdk-lib/aws-sqs/README.md +0 -57
- package/iac/node_modules/aws-cdk-lib/aws-ssm/README.md +0 -99
- package/iac/node_modules/aws-cdk-lib/aws-ssmcontacts/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-ssmincidents/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-sso/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-stepfunctions/README.md +0 -884
- package/iac/node_modules/aws-cdk-lib/aws-stepfunctions-tasks/README.md +0 -1288
- package/iac/node_modules/aws-cdk-lib/aws-supportapp/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-synthetics/README.md +0 -32
- package/iac/node_modules/aws-cdk-lib/aws-timestream/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-transfer/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-voiceid/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-waf/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-wafregional/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-wafv2/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-wisdom/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-workspaces/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/aws-xray/README.md +0 -27
- package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/README.md +0 -55
- package/iac/node_modules/aws-cdk-lib/cloud-assembly-schema/schema/README.md +0 -5
- package/iac/node_modules/aws-cdk-lib/cloudformation-include/README.md +0 -466
- package/iac/node_modules/aws-cdk-lib/core/README.md +0 -1078
- package/iac/node_modules/aws-cdk-lib/custom-resources/README.md +0 -624
- package/iac/node_modules/aws-cdk-lib/cx-api/README.md +0 -98
- package/iac/node_modules/aws-cdk-lib/lambda-layer-awscli/README.md +0 -19
- package/iac/node_modules/aws-cdk-lib/lambda-layer-kubectl/README.md +0 -20
- package/iac/node_modules/aws-cdk-lib/lambda-layer-node-proxy-agent/README.md +0 -18
- package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/LICENSE.md +0 -206
- package/iac/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore/README.md +0 -261
- package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/LICENSE +0 -6
- package/iac/node_modules/aws-cdk-lib/node_modules/at-least-node/README.md +0 -25
- package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/LICENSE.md +0 -21
- package/iac/node_modules/aws-cdk-lib/node_modules/balanced-match/README.md +0 -97
- package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/LICENSE +0 -21
- package/iac/node_modules/aws-cdk-lib/node_modules/brace-expansion/README.md +0 -129
- package/iac/node_modules/aws-cdk-lib/node_modules/case/LICENSE +0 -22
- package/iac/node_modules/aws-cdk-lib/node_modules/case/README.md +0 -139
- package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.min.js.map +0 -1
- package/iac/node_modules/aws-cdk-lib/node_modules/case/dist/Case.plus.min.js.map +0 -1
- package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/LICENSE +0 -18
- package/iac/node_modules/aws-cdk-lib/node_modules/concat-map/README.markdown +0 -62
- package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/fs-extra/README.md +0 -264
- package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/graceful-fs/README.md +0 -143
- package/iac/node_modules/aws-cdk-lib/node_modules/ignore/README.md +0 -412
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonfile/README.md +0 -230
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/LICENSE +0 -21
- package/iac/node_modules/aws-cdk-lib/node_modules/jsonschema/README.md +0 -421
- package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/lru-cache/README.md +0 -166
- package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/minimatch/README.md +0 -230
- package/iac/node_modules/aws-cdk-lib/node_modules/punycode/README.md +0 -122
- package/iac/node_modules/aws-cdk-lib/node_modules/semver/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/semver/README.md +0 -568
- package/iac/node_modules/aws-cdk-lib/node_modules/universalify/LICENSE +0 -20
- package/iac/node_modules/aws-cdk-lib/node_modules/universalify/README.md +0 -76
- package/iac/node_modules/aws-cdk-lib/node_modules/yallist/LICENSE +0 -15
- package/iac/node_modules/aws-cdk-lib/node_modules/yallist/README.md +0 -204
- package/iac/node_modules/aws-cdk-lib/node_modules/yaml/LICENSE +0 -13
- package/iac/node_modules/aws-cdk-lib/node_modules/yaml/README.md +0 -127
- package/iac/node_modules/aws-cdk-lib/pipelines/README.md +0 -1573
- package/iac/node_modules/aws-cdk-lib/region-info/README.md +0 -84
- package/iac/node_modules/aws-cdk-lib/triggers/README.md +0 -86
- package/iac/node_modules/balanced-match/LICENSE.md +0 -21
- package/iac/node_modules/balanced-match/README.md +0 -97
- package/iac/node_modules/brace-expansion/LICENSE +0 -21
- package/iac/node_modules/brace-expansion/README.md +0 -129
- package/iac/node_modules/buffer-from/LICENSE +0 -21
- package/iac/node_modules/buffer-from/readme.md +0 -69
- package/iac/node_modules/case/LICENSE +0 -22
- package/iac/node_modules/case/README.md +0 -139
- package/iac/node_modules/case/dist/Case.min.js.map +0 -1
- package/iac/node_modules/case/dist/Case.plus.min.js.map +0 -1
- package/iac/node_modules/chalk/license +0 -9
- package/iac/node_modules/chalk/node_modules/ansi-styles/license +0 -9
- package/iac/node_modules/chalk/node_modules/ansi-styles/readme.md +0 -152
- package/iac/node_modules/chalk/readme.md +0 -341
- package/iac/node_modules/color-convert/LICENSE +0 -21
- package/iac/node_modules/color-convert/README.md +0 -68
- package/iac/node_modules/color-name/LICENSE +0 -8
- package/iac/node_modules/color-name/README.md +0 -11
- package/iac/node_modules/concat-map/LICENSE +0 -18
- package/iac/node_modules/concat-map/README.markdown +0 -62
- package/iac/node_modules/constructs/LICENSE +0 -202
- package/iac/node_modules/constructs/README.md +0 -28
- package/iac/node_modules/create-require/LICENSE +0 -25
- package/iac/node_modules/create-require/README.md +0 -46
- package/iac/node_modules/diff/LICENSE +0 -31
- package/iac/node_modules/diff/README.md +0 -207
- package/iac/node_modules/diff-sequences/LICENSE +0 -21
- package/iac/node_modules/diff-sequences/README.md +0 -404
- package/iac/node_modules/fs-extra/LICENSE +0 -15
- package/iac/node_modules/fs-extra/README.md +0 -264
- package/iac/node_modules/fsevents/LICENSE +0 -22
- package/iac/node_modules/fsevents/README.md +0 -83
- package/iac/node_modules/graceful-fs/LICENSE +0 -15
- package/iac/node_modules/graceful-fs/README.md +0 -143
- package/iac/node_modules/has-flag/license +0 -9
- package/iac/node_modules/has-flag/readme.md +0 -89
- package/iac/node_modules/ignore/README.md +0 -412
- package/iac/node_modules/jest-diff/LICENSE +0 -21
- package/iac/node_modules/jest-diff/README.md +0 -671
- package/iac/node_modules/jest-get-type/LICENSE +0 -21
- package/iac/node_modules/jest-matcher-utils/LICENSE +0 -21
- package/iac/node_modules/jest-matcher-utils/README.md +0 -24
- package/iac/node_modules/jsonfile/LICENSE +0 -15
- package/iac/node_modules/jsonfile/README.md +0 -230
- package/iac/node_modules/jsonschema/LICENSE +0 -21
- package/iac/node_modules/jsonschema/README.md +0 -421
- package/iac/node_modules/lru-cache/LICENSE +0 -15
- package/iac/node_modules/lru-cache/README.md +0 -166
- package/iac/node_modules/make-error/LICENSE +0 -5
- package/iac/node_modules/make-error/README.md +0 -112
- package/iac/node_modules/minimatch/LICENSE +0 -15
- package/iac/node_modules/minimatch/README.md +0 -230
- package/iac/node_modules/pretty-format/LICENSE +0 -21
- package/iac/node_modules/pretty-format/README.md +0 -458
- package/iac/node_modules/punycode/README.md +0 -122
- package/iac/node_modules/react-is/LICENSE +0 -21
- package/iac/node_modules/react-is/README.md +0 -104
- package/iac/node_modules/semver/LICENSE +0 -15
- package/iac/node_modules/semver/README.md +0 -568
- package/iac/node_modules/source-map/LICENSE +0 -28
- package/iac/node_modules/source-map/README.md +0 -742
- package/iac/node_modules/source-map/dist/source-map.min.js.map +0 -1
- package/iac/node_modules/source-map-support/LICENSE.md +0 -21
- package/iac/node_modules/source-map-support/README.md +0 -284
- package/iac/node_modules/supports-color/license +0 -9
- package/iac/node_modules/supports-color/readme.md +0 -76
- package/iac/node_modules/ts-node/LICENSE +0 -21
- package/iac/node_modules/ts-node/README.md +0 -1442
- package/iac/node_modules/ts-node/dist/bin-cwd.js.map +0 -1
- package/iac/node_modules/ts-node/dist/bin-esm.js.map +0 -1
- package/iac/node_modules/ts-node/dist/bin-script-deprecated.js.map +0 -1
- package/iac/node_modules/ts-node/dist/bin-script.js.map +0 -1
- package/iac/node_modules/ts-node/dist/bin-transpile.js.map +0 -1
- package/iac/node_modules/ts-node/dist/bin.js.map +0 -1
- package/iac/node_modules/ts-node/dist/child/argv-payload.js.map +0 -1
- package/iac/node_modules/ts-node/dist/child/child-entrypoint.js.map +0 -1
- package/iac/node_modules/ts-node/dist/child/child-loader.js.map +0 -1
- package/iac/node_modules/ts-node/dist/child/child-require.js.map +0 -1
- package/iac/node_modules/ts-node/dist/child/spawn-child.js.map +0 -1
- package/iac/node_modules/ts-node/dist/cjs-resolve-hooks.js.map +0 -1
- package/iac/node_modules/ts-node/dist/configuration.js.map +0 -1
- package/iac/node_modules/ts-node/dist/esm.js.map +0 -1
- package/iac/node_modules/ts-node/dist/file-extensions.js.map +0 -1
- package/iac/node_modules/ts-node/dist/index.js.map +0 -1
- package/iac/node_modules/ts-node/dist/module-type-classifier.js.map +0 -1
- package/iac/node_modules/ts-node/dist/node-module-type-classifier.js.map +0 -1
- package/iac/node_modules/ts-node/dist/repl.js.map +0 -1
- package/iac/node_modules/ts-node/dist/resolver-functions.js.map +0 -1
- package/iac/node_modules/ts-node/dist/transpilers/swc.js.map +0 -1
- package/iac/node_modules/ts-node/dist/transpilers/types.js.map +0 -1
- package/iac/node_modules/ts-node/dist/ts-compiler-types.js.map +0 -1
- package/iac/node_modules/ts-node/dist/ts-internals.js.map +0 -1
- package/iac/node_modules/ts-node/dist/ts-transpile-module.js.map +0 -1
- package/iac/node_modules/ts-node/dist/tsconfig-schema.js.map +0 -1
- package/iac/node_modules/ts-node/dist/tsconfigs.js.map +0 -1
- package/iac/node_modules/ts-node/dist/util.js.map +0 -1
- package/iac/node_modules/ts-node/dist-raw/README.md +0 -36
- package/iac/node_modules/typescript/LICENSE.txt +0 -55
- package/iac/node_modules/typescript/README.md +0 -104
- package/iac/node_modules/typescript/lib/README.md +0 -5
- package/iac/node_modules/universalify/LICENSE +0 -20
- package/iac/node_modules/universalify/README.md +0 -76
- package/iac/node_modules/v8-compile-cache-lib/LICENSE +0 -21
- package/iac/node_modules/v8-compile-cache-lib/README.md +0 -60
- package/iac/node_modules/yallist/LICENSE +0 -15
- package/iac/node_modules/yallist/README.md +0 -204
- package/iac/node_modules/yaml/LICENSE +0 -13
- package/iac/node_modules/yaml/README.md +0 -127
- package/iac/node_modules/yn/license +0 -9
- package/iac/node_modules/yn/readme.md +0 -83
- package/react/Edit.d.ts +0 -3
- package/react/Edit.js +0 -10
- package/react/Edit.js.map +0 -1
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Alexa Skills Kit Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
5
|
-
|
|
6
|
-
```ts nofixture
|
|
7
|
-
import * as alexa_ask from 'aws-cdk-lib/alexa-ask';
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
11
|
-
|
|
12
|
-
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
13
|
-
|
|
14
|
-
- Search [Construct Hub for ASK construct libraries](https://constructs.dev/search?q=ask)
|
|
15
|
-
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation Alexa::ASK resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Alexa_ASK.html) directly.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
19
|
-
|
|
20
|
-
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
21
|
-
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
22
|
-
|
|
23
|
-
For more information on the resources and properties available for this service, see the [CloudFormation documentation for Alexa::ASK](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Alexa_ASK.html).
|
|
24
|
-
|
|
25
|
-
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
26
|
-
|
|
27
|
-
<!--END CFNONLY DISCLAIMER-->
|
|
@@ -1,571 +0,0 @@
|
|
|
1
|
-
# Assertions
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
If you're migrating from the old `assert` library, the migration guide can be found in
|
|
5
|
-
[our GitHub repository](https://github.com/aws/aws-cdk/blob/main/packages/@aws-cdk/assertions/MIGRATING.md).
|
|
6
|
-
|
|
7
|
-
Functions for writing test asserting against CDK applications, with focus on CloudFormation templates.
|
|
8
|
-
|
|
9
|
-
The `Template` class includes a set of methods for writing assertions against CloudFormation templates. Use one of the `Template.fromXxx()` static methods to create an instance of this class.
|
|
10
|
-
|
|
11
|
-
To create `Template` from CDK stack, start off with:
|
|
12
|
-
|
|
13
|
-
```ts nofixture
|
|
14
|
-
import { Stack } from 'aws-cdk-lib';
|
|
15
|
-
import { Template } from 'aws-cdk-lib/assertions';
|
|
16
|
-
|
|
17
|
-
const stack = new Stack(/* ... */);
|
|
18
|
-
// ...
|
|
19
|
-
const template = Template.fromStack(stack);
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Alternatively, assertions can be run on an existing CloudFormation template -
|
|
23
|
-
|
|
24
|
-
```ts fixture=init
|
|
25
|
-
const templateJson = '{ "Resources": ... }'; /* The CloudFormation template as JSON serialized string. */
|
|
26
|
-
const template = Template.fromString(templateJson);
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Full Template Match
|
|
30
|
-
|
|
31
|
-
The simplest assertion would be to assert that the template matches a given
|
|
32
|
-
template.
|
|
33
|
-
|
|
34
|
-
```ts
|
|
35
|
-
template.templateMatches({
|
|
36
|
-
Resources: {
|
|
37
|
-
BarLogicalId: {
|
|
38
|
-
Type: 'Foo::Bar',
|
|
39
|
-
Properties: {
|
|
40
|
-
Baz: 'Qux',
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
By default, the `templateMatches()` API will use the an 'object-like' comparison,
|
|
48
|
-
which means that it will allow for the actual template to be a superset of the
|
|
49
|
-
given expectation. See [Special Matchers](#special-matchers) for details on how
|
|
50
|
-
to change this.
|
|
51
|
-
|
|
52
|
-
Snapshot testing is a common technique to store a snapshot of the output and
|
|
53
|
-
compare it during future changes. Since CloudFormation templates are human readable,
|
|
54
|
-
they are a good target for snapshot testing.
|
|
55
|
-
|
|
56
|
-
The `toJSON()` method on the `Template` can be used to produce a well formatted JSON
|
|
57
|
-
of the CloudFormation template that can be used as a snapshot.
|
|
58
|
-
|
|
59
|
-
See [Snapshot Testing in Jest](https://jestjs.io/docs/snapshot-testing) and [Snapshot
|
|
60
|
-
Testing in Java](https://json-snapshot.github.io/).
|
|
61
|
-
|
|
62
|
-
## Counting Resources
|
|
63
|
-
|
|
64
|
-
This module allows asserting the number of resources of a specific type found
|
|
65
|
-
in a template.
|
|
66
|
-
|
|
67
|
-
```ts
|
|
68
|
-
template.resourceCountIs('Foo::Bar', 2);
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
You can also count the number of resources of a specific type whose `Properties`
|
|
72
|
-
section contains the specified properties:
|
|
73
|
-
|
|
74
|
-
```ts
|
|
75
|
-
template.resourcePropertiesCountIs('Foo::Bar', {
|
|
76
|
-
Foo: 'Bar',
|
|
77
|
-
Baz: 5,
|
|
78
|
-
Qux: [ 'Waldo', 'Fred' ],
|
|
79
|
-
}, 1);
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
## Resource Matching & Retrieval
|
|
83
|
-
|
|
84
|
-
Beyond resource counting, the module also allows asserting that a resource with
|
|
85
|
-
specific properties are present.
|
|
86
|
-
|
|
87
|
-
The following code asserts that the `Properties` section of a resource of type
|
|
88
|
-
`Foo::Bar` contains the specified properties -
|
|
89
|
-
|
|
90
|
-
```ts
|
|
91
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
92
|
-
Foo: 'Bar',
|
|
93
|
-
Baz: 5,
|
|
94
|
-
Qux: [ 'Waldo', 'Fred' ],
|
|
95
|
-
});
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
Alternatively, if you would like to assert the entire resource definition, you
|
|
99
|
-
can use the `hasResource()` API.
|
|
100
|
-
|
|
101
|
-
```ts
|
|
102
|
-
template.hasResource('Foo::Bar', {
|
|
103
|
-
Properties: { Foo: 'Bar' },
|
|
104
|
-
DependsOn: [ 'Waldo', 'Fred' ],
|
|
105
|
-
});
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
Beyond assertions, the module provides APIs to retrieve matching resources.
|
|
109
|
-
The `findResources()` API is complementary to the `hasResource()` API, except,
|
|
110
|
-
instead of asserting its presence, it returns the set of matching resources.
|
|
111
|
-
|
|
112
|
-
By default, the `hasResource()` and `hasResourceProperties()` APIs perform deep
|
|
113
|
-
partial object matching. This behavior can be configured using matchers.
|
|
114
|
-
See subsequent section on [special matchers](#special-matchers).
|
|
115
|
-
|
|
116
|
-
## Output and Mapping sections
|
|
117
|
-
|
|
118
|
-
The module allows you to assert that the CloudFormation template contains an Output
|
|
119
|
-
that matches specific properties. The following code asserts that a template contains
|
|
120
|
-
an Output with a `logicalId` of `Foo` and the specified properties -
|
|
121
|
-
|
|
122
|
-
```ts
|
|
123
|
-
const expected = {
|
|
124
|
-
Value: 'Bar',
|
|
125
|
-
Export: { Name: 'ExportBaz' },
|
|
126
|
-
};
|
|
127
|
-
template.hasOutput('Foo', expected);
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
If you want to match against all Outputs in the template, use `*` as the `logicalId`.
|
|
131
|
-
|
|
132
|
-
```ts
|
|
133
|
-
template.hasOutput('*', {
|
|
134
|
-
Value: 'Bar',
|
|
135
|
-
Export: { Name: 'ExportBaz' },
|
|
136
|
-
});
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
`findOutputs()` will return a set of outputs that match the `logicalId` and `props`,
|
|
140
|
-
and you can use the `'*'` special case as well.
|
|
141
|
-
|
|
142
|
-
```ts
|
|
143
|
-
const result = template.findOutputs('*', { Value: 'Fred' });
|
|
144
|
-
expect(result.Foo).toEqual({ Value: 'Fred', Description: 'FooFred' });
|
|
145
|
-
expect(result.Bar).toEqual({ Value: 'Fred', Description: 'BarFred' });
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
The APIs `hasMapping()`, `findMappings()`, `hasCondition()`, and `hasCondtions()` provide similar functionalities.
|
|
149
|
-
|
|
150
|
-
## Special Matchers
|
|
151
|
-
|
|
152
|
-
The expectation provided to the `hasXxx()`, `findXxx()` and `templateMatches()`
|
|
153
|
-
APIs, besides carrying literal values, as seen in the above examples, also accept
|
|
154
|
-
special matchers.
|
|
155
|
-
|
|
156
|
-
They are available as part of the `Match` class.
|
|
157
|
-
|
|
158
|
-
### Object Matchers
|
|
159
|
-
|
|
160
|
-
The `Match.objectLike()` API can be used to assert that the target is a superset
|
|
161
|
-
object of the provided pattern.
|
|
162
|
-
This API will perform a deep partial match on the target.
|
|
163
|
-
Deep partial matching is where objects are matched partially recursively. At each
|
|
164
|
-
level, the list of keys in the target is a subset of the provided pattern.
|
|
165
|
-
|
|
166
|
-
```ts
|
|
167
|
-
// Given a template -
|
|
168
|
-
// {
|
|
169
|
-
// "Resources": {
|
|
170
|
-
// "MyBar": {
|
|
171
|
-
// "Type": "Foo::Bar",
|
|
172
|
-
// "Properties": {
|
|
173
|
-
// "Fred": {
|
|
174
|
-
// "Wobble": "Flob",
|
|
175
|
-
// "Bob": "Cat"
|
|
176
|
-
// }
|
|
177
|
-
// }
|
|
178
|
-
// }
|
|
179
|
-
// }
|
|
180
|
-
// }
|
|
181
|
-
|
|
182
|
-
// The following will NOT throw an assertion error
|
|
183
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
184
|
-
Fred: Match.objectLike({
|
|
185
|
-
Wobble: 'Flob',
|
|
186
|
-
}),
|
|
187
|
-
});
|
|
188
|
-
|
|
189
|
-
// The following will throw an assertion error
|
|
190
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
191
|
-
Fred: Match.objectLike({
|
|
192
|
-
Brew: 'Coffee',
|
|
193
|
-
}),
|
|
194
|
-
});
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
The `Match.objectEquals()` API can be used to assert a target as a deep exact
|
|
198
|
-
match.
|
|
199
|
-
|
|
200
|
-
### Presence and Absence
|
|
201
|
-
|
|
202
|
-
The `Match.absent()` matcher can be used to specify that a specific
|
|
203
|
-
value should not exist on the target. This can be used within `Match.objectLike()`
|
|
204
|
-
or outside of any matchers.
|
|
205
|
-
|
|
206
|
-
```ts
|
|
207
|
-
// Given a template -
|
|
208
|
-
// {
|
|
209
|
-
// "Resources": {
|
|
210
|
-
// "MyBar": {
|
|
211
|
-
// "Type": "Foo::Bar",
|
|
212
|
-
// "Properties": {
|
|
213
|
-
// "Fred": {
|
|
214
|
-
// "Wobble": "Flob",
|
|
215
|
-
// }
|
|
216
|
-
// }
|
|
217
|
-
// }
|
|
218
|
-
// }
|
|
219
|
-
// }
|
|
220
|
-
|
|
221
|
-
// The following will NOT throw an assertion error
|
|
222
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
223
|
-
Fred: Match.objectLike({
|
|
224
|
-
Bob: Match.absent(),
|
|
225
|
-
}),
|
|
226
|
-
});
|
|
227
|
-
|
|
228
|
-
// The following will throw an assertion error
|
|
229
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
230
|
-
Fred: Match.objectLike({
|
|
231
|
-
Wobble: Match.absent(),
|
|
232
|
-
}),
|
|
233
|
-
});
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
The `Match.anyValue()` matcher can be used to specify that a specific value should be found
|
|
237
|
-
at the location. This matcher will fail if when the target location has null-ish values
|
|
238
|
-
(i.e., `null` or `undefined`).
|
|
239
|
-
|
|
240
|
-
This matcher can be combined with any of the other matchers.
|
|
241
|
-
|
|
242
|
-
```ts
|
|
243
|
-
// Given a template -
|
|
244
|
-
// {
|
|
245
|
-
// "Resources": {
|
|
246
|
-
// "MyBar": {
|
|
247
|
-
// "Type": "Foo::Bar",
|
|
248
|
-
// "Properties": {
|
|
249
|
-
// "Fred": {
|
|
250
|
-
// "Wobble": ["Flob", "Flib"],
|
|
251
|
-
// }
|
|
252
|
-
// }
|
|
253
|
-
// }
|
|
254
|
-
// }
|
|
255
|
-
// }
|
|
256
|
-
|
|
257
|
-
// The following will NOT throw an assertion error
|
|
258
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
259
|
-
Fred: {
|
|
260
|
-
Wobble: [ Match.anyValue(), Match.anyValue() ],
|
|
261
|
-
},
|
|
262
|
-
});
|
|
263
|
-
|
|
264
|
-
// The following will throw an assertion error
|
|
265
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
266
|
-
Fred: {
|
|
267
|
-
Wimble: Match.anyValue(),
|
|
268
|
-
},
|
|
269
|
-
});
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
### Array Matchers
|
|
273
|
-
|
|
274
|
-
The `Match.arrayWith()` API can be used to assert that the target is equal to or a subset
|
|
275
|
-
of the provided pattern array.
|
|
276
|
-
This API will perform subset match on the target.
|
|
277
|
-
|
|
278
|
-
```ts
|
|
279
|
-
// Given a template -
|
|
280
|
-
// {
|
|
281
|
-
// "Resources": {
|
|
282
|
-
// "MyBar": {
|
|
283
|
-
// "Type": "Foo::Bar",
|
|
284
|
-
// "Properties": {
|
|
285
|
-
// "Fred": ["Flob", "Cat"]
|
|
286
|
-
// }
|
|
287
|
-
// }
|
|
288
|
-
// }
|
|
289
|
-
// }
|
|
290
|
-
|
|
291
|
-
// The following will NOT throw an assertion error
|
|
292
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
293
|
-
Fred: Match.arrayWith(['Flob']),
|
|
294
|
-
});
|
|
295
|
-
|
|
296
|
-
// The following will throw an assertion error
|
|
297
|
-
template.hasResourceProperties('Foo::Bar', Match.objectLike({
|
|
298
|
-
Fred: Match.arrayWith(['Wobble']),
|
|
299
|
-
}));
|
|
300
|
-
```
|
|
301
|
-
|
|
302
|
-
*Note:* The list of items in the pattern array should be in order as they appear in the
|
|
303
|
-
target array. Out of order will be recorded as a match failure.
|
|
304
|
-
|
|
305
|
-
Alternatively, the `Match.arrayEquals()` API can be used to assert that the target is
|
|
306
|
-
exactly equal to the pattern array.
|
|
307
|
-
|
|
308
|
-
### String Matchers
|
|
309
|
-
|
|
310
|
-
The `Match.stringLikeRegexp()` API can be used to assert that the target matches the
|
|
311
|
-
provided regular expression.
|
|
312
|
-
|
|
313
|
-
```ts
|
|
314
|
-
// Given a template -
|
|
315
|
-
// {
|
|
316
|
-
// "Resources": {
|
|
317
|
-
// "MyBar": {
|
|
318
|
-
// "Type": "Foo::Bar",
|
|
319
|
-
// "Properties": {
|
|
320
|
-
// "Template": "const includeHeaders = true;"
|
|
321
|
-
// }
|
|
322
|
-
// }
|
|
323
|
-
// }
|
|
324
|
-
// }
|
|
325
|
-
|
|
326
|
-
// The following will NOT throw an assertion error
|
|
327
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
328
|
-
Template: Match.stringLikeRegexp('includeHeaders = (true|false)'),
|
|
329
|
-
});
|
|
330
|
-
|
|
331
|
-
// The following will throw an assertion error
|
|
332
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
333
|
-
Template: Match.stringLikeRegexp('includeHeaders = null'),
|
|
334
|
-
});
|
|
335
|
-
```
|
|
336
|
-
|
|
337
|
-
### Not Matcher
|
|
338
|
-
|
|
339
|
-
The not matcher inverts the search pattern and matches all patterns in the path that does
|
|
340
|
-
not match the pattern specified.
|
|
341
|
-
|
|
342
|
-
```ts
|
|
343
|
-
// Given a template -
|
|
344
|
-
// {
|
|
345
|
-
// "Resources": {
|
|
346
|
-
// "MyBar": {
|
|
347
|
-
// "Type": "Foo::Bar",
|
|
348
|
-
// "Properties": {
|
|
349
|
-
// "Fred": ["Flob", "Cat"]
|
|
350
|
-
// }
|
|
351
|
-
// }
|
|
352
|
-
// }
|
|
353
|
-
// }
|
|
354
|
-
|
|
355
|
-
// The following will NOT throw an assertion error
|
|
356
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
357
|
-
Fred: Match.not(['Flob']),
|
|
358
|
-
});
|
|
359
|
-
|
|
360
|
-
// The following will throw an assertion error
|
|
361
|
-
template.hasResourceProperties('Foo::Bar', Match.objectLike({
|
|
362
|
-
Fred: Match.not(['Flob', 'Cat']),
|
|
363
|
-
}));
|
|
364
|
-
```
|
|
365
|
-
|
|
366
|
-
### Serialized JSON
|
|
367
|
-
|
|
368
|
-
Often, we find that some CloudFormation Resource types declare properties as a string,
|
|
369
|
-
but actually expect JSON serialized as a string.
|
|
370
|
-
For example, the [`BuildSpec` property of `AWS::CodeBuild::Project`][Pipeline BuildSpec],
|
|
371
|
-
the [`Definition` property of `AWS::StepFunctions::StateMachine`][StateMachine Definition],
|
|
372
|
-
to name a couple.
|
|
373
|
-
|
|
374
|
-
The `Match.serializedJson()` matcher allows deep matching within a stringified JSON.
|
|
375
|
-
|
|
376
|
-
```ts
|
|
377
|
-
// Given a template -
|
|
378
|
-
// {
|
|
379
|
-
// "Resources": {
|
|
380
|
-
// "MyBar": {
|
|
381
|
-
// "Type": "Foo::Bar",
|
|
382
|
-
// "Properties": {
|
|
383
|
-
// "Baz": "{ \"Fred\": [\"Waldo\", \"Willow\"] }"
|
|
384
|
-
// }
|
|
385
|
-
// }
|
|
386
|
-
// }
|
|
387
|
-
// }
|
|
388
|
-
|
|
389
|
-
// The following will NOT throw an assertion error
|
|
390
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
391
|
-
Baz: Match.serializedJson({
|
|
392
|
-
Fred: Match.arrayWith(["Waldo"]),
|
|
393
|
-
}),
|
|
394
|
-
});
|
|
395
|
-
|
|
396
|
-
// The following will throw an assertion error
|
|
397
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
398
|
-
Baz: Match.serializedJson({
|
|
399
|
-
Fred: ["Waldo", "Johnny"],
|
|
400
|
-
}),
|
|
401
|
-
});
|
|
402
|
-
```
|
|
403
|
-
|
|
404
|
-
[Pipeline BuildSpec]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-buildspec
|
|
405
|
-
[StateMachine Definition]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-definition
|
|
406
|
-
|
|
407
|
-
## Capturing Values
|
|
408
|
-
|
|
409
|
-
The matcher APIs documented above allow capturing values in the matching entry
|
|
410
|
-
(Resource, Output, Mapping, etc.). The following code captures a string from a
|
|
411
|
-
matching resource.
|
|
412
|
-
|
|
413
|
-
```ts
|
|
414
|
-
// Given a template -
|
|
415
|
-
// {
|
|
416
|
-
// "Resources": {
|
|
417
|
-
// "MyBar": {
|
|
418
|
-
// "Type": "Foo::Bar",
|
|
419
|
-
// "Properties": {
|
|
420
|
-
// "Fred": ["Flob", "Cat"],
|
|
421
|
-
// "Waldo": ["Qix", "Qux"],
|
|
422
|
-
// }
|
|
423
|
-
// }
|
|
424
|
-
// }
|
|
425
|
-
// }
|
|
426
|
-
|
|
427
|
-
const fredCapture = new Capture();
|
|
428
|
-
const waldoCapture = new Capture();
|
|
429
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
430
|
-
Fred: fredCapture,
|
|
431
|
-
Waldo: ["Qix", waldoCapture],
|
|
432
|
-
});
|
|
433
|
-
|
|
434
|
-
fredCapture.asArray(); // returns ["Flob", "Cat"]
|
|
435
|
-
waldoCapture.asString(); // returns "Qux"
|
|
436
|
-
```
|
|
437
|
-
|
|
438
|
-
With captures, a nested pattern can also be specified, so that only targets
|
|
439
|
-
that match the nested pattern will be captured. This pattern can be literals or
|
|
440
|
-
further Matchers.
|
|
441
|
-
|
|
442
|
-
```ts
|
|
443
|
-
// Given a template -
|
|
444
|
-
// {
|
|
445
|
-
// "Resources": {
|
|
446
|
-
// "MyBar1": {
|
|
447
|
-
// "Type": "Foo::Bar",
|
|
448
|
-
// "Properties": {
|
|
449
|
-
// "Fred": ["Flob", "Cat"],
|
|
450
|
-
// }
|
|
451
|
-
// }
|
|
452
|
-
// "MyBar2": {
|
|
453
|
-
// "Type": "Foo::Bar",
|
|
454
|
-
// "Properties": {
|
|
455
|
-
// "Fred": ["Qix", "Qux"],
|
|
456
|
-
// }
|
|
457
|
-
// }
|
|
458
|
-
// }
|
|
459
|
-
// }
|
|
460
|
-
|
|
461
|
-
const capture = new Capture(Match.arrayWith(['Cat']));
|
|
462
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
463
|
-
Fred: capture,
|
|
464
|
-
});
|
|
465
|
-
|
|
466
|
-
capture.asArray(); // returns ['Flob', 'Cat']
|
|
467
|
-
```
|
|
468
|
-
|
|
469
|
-
When multiple resources match the given condition, each `Capture` defined in
|
|
470
|
-
the condition will capture all matching values. They can be paged through using
|
|
471
|
-
the `next()` API. The following example illustrates this -
|
|
472
|
-
|
|
473
|
-
```ts
|
|
474
|
-
// Given a template -
|
|
475
|
-
// {
|
|
476
|
-
// "Resources": {
|
|
477
|
-
// "MyBar": {
|
|
478
|
-
// "Type": "Foo::Bar",
|
|
479
|
-
// "Properties": {
|
|
480
|
-
// "Fred": "Flob",
|
|
481
|
-
// }
|
|
482
|
-
// },
|
|
483
|
-
// "MyBaz": {
|
|
484
|
-
// "Type": "Foo::Bar",
|
|
485
|
-
// "Properties": {
|
|
486
|
-
// "Fred": "Quib",
|
|
487
|
-
// }
|
|
488
|
-
// }
|
|
489
|
-
// }
|
|
490
|
-
// }
|
|
491
|
-
|
|
492
|
-
const fredCapture = new Capture();
|
|
493
|
-
template.hasResourceProperties('Foo::Bar', {
|
|
494
|
-
Fred: fredCapture,
|
|
495
|
-
});
|
|
496
|
-
|
|
497
|
-
fredCapture.asString(); // returns "Flob"
|
|
498
|
-
fredCapture.next(); // returns true
|
|
499
|
-
fredCapture.asString(); // returns "Quib"
|
|
500
|
-
```
|
|
501
|
-
|
|
502
|
-
## Asserting Annotations
|
|
503
|
-
|
|
504
|
-
In addition to template matching, we provide an API for annotation matching.
|
|
505
|
-
[Annotations](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Annotations.html)
|
|
506
|
-
can be added via the [Aspects](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Aspects.html)
|
|
507
|
-
API. You can learn more about Aspects [here](https://docs.aws.amazon.com/cdk/v2/guide/aspects.html).
|
|
508
|
-
|
|
509
|
-
Say you have a `MyAspect` and a `MyStack` that uses `MyAspect`:
|
|
510
|
-
|
|
511
|
-
```ts nofixture
|
|
512
|
-
import * as cdk from 'aws-cdk-lib';
|
|
513
|
-
import { Construct, IConstruct } from 'constructs';
|
|
514
|
-
|
|
515
|
-
class MyAspect implements cdk.IAspect {
|
|
516
|
-
public visit(node: IConstruct): void {
|
|
517
|
-
if (node instanceof cdk.CfnResource && node.cfnResourceType === 'Foo::Bar') {
|
|
518
|
-
this.error(node, 'we do not want a Foo::Bar resource');
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
protected error(node: IConstruct, message: string): void {
|
|
523
|
-
cdk.Annotations.of(node).addError(message);
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
class MyStack extends cdk.Stack {
|
|
528
|
-
constructor(scope: Construct, id: string) {
|
|
529
|
-
super(scope, id);
|
|
530
|
-
|
|
531
|
-
const stack = new cdk.Stack();
|
|
532
|
-
new cdk.CfnResource(stack, 'Foo', {
|
|
533
|
-
type: 'Foo::Bar',
|
|
534
|
-
properties: {
|
|
535
|
-
Fred: 'Thud',
|
|
536
|
-
},
|
|
537
|
-
});
|
|
538
|
-
cdk.Aspects.of(stack).add(new MyAspect());
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
```
|
|
542
|
-
|
|
543
|
-
We can then assert that the stack contains the expected Error:
|
|
544
|
-
|
|
545
|
-
```ts
|
|
546
|
-
// import { Annotations } from '@aws-cdk/assertions';
|
|
547
|
-
|
|
548
|
-
Annotations.fromStack(stack).hasError(
|
|
549
|
-
'/Default/Foo',
|
|
550
|
-
'we do not want a Foo::Bar resource',
|
|
551
|
-
);
|
|
552
|
-
```
|
|
553
|
-
|
|
554
|
-
Here are the available APIs for `Annotations`:
|
|
555
|
-
|
|
556
|
-
- `hasError()`, `hasNoError()`, and `findError()`
|
|
557
|
-
- `hasWarning()`, `hasNoWarning()`, and `findWarning()`
|
|
558
|
-
- `hasInfo()`, `hasNoInfo()`, and `findInfo()`
|
|
559
|
-
|
|
560
|
-
The corresponding `findXxx()` API is complementary to the `hasXxx()` API, except instead
|
|
561
|
-
of asserting its presence, it returns the set of matching messages.
|
|
562
|
-
|
|
563
|
-
In addition, this suite of APIs is compatable with `Matchers` for more fine-grained control.
|
|
564
|
-
For example, the following assertion works as well:
|
|
565
|
-
|
|
566
|
-
```ts
|
|
567
|
-
Annotations.fromStack(stack).hasError(
|
|
568
|
-
'/Default/Foo',
|
|
569
|
-
Match.stringLikeRegexp('.*Foo::Bar.*'),
|
|
570
|
-
);
|
|
571
|
-
```
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# AWS::AccessAnalyzer Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
5
|
-
|
|
6
|
-
```ts nofixture
|
|
7
|
-
import * as accessanalyzer from 'aws-cdk-lib/aws-accessanalyzer';
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
11
|
-
|
|
12
|
-
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
13
|
-
|
|
14
|
-
- Search [Construct Hub for AccessAnalyzer construct libraries](https://constructs.dev/search?q=accessanalyzer)
|
|
15
|
-
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::AccessAnalyzer resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_AccessAnalyzer.html) directly.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
19
|
-
|
|
20
|
-
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
21
|
-
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
22
|
-
|
|
23
|
-
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::AccessAnalyzer](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_AccessAnalyzer.html).
|
|
24
|
-
|
|
25
|
-
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
26
|
-
|
|
27
|
-
<!--END CFNONLY DISCLAIMER-->
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# AWS::ACMPCA Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
6
|
-
|
|
7
|
-
```ts nofixture
|
|
8
|
-
import * as acmpca from 'aws-cdk-lib/aws-acmpca';
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Certificate Authority
|
|
12
|
-
|
|
13
|
-
This package contains a `CertificateAuthority` class.
|
|
14
|
-
At the moment, you cannot create new Authorities using it,
|
|
15
|
-
but you can import existing ones using the `fromCertificateAuthorityArn` static method:
|
|
16
|
-
|
|
17
|
-
```ts
|
|
18
|
-
const certificateAuthority = acmpca.CertificateAuthority.fromCertificateAuthorityArn(this, 'CA',
|
|
19
|
-
'arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/023077d8-2bfa-4eb0-8f22-05c96deade77');
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Low-level `Cfn*` classes
|
|
23
|
-
|
|
24
|
-
You can always use the low-level classes
|
|
25
|
-
(starting with `Cfn*`) to create resources like the Certificate Authority:
|
|
26
|
-
|
|
27
|
-
```ts
|
|
28
|
-
const cfnCertificateAuthority = new acmpca.CfnCertificateAuthority(this, 'CA', {
|
|
29
|
-
type: 'ROOT',
|
|
30
|
-
keyAlgorithm: 'RSA_2048',
|
|
31
|
-
signingAlgorithm: 'SHA256WITHRSA',
|
|
32
|
-
subject: {
|
|
33
|
-
country: 'US',
|
|
34
|
-
organization: 'string',
|
|
35
|
-
organizationalUnit: 'string',
|
|
36
|
-
distinguishedNameQualifier: 'string',
|
|
37
|
-
state: 'string',
|
|
38
|
-
commonName: '123',
|
|
39
|
-
serialNumber: 'string',
|
|
40
|
-
locality: 'string',
|
|
41
|
-
title: 'string',
|
|
42
|
-
surname: 'string',
|
|
43
|
-
givenName: 'string',
|
|
44
|
-
initials: 'DG',
|
|
45
|
-
pseudonym: 'string',
|
|
46
|
-
generationQualifier: 'DBG',
|
|
47
|
-
},
|
|
48
|
-
});
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
If you need to pass the higher-level `ICertificateAuthority` somewhere,
|
|
52
|
-
you can get it from the lower-level `CfnCertificateAuthority` using the same `fromCertificateAuthorityArn` method:
|
|
53
|
-
|
|
54
|
-
```ts
|
|
55
|
-
declare const cfnCertificateAuthority: acmpca.CfnCertificateAuthority;
|
|
56
|
-
|
|
57
|
-
const certificateAuthority = acmpca.CertificateAuthority.fromCertificateAuthorityArn(this, 'CertificateAuthority',
|
|
58
|
-
cfnCertificateAuthority.attrArn);
|
|
59
|
-
```
|