@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,194 +0,0 @@
|
|
|
1
|
-
# Amazon Simple Email Service Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
5
|
-
|
|
6
|
-
## Email receiving
|
|
7
|
-
|
|
8
|
-
Create a receipt rule set with rules and actions (actions can be found in the
|
|
9
|
-
`@aws-cdk/aws-ses-actions` package):
|
|
10
|
-
|
|
11
|
-
```ts
|
|
12
|
-
import * as s3 from 'aws-cdk-lib/aws-s3';
|
|
13
|
-
import * as actions from 'aws-cdk-lib/aws-ses-actions';
|
|
14
|
-
|
|
15
|
-
const bucket = new s3.Bucket(this, 'Bucket');
|
|
16
|
-
const topic = new sns.Topic(this, 'Topic');
|
|
17
|
-
|
|
18
|
-
new ses.ReceiptRuleSet(this, 'RuleSet', {
|
|
19
|
-
rules: [
|
|
20
|
-
{
|
|
21
|
-
recipients: ['hello@aws.com'],
|
|
22
|
-
actions: [
|
|
23
|
-
new actions.AddHeader({
|
|
24
|
-
name: 'X-Special-Header',
|
|
25
|
-
value: 'aws',
|
|
26
|
-
}),
|
|
27
|
-
new actions.S3({
|
|
28
|
-
bucket,
|
|
29
|
-
objectKeyPrefix: 'emails/',
|
|
30
|
-
topic,
|
|
31
|
-
}),
|
|
32
|
-
],
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
recipients: ['aws.com'],
|
|
36
|
-
actions: [
|
|
37
|
-
new actions.Sns({
|
|
38
|
-
topic,
|
|
39
|
-
}),
|
|
40
|
-
],
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
});
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
Alternatively, rules can be added to a rule set:
|
|
47
|
-
|
|
48
|
-
```ts
|
|
49
|
-
const ruleSet = new ses.ReceiptRuleSet(this, 'RuleSet');
|
|
50
|
-
|
|
51
|
-
const awsRule = ruleSet.addRule('Aws', {
|
|
52
|
-
recipients: ['aws.com'],
|
|
53
|
-
});
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
And actions to rules:
|
|
57
|
-
|
|
58
|
-
```ts
|
|
59
|
-
import * as actions from 'aws-cdk-lib/aws-ses-actions';
|
|
60
|
-
|
|
61
|
-
declare const awsRule: ses.ReceiptRule;
|
|
62
|
-
declare const topic: sns.Topic;
|
|
63
|
-
awsRule.addAction(new actions.Sns({
|
|
64
|
-
topic,
|
|
65
|
-
}));
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
When using `addRule`, the new rule is added after the last added rule unless `after` is specified.
|
|
69
|
-
|
|
70
|
-
### Drop spams
|
|
71
|
-
|
|
72
|
-
A rule to drop spam can be added by setting `dropSpam` to `true`:
|
|
73
|
-
|
|
74
|
-
```ts
|
|
75
|
-
new ses.ReceiptRuleSet(this, 'RuleSet', {
|
|
76
|
-
dropSpam: true,
|
|
77
|
-
});
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
This will add a rule at the top of the rule set with a Lambda action that stops processing messages that have at least one spam indicator. See [Lambda Function Examples](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda-example-functions.html).
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
### Receipt filter
|
|
84
|
-
|
|
85
|
-
Create a receipt filter:
|
|
86
|
-
|
|
87
|
-
```ts
|
|
88
|
-
new ses.ReceiptFilter(this, 'Filter', {
|
|
89
|
-
ip: '1.2.3.4/16', // Will be blocked
|
|
90
|
-
});
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
An allow list filter is also available:
|
|
94
|
-
|
|
95
|
-
```ts
|
|
96
|
-
new ses.AllowListReceiptFilter(this, 'AllowList', {
|
|
97
|
-
ips: [
|
|
98
|
-
'10.0.0.0/16',
|
|
99
|
-
'1.2.3.4/16',
|
|
100
|
-
],
|
|
101
|
-
});
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
This will first create a block all filter and then create allow filters for the listed ip addresses.
|
|
105
|
-
|
|
106
|
-
## Email sending
|
|
107
|
-
|
|
108
|
-
### Dedicated IP pools
|
|
109
|
-
|
|
110
|
-
When you create a new Amazon SES account, your emails are sent from IP addresses that are shared with other
|
|
111
|
-
Amazon SES users. For [an additional monthly charge](https://aws.amazon.com/ses/pricing/), you can lease
|
|
112
|
-
dedicated IP addresses that are reserved for your exclusive use.
|
|
113
|
-
|
|
114
|
-
Use the `DedicatedIpPool` construct to create a pool of dedicated IP addresses:
|
|
115
|
-
|
|
116
|
-
```ts
|
|
117
|
-
new ses.DedicatedIpPool(this, 'Pool');
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
The pool can then be used in a configuration set.
|
|
121
|
-
|
|
122
|
-
### Configuration sets
|
|
123
|
-
|
|
124
|
-
Configuration sets are groups of rules that you can apply to your verified identities. A verified identity is
|
|
125
|
-
a domain, subdomain, or email address you use to send email through Amazon SES. When you apply a configuration
|
|
126
|
-
set to an email, all of the rules in that configuration set are applied to the email.
|
|
127
|
-
|
|
128
|
-
Use the `ConfigurationSet` construct to create a configuration set:
|
|
129
|
-
|
|
130
|
-
```ts
|
|
131
|
-
declare const myPool: ses.IDedicatedIpPool;
|
|
132
|
-
|
|
133
|
-
new ses.ConfigurationSet(this, 'ConfigurationSet', {
|
|
134
|
-
customTrackingRedirectDomain: 'track.cdk.dev',
|
|
135
|
-
suppressionReasons: ses.SuppressionReasons.COMPLAINTS_ONLY,
|
|
136
|
-
tlsPolicy: ses.ConfigurationSetTlsPolicy.REQUIRE,
|
|
137
|
-
dedicatedIpPool: myPool,
|
|
138
|
-
});
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
### Email identity
|
|
142
|
-
|
|
143
|
-
In Amazon SES, a verified identity is a domain or email address that you use to send or receive email. Before you
|
|
144
|
-
can send an email using Amazon SES, you must create and verify each identity that you're going to use as a `From`,
|
|
145
|
-
`Source`, `Sender`, or `Return-Path` address. Verifying an identity with Amazon SES confirms that you own it and
|
|
146
|
-
helps prevent unauthorized use.
|
|
147
|
-
|
|
148
|
-
To verify an identity for a hosted zone, you create an `EmailIdentity`:
|
|
149
|
-
|
|
150
|
-
```ts
|
|
151
|
-
declare const myHostedZone: route53.IPublicHostedZone;
|
|
152
|
-
|
|
153
|
-
const identity = new ses.EmailIdentity(stack, 'Identity', {
|
|
154
|
-
identity: ses.Identity.publicHostedZone(myHostedZone),
|
|
155
|
-
mailFromDomain: 'mail.cdk.dev',
|
|
156
|
-
});
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
By default, [Easy DKIM](https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-easy.html) with
|
|
160
|
-
a 2048-bit DKIM key is used.
|
|
161
|
-
|
|
162
|
-
You can instead configure DKIM authentication by using your own public-private key pair. This process is known
|
|
163
|
-
as [Bring Your Own DKIM (BYODKIM)](https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-bring-your-own.html):
|
|
164
|
-
|
|
165
|
-
```ts
|
|
166
|
-
declare const myHostedZone: route53.IPublicHostedZone;
|
|
167
|
-
|
|
168
|
-
new ses.EmailIdentity(stack, 'Identity', {
|
|
169
|
-
identity: ses.Identity.publicHostedZone(myHostedZone),
|
|
170
|
-
dkimIdentity: DkimIdentity.byoDkim({
|
|
171
|
-
privateKey: SecretValue.secretsManager('dkim-private-key'),
|
|
172
|
-
publicKey: '...base64-encoded-public-key...',
|
|
173
|
-
selector: 'selector',
|
|
174
|
-
}),
|
|
175
|
-
});
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
When using `publicHostedZone()` for the identity, all necessary Amazon Route 53 records are created automatically:
|
|
179
|
-
|
|
180
|
-
* CNAME records for Easy DKIM
|
|
181
|
-
* TXT record for BYOD DKIM
|
|
182
|
-
* MX and TXT records for the custom MAIL FROM
|
|
183
|
-
|
|
184
|
-
When working with `domain()`, records must be created manually:
|
|
185
|
-
|
|
186
|
-
```ts
|
|
187
|
-
const identity = new ses.EmailIdentity(stack, 'Identity', {
|
|
188
|
-
identity: ses.Identity.domain('cdk.dev'),
|
|
189
|
-
});
|
|
190
|
-
|
|
191
|
-
for (const record of identity.dkimRecords) {
|
|
192
|
-
// create CNAME records using `record.name` and `record.value`
|
|
193
|
-
}
|
|
194
|
-
```
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Amazon Simple Email Service Actions Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This module contains integration classes to add action to SES email receiving rules.
|
|
5
|
-
Instances of these classes should be passed to the `rule.addAction()` method.
|
|
6
|
-
|
|
7
|
-
Currently supported are:
|
|
8
|
-
|
|
9
|
-
* [Add header](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-add-header.html)
|
|
10
|
-
* [Bounce](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-bounce.html)
|
|
11
|
-
* [Lambda](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda.html)
|
|
12
|
-
* [S3](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-s3.html)
|
|
13
|
-
* [SNS](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-sns.html)
|
|
14
|
-
* [Stop](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-stop.html)
|
|
15
|
-
|
|
16
|
-
See the README of `@aws-cdk/aws-ses` for more information.
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# AWS::Signer Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
AWS Signer is a fully managed code-signing service to ensure the trust and integrity of your code. Organizations validate code against
|
|
5
|
-
a digital signature to confirm that the code is unaltered and from a trusted publisher. For more information, see [What Is AWS
|
|
6
|
-
Signer?](https://docs.aws.amazon.com/signer/latest/developerguide/Welcome.html)
|
|
7
|
-
|
|
8
|
-
## Table of Contents
|
|
9
|
-
|
|
10
|
-
- [Signing Platform](#signing-platform)
|
|
11
|
-
- [Signing Profile](#signing-profile)
|
|
12
|
-
|
|
13
|
-
## Signing Platform
|
|
14
|
-
|
|
15
|
-
A signing platform is a predefined set of instructions that specifies the signature format and signing algorithms that AWS Signer should use
|
|
16
|
-
to sign a zip file. For more information go to [Signing Platforms in AWS Signer](https://docs.aws.amazon.com/signer/latest/developerguide/gs-platform.html).
|
|
17
|
-
|
|
18
|
-
AWS Signer provides a pre-defined set of signing platforms. They are available in the CDK as -
|
|
19
|
-
|
|
20
|
-
```text
|
|
21
|
-
Platform.AWS_IOT_DEVICE_MANAGEMENT_SHA256_ECDSA
|
|
22
|
-
Platform.AWS_LAMBDA_SHA384_ECDSA
|
|
23
|
-
Platform.AMAZON_FREE_RTOS_TI_CC3220SF
|
|
24
|
-
Platform.AMAZON_FREE_RTOS_DEFAULT
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Signing Profile
|
|
28
|
-
|
|
29
|
-
A signing profile is a code-signing template that can be used to pre-define the signature specifications for a signing job.
|
|
30
|
-
A signing profile includes a signing platform to designate the file type to be signed, the signature format, and the signature algorithms.
|
|
31
|
-
For more information, visit [Signing Profiles in AWS Signer](https://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html).
|
|
32
|
-
|
|
33
|
-
The following code sets up a signing profile for signing lambda code bundles -
|
|
34
|
-
|
|
35
|
-
```ts
|
|
36
|
-
const signingProfile = new signer.SigningProfile(this, 'SigningProfile', {
|
|
37
|
-
platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,
|
|
38
|
-
});
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
A signing profile is valid by default for 135 months. This can be modified by specifying the `signatureValidityPeriod` property.
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
# Amazon Simple Notification Service Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Add an SNS Topic to your stack:
|
|
5
|
-
|
|
6
|
-
```ts
|
|
7
|
-
const topic = new sns.Topic(this, 'Topic', {
|
|
8
|
-
displayName: 'Customer subscription topic',
|
|
9
|
-
});
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
Add a FIFO SNS topic with content-based de-duplication to your stack:
|
|
13
|
-
|
|
14
|
-
```ts
|
|
15
|
-
const topic = new sns.Topic(this, 'Topic', {
|
|
16
|
-
contentBasedDeduplication: true,
|
|
17
|
-
displayName: 'Customer subscription topic',
|
|
18
|
-
fifo: true,
|
|
19
|
-
topicName: 'customerTopic',
|
|
20
|
-
});
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Note that FIFO topics require a topic name to be provided. The required `.fifo` suffix will be automatically added to the topic name if it is not explicitly provided.
|
|
24
|
-
|
|
25
|
-
## Subscriptions
|
|
26
|
-
|
|
27
|
-
Various subscriptions can be added to the topic by calling the
|
|
28
|
-
`.addSubscription(...)` method on the topic. It accepts a *subscription* object,
|
|
29
|
-
default implementations of which can be found in the
|
|
30
|
-
`@aws-cdk/aws-sns-subscriptions` package:
|
|
31
|
-
|
|
32
|
-
Add an HTTPS Subscription to your topic:
|
|
33
|
-
|
|
34
|
-
```ts
|
|
35
|
-
const myTopic = new sns.Topic(this, 'MyTopic');
|
|
36
|
-
|
|
37
|
-
myTopic.addSubscription(new subscriptions.UrlSubscription('https://foobar.com/'));
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Subscribe a queue to the topic:
|
|
41
|
-
|
|
42
|
-
```ts
|
|
43
|
-
declare const queue: sqs.Queue;
|
|
44
|
-
const myTopic = new sns.Topic(this, 'MyTopic');
|
|
45
|
-
|
|
46
|
-
myTopic.addSubscription(new subscriptions.SqsSubscription(queue));
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Note that subscriptions of queues in different accounts need to be manually confirmed by
|
|
50
|
-
reading the initial message from the queue and visiting the link found in it.
|
|
51
|
-
|
|
52
|
-
### Filter policy
|
|
53
|
-
|
|
54
|
-
A filter policy can be specified when subscribing an endpoint to a topic.
|
|
55
|
-
|
|
56
|
-
Example with a Lambda subscription:
|
|
57
|
-
|
|
58
|
-
```ts
|
|
59
|
-
import * as lambda from 'aws-cdk-lib/aws-lambda';
|
|
60
|
-
|
|
61
|
-
const myTopic = new sns.Topic(this, 'MyTopic');
|
|
62
|
-
declare const fn: lambda.Function;
|
|
63
|
-
|
|
64
|
-
// Lambda should receive only message matching the following conditions on attributes:
|
|
65
|
-
// color: 'red' or 'orange' or begins with 'bl'
|
|
66
|
-
// size: anything but 'small' or 'medium'
|
|
67
|
-
// price: between 100 and 200 or greater than 300
|
|
68
|
-
// store: attribute must be present
|
|
69
|
-
myTopic.addSubscription(new subscriptions.LambdaSubscription(fn, {
|
|
70
|
-
filterPolicy: {
|
|
71
|
-
color: sns.SubscriptionFilter.stringFilter({
|
|
72
|
-
allowlist: ['red', 'orange'],
|
|
73
|
-
matchPrefixes: ['bl'],
|
|
74
|
-
}),
|
|
75
|
-
size: sns.SubscriptionFilter.stringFilter({
|
|
76
|
-
denylist: ['small', 'medium'],
|
|
77
|
-
}),
|
|
78
|
-
price: sns.SubscriptionFilter.numericFilter({
|
|
79
|
-
between: { start: 100, stop: 200 },
|
|
80
|
-
greaterThan: 300,
|
|
81
|
-
}),
|
|
82
|
-
store: sns.SubscriptionFilter.existsFilter(),
|
|
83
|
-
},
|
|
84
|
-
}));
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
### Example of Firehose Subscription
|
|
88
|
-
|
|
89
|
-
```ts
|
|
90
|
-
import { DeliveryStream } from 'aws-cdk-lib/aws-kinesisfirehose';
|
|
91
|
-
|
|
92
|
-
const topic = new sns.Topic(this, 'Topic');
|
|
93
|
-
declare const stream: DeliveryStream;
|
|
94
|
-
|
|
95
|
-
new sns.Subscription(this, 'Subscription', {
|
|
96
|
-
topic,
|
|
97
|
-
endpoint: stream.deliveryStreamArn,
|
|
98
|
-
protocol: sns.SubscriptionProtocol.FIREHOSE,
|
|
99
|
-
subscriptionRoleArn: "SAMPLE_ARN", //role with permissions to send messages to a firehose delivery stream
|
|
100
|
-
});
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
## DLQ setup for SNS Subscription
|
|
104
|
-
|
|
105
|
-
CDK can attach provided Queue as DLQ for your SNS subscription.
|
|
106
|
-
See the [SNS DLQ configuration docs](https://docs.aws.amazon.com/sns/latest/dg/sns-configure-dead-letter-queue.html) for more information about this feature.
|
|
107
|
-
|
|
108
|
-
Example of usage with user provided DLQ.
|
|
109
|
-
|
|
110
|
-
```ts
|
|
111
|
-
const topic = new sns.Topic(this, 'Topic');
|
|
112
|
-
const dlQueue = new sqs.Queue(this, 'DeadLetterQueue', {
|
|
113
|
-
queueName: 'MySubscription_DLQ',
|
|
114
|
-
retentionPeriod: Duration.days(14),
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
new sns.Subscription(this, 'Subscription', {
|
|
118
|
-
endpoint: 'endpoint',
|
|
119
|
-
protocol: sns.SubscriptionProtocol.LAMBDA,
|
|
120
|
-
topic,
|
|
121
|
-
deadLetterQueue: dlQueue,
|
|
122
|
-
});
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
## CloudWatch Event Rule Target
|
|
126
|
-
|
|
127
|
-
SNS topics can be used as targets for CloudWatch event rules.
|
|
128
|
-
|
|
129
|
-
Use the `@aws-cdk/aws-events-targets.SnsTopic`:
|
|
130
|
-
|
|
131
|
-
```ts
|
|
132
|
-
import * as codecommit from 'aws-cdk-lib/aws-codecommit';
|
|
133
|
-
import * as targets from 'aws-cdk-lib/aws-events-targets';
|
|
134
|
-
|
|
135
|
-
declare const repo: codecommit.Repository;
|
|
136
|
-
const myTopic = new sns.Topic(this, 'Topic');
|
|
137
|
-
|
|
138
|
-
repo.onCommit('OnCommit', {
|
|
139
|
-
target: new targets.SnsTopic(myTopic),
|
|
140
|
-
});
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
This will result in adding a target to the event rule and will also modify the
|
|
144
|
-
topic resource policy to allow CloudWatch events to publish to the topic.
|
|
145
|
-
|
|
146
|
-
## Topic Policy
|
|
147
|
-
|
|
148
|
-
A topic policy is automatically created when `addToResourcePolicy` is called, if
|
|
149
|
-
one doesn't already exist. Using `addToResourcePolicy` is the simplest way to
|
|
150
|
-
add policies, but a `TopicPolicy` can also be created manually.
|
|
151
|
-
|
|
152
|
-
```ts
|
|
153
|
-
const topic = new sns.Topic(this, 'Topic');
|
|
154
|
-
const topicPolicy = new sns.TopicPolicy(this, 'TopicPolicy', {
|
|
155
|
-
topics: [topic],
|
|
156
|
-
});
|
|
157
|
-
|
|
158
|
-
topicPolicy.document.addStatements(new iam.PolicyStatement({
|
|
159
|
-
actions: ["sns:Subscribe"],
|
|
160
|
-
principals: [new iam.AnyPrincipal()],
|
|
161
|
-
resources: [topic.topicArn],
|
|
162
|
-
}));
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
A policy document can also be passed on `TopicPolicy` construction
|
|
166
|
-
|
|
167
|
-
```ts
|
|
168
|
-
const topic = new sns.Topic(this, 'Topic');
|
|
169
|
-
const policyDocument = new iam.PolicyDocument({
|
|
170
|
-
assignSids: true,
|
|
171
|
-
statements: [
|
|
172
|
-
new iam.PolicyStatement({
|
|
173
|
-
actions: ["sns:Subscribe"],
|
|
174
|
-
principals: [new iam.AnyPrincipal()],
|
|
175
|
-
resources: [topic.topicArn],
|
|
176
|
-
}),
|
|
177
|
-
],
|
|
178
|
-
});
|
|
179
|
-
|
|
180
|
-
const topicPolicy = new sns.TopicPolicy(this, 'Policy', {
|
|
181
|
-
topics: [topic],
|
|
182
|
-
policyDocument,
|
|
183
|
-
});
|
|
184
|
-
```
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
# CDK Construct Library for Amazon Simple Notification Service Subscriptions
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This library provides constructs for adding subscriptions to an Amazon SNS topic.
|
|
5
|
-
Subscriptions can be added by calling the `.addSubscription(...)` method on the topic.
|
|
6
|
-
|
|
7
|
-
## Subscriptions
|
|
8
|
-
|
|
9
|
-
Subscriptions can be added to the following endpoints:
|
|
10
|
-
|
|
11
|
-
* HTTPS
|
|
12
|
-
* Amazon SQS
|
|
13
|
-
* AWS Lambda
|
|
14
|
-
* Email
|
|
15
|
-
* SMS
|
|
16
|
-
|
|
17
|
-
Subscriptions to Amazon SQS and AWS Lambda can be added on topics across regions.
|
|
18
|
-
|
|
19
|
-
Create an Amazon SNS Topic to add subscriptions.
|
|
20
|
-
|
|
21
|
-
```ts
|
|
22
|
-
const myTopic = new sns.Topic(this, 'MyTopic');
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
### HTTPS
|
|
26
|
-
|
|
27
|
-
Add an HTTP or HTTPS Subscription to your topic:
|
|
28
|
-
|
|
29
|
-
```ts
|
|
30
|
-
const myTopic = new sns.Topic(this, 'MyTopic');
|
|
31
|
-
|
|
32
|
-
myTopic.addSubscription(new subscriptions.UrlSubscription('https://foobar.com/'));
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
The URL being subscribed can also be [tokens](https://docs.aws.amazon.com/cdk/latest/guide/tokens.html), that resolve
|
|
36
|
-
to a URL during deployment. A typical use case is when the URL is passed in as a [CloudFormation
|
|
37
|
-
parameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html). The
|
|
38
|
-
following code defines a CloudFormation parameter and uses it in a URL subscription.
|
|
39
|
-
|
|
40
|
-
```ts
|
|
41
|
-
const myTopic = new sns.Topic(this, 'MyTopic');
|
|
42
|
-
const url = new CfnParameter(this, 'url-param');
|
|
43
|
-
|
|
44
|
-
myTopic.addSubscription(new subscriptions.UrlSubscription(url.valueAsString));
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Amazon SQS
|
|
48
|
-
|
|
49
|
-
Subscribe a queue to your topic:
|
|
50
|
-
|
|
51
|
-
```ts
|
|
52
|
-
const myQueue = new sqs.Queue(this, 'MyQueue');
|
|
53
|
-
const myTopic = new sns.Topic(this, 'MyTopic');
|
|
54
|
-
|
|
55
|
-
myTopic.addSubscription(new subscriptions.SqsSubscription(myQueue));
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
KMS key permissions will automatically be granted to SNS when a subscription is made to
|
|
59
|
-
an encrypted queue.
|
|
60
|
-
|
|
61
|
-
Note that subscriptions of queues in different accounts need to be manually confirmed by
|
|
62
|
-
reading the initial message from the queue and visiting the link found in it.
|
|
63
|
-
|
|
64
|
-
### AWS Lambda
|
|
65
|
-
|
|
66
|
-
Subscribe an AWS Lambda function to your topic:
|
|
67
|
-
|
|
68
|
-
```ts
|
|
69
|
-
import * as lambda from 'aws-cdk-lib/aws-lambda';
|
|
70
|
-
|
|
71
|
-
const myTopic = new sns.Topic(this, 'myTopic');
|
|
72
|
-
declare const myFunction: lambda.Function;
|
|
73
|
-
myTopic.addSubscription(new subscriptions.LambdaSubscription(myFunction));
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
### Email
|
|
77
|
-
|
|
78
|
-
Subscribe an email address to your topic:
|
|
79
|
-
|
|
80
|
-
```ts
|
|
81
|
-
const myTopic = new sns.Topic(this, 'MyTopic');
|
|
82
|
-
myTopic.addSubscription(new subscriptions.EmailSubscription('foo@bar.com'));
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
The email being subscribed can also be [tokens](https://docs.aws.amazon.com/cdk/latest/guide/tokens.html), that resolve
|
|
86
|
-
to an email address during deployment. A typical use case is when the email address is passed in as a [CloudFormation
|
|
87
|
-
parameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html). The
|
|
88
|
-
following code defines a CloudFormation parameter and uses it in an email subscription.
|
|
89
|
-
|
|
90
|
-
```ts
|
|
91
|
-
const myTopic = new sns.Topic(this, 'Topic');
|
|
92
|
-
const emailAddress = new CfnParameter(this, 'email-param');
|
|
93
|
-
|
|
94
|
-
myTopic.addSubscription(new subscriptions.EmailSubscription(emailAddress.valueAsString));
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
Note that email subscriptions require confirmation by visiting the link sent to the
|
|
98
|
-
email address.
|
|
99
|
-
|
|
100
|
-
### SMS
|
|
101
|
-
|
|
102
|
-
Subscribe an sms number to your topic:
|
|
103
|
-
|
|
104
|
-
```ts
|
|
105
|
-
const myTopic = new sns.Topic(this, 'Topic');
|
|
106
|
-
|
|
107
|
-
myTopic.addSubscription(new subscriptions.SmsSubscription('+15551231234'));
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
The number being subscribed can also be [tokens](https://docs.aws.amazon.com/cdk/latest/guide/tokens.html), that resolve
|
|
111
|
-
to a number during deployment. A typical use case is when the number is passed in as a [CloudFormation
|
|
112
|
-
parameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html). The
|
|
113
|
-
following code defines a CloudFormation parameter and uses it in an sms subscription.
|
|
114
|
-
|
|
115
|
-
```ts
|
|
116
|
-
const myTopic = new sns.Topic(this, 'Topic');
|
|
117
|
-
const smsNumber = new CfnParameter(this, 'sms-param');
|
|
118
|
-
|
|
119
|
-
myTopic.addSubscription(new subscriptions.SmsSubscription(smsNumber.valueAsString));
|
|
120
|
-
```
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Amazon Simple Queue Service Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Amazon Simple Queue Service (SQS) is a fully managed message queuing service that
|
|
5
|
-
enables you to decouple and scale microservices, distributed systems, and serverless
|
|
6
|
-
applications. SQS eliminates the complexity and overhead associated with managing and
|
|
7
|
-
operating message oriented middleware, and empowers developers to focus on differentiating work.
|
|
8
|
-
Using SQS, you can send, store, and receive messages between software components at any volume,
|
|
9
|
-
without losing messages or requiring other services to be available.
|
|
10
|
-
|
|
11
|
-
## Installation
|
|
12
|
-
|
|
13
|
-
Import to your project:
|
|
14
|
-
|
|
15
|
-
```ts nofixture
|
|
16
|
-
import * as sqs from 'aws-cdk-lib/aws-sqs';
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Basic usage
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Here's how to add a basic queue to your application:
|
|
23
|
-
|
|
24
|
-
```ts
|
|
25
|
-
new sqs.Queue(this, 'Queue');
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Encryption
|
|
29
|
-
|
|
30
|
-
If you want to encrypt the queue contents, set the `encryption` property. You can have
|
|
31
|
-
the messages encrypted with a key that SQS manages for you, or a key that you
|
|
32
|
-
can manage yourself.
|
|
33
|
-
|
|
34
|
-
```ts
|
|
35
|
-
// Use managed key
|
|
36
|
-
new sqs.Queue(this, 'Queue', {
|
|
37
|
-
encryption: sqs.QueueEncryption.KMS_MANAGED,
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
// Use custom key
|
|
41
|
-
const myKey = new kms.Key(this, 'Key');
|
|
42
|
-
|
|
43
|
-
new sqs.Queue(this, 'Queue', {
|
|
44
|
-
encryption: sqs.QueueEncryption.KMS,
|
|
45
|
-
encryptionMasterKey: myKey,
|
|
46
|
-
});
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
## First-In-First-Out (FIFO) queues
|
|
50
|
-
|
|
51
|
-
FIFO queues give guarantees on the order in which messages are dequeued, and have additional
|
|
52
|
-
features in order to help guarantee exactly-once processing. For more information, see
|
|
53
|
-
the SQS manual. Note that FIFO queues are not available in all AWS regions.
|
|
54
|
-
|
|
55
|
-
A queue can be made a FIFO queue by either setting `fifo: true`, giving it a name which ends
|
|
56
|
-
in `".fifo"`, or by enabling a FIFO specific feature such as: content-based deduplication,
|
|
57
|
-
deduplication scope or fifo throughput limit.
|