@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,126 +0,0 @@
|
|
|
1
|
-
# CloudFront Origins for the CDK CloudFront Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This library contains convenience methods for defining origins for a CloudFront distribution. You can use this library to create origins from
|
|
5
|
-
S3 buckets, Elastic Load Balancing v2 load balancers, or any other domain name.
|
|
6
|
-
|
|
7
|
-
## S3 Bucket
|
|
8
|
-
|
|
9
|
-
An S3 bucket can be added as an origin. If the bucket is configured as a website endpoint, the distribution can use S3 redirects and S3 custom error
|
|
10
|
-
documents.
|
|
11
|
-
|
|
12
|
-
```ts
|
|
13
|
-
const myBucket = new s3.Bucket(this, 'myBucket');
|
|
14
|
-
new cloudfront.Distribution(this, 'myDist', {
|
|
15
|
-
defaultBehavior: { origin: new origins.S3Origin(myBucket) },
|
|
16
|
-
});
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
The above will treat the bucket differently based on if `IBucket.isWebsite` is set or not. If the bucket is configured as a website, the bucket is
|
|
20
|
-
treated as an HTTP origin, and the built-in S3 redirects and error pages can be used. Otherwise, the bucket is handled as a bucket origin and
|
|
21
|
-
CloudFront's redirect and error handling will be used. In the latter case, the Origin will create an origin access identity and grant it access to the
|
|
22
|
-
underlying bucket. This can be used in conjunction with a bucket that is not public to require that your users access your content using CloudFront
|
|
23
|
-
URLs and not S3 URLs directly. Alternatively, a custom origin access identity can be passed to the S3 origin in the properties.
|
|
24
|
-
|
|
25
|
-
### Adding Custom Headers
|
|
26
|
-
|
|
27
|
-
You can configure CloudFront to add custom headers to the requests that it sends to your origin. These custom headers enable you to send and gather information from your origin that you don’t get with typical viewer requests. These headers can even be customized for each origin. CloudFront supports custom headers for both for custom and Amazon S3 origins.
|
|
28
|
-
|
|
29
|
-
```ts
|
|
30
|
-
const myBucket = new s3.Bucket(this, 'myBucket');
|
|
31
|
-
new cloudfront.Distribution(this, 'myDist', {
|
|
32
|
-
defaultBehavior: { origin: new origins.S3Origin(myBucket, {
|
|
33
|
-
customHeaders: {
|
|
34
|
-
Foo: 'bar',
|
|
35
|
-
},
|
|
36
|
-
})},
|
|
37
|
-
});
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## ELBv2 Load Balancer
|
|
41
|
-
|
|
42
|
-
An Elastic Load Balancing (ELB) v2 load balancer may be used as an origin. In order for a load balancer to serve as an origin, it must be publicly
|
|
43
|
-
accessible (`internetFacing` is true). Both Application and Network load balancers are supported.
|
|
44
|
-
|
|
45
|
-
```ts
|
|
46
|
-
import * as ec2 from 'aws-cdk-lib/aws-ec2';
|
|
47
|
-
import * as elbv2 from 'aws-cdk-lib/aws-elasticloadbalancingv2';
|
|
48
|
-
|
|
49
|
-
declare const vpc: ec2.Vpc;
|
|
50
|
-
// Create an application load balancer in a VPC. 'internetFacing' must be 'true'
|
|
51
|
-
// for CloudFront to access the load balancer and use it as an origin.
|
|
52
|
-
const lb = new elbv2.ApplicationLoadBalancer(this, 'LB', {
|
|
53
|
-
vpc,
|
|
54
|
-
internetFacing: true,
|
|
55
|
-
});
|
|
56
|
-
new cloudfront.Distribution(this, 'myDist', {
|
|
57
|
-
defaultBehavior: { origin: new origins.LoadBalancerV2Origin(lb) },
|
|
58
|
-
});
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
The origin can also be customized to respond on different ports, have different connection properties, etc.
|
|
62
|
-
|
|
63
|
-
```ts
|
|
64
|
-
import * as elbv2 from 'aws-cdk-lib/aws-elasticloadbalancingv2';
|
|
65
|
-
|
|
66
|
-
declare const loadBalancer: elbv2.ApplicationLoadBalancer;
|
|
67
|
-
const origin = new origins.LoadBalancerV2Origin(loadBalancer, {
|
|
68
|
-
connectionAttempts: 3,
|
|
69
|
-
connectionTimeout: Duration.seconds(5),
|
|
70
|
-
readTimeout: Duration.seconds(45),
|
|
71
|
-
keepaliveTimeout: Duration.seconds(45),
|
|
72
|
-
protocolPolicy: cloudfront.OriginProtocolPolicy.MATCH_VIEWER,
|
|
73
|
-
});
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
Note that the `readTimeout` and `keepaliveTimeout` properties can extend their values over 60 seconds only if a limit increase request for CloudFront origin response timeout
|
|
77
|
-
quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Consider that this value is
|
|
78
|
-
still limited to a maximum value of 180 seconds, which is a hard limit for that quota.
|
|
79
|
-
|
|
80
|
-
## From an HTTP endpoint
|
|
81
|
-
|
|
82
|
-
Origins can also be created from any other HTTP endpoint, given the domain name, and optionally, other origin properties.
|
|
83
|
-
|
|
84
|
-
```ts
|
|
85
|
-
new cloudfront.Distribution(this, 'myDist', {
|
|
86
|
-
defaultBehavior: { origin: new origins.HttpOrigin('www.example.com') },
|
|
87
|
-
});
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
See the documentation of `@aws-cdk/aws-cloudfront` for more information.
|
|
91
|
-
|
|
92
|
-
## Failover Origins (Origin Groups)
|
|
93
|
-
|
|
94
|
-
You can set up CloudFront with origin failover for scenarios that require high availability.
|
|
95
|
-
To get started, you create an origin group with two origins: a primary and a secondary.
|
|
96
|
-
If the primary origin is unavailable, or returns specific HTTP response status codes that indicate a failure,
|
|
97
|
-
CloudFront automatically switches to the secondary origin.
|
|
98
|
-
You achieve that behavior in the CDK using the `OriginGroup` class:
|
|
99
|
-
|
|
100
|
-
```ts
|
|
101
|
-
const myBucket = new s3.Bucket(this, 'myBucket');
|
|
102
|
-
new cloudfront.Distribution(this, 'myDist', {
|
|
103
|
-
defaultBehavior: {
|
|
104
|
-
origin: new origins.OriginGroup({
|
|
105
|
-
primaryOrigin: new origins.S3Origin(myBucket),
|
|
106
|
-
fallbackOrigin: new origins.HttpOrigin('www.example.com'),
|
|
107
|
-
// optional, defaults to: 500, 502, 503 and 504
|
|
108
|
-
fallbackStatusCodes: [404],
|
|
109
|
-
}),
|
|
110
|
-
},
|
|
111
|
-
});
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
## From an API Gateway REST API
|
|
115
|
-
|
|
116
|
-
Origins can be created from an API Gateway REST API. It is recommended to use a
|
|
117
|
-
[regional API](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-endpoint-types.html) in this case.
|
|
118
|
-
|
|
119
|
-
```ts
|
|
120
|
-
declare const api: apigateway.RestApi;
|
|
121
|
-
new cloudfront.Distribution(this, 'Distribution', {
|
|
122
|
-
defaultBehavior: { origin: new origins.RestApiOrigin(api) },
|
|
123
|
-
});
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
The origin path will automatically be set as the stage name.
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
# AWS CloudTrail Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Trail
|
|
5
|
-
|
|
6
|
-
AWS CloudTrail enables governance, compliance, and operational and risk auditing of your AWS account. Actions taken by
|
|
7
|
-
a user, role, or an AWS service are recorded as events in CloudTrail. Learn more at the [CloudTrail
|
|
8
|
-
documentation](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html).
|
|
9
|
-
|
|
10
|
-
The `Trail` construct enables ongoing delivery of events as log files to an Amazon S3 bucket. Learn more about [Creating
|
|
11
|
-
a Trail for Your AWS Account](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-create-and-update-a-trail.html).
|
|
12
|
-
The following code creates a simple CloudTrail for your account -
|
|
13
|
-
|
|
14
|
-
```ts
|
|
15
|
-
const trail = new cloudtrail.Trail(this, 'CloudTrail');
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
By default, this will create a new S3 Bucket that CloudTrail will write to, and choose a few other reasonable defaults
|
|
19
|
-
such as turning on multi-region and global service events.
|
|
20
|
-
The defaults for each property and how to override them are all documented on the `TrailProps` interface.
|
|
21
|
-
|
|
22
|
-
## Log File Validation
|
|
23
|
-
|
|
24
|
-
In order to validate that the CloudTrail log file was not modified after CloudTrail delivered it, CloudTrail provides a
|
|
25
|
-
digital signature for each file. Learn more at [Validating CloudTrail Log File
|
|
26
|
-
Integrity](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-log-file-validation-intro.html).
|
|
27
|
-
|
|
28
|
-
This is enabled on the `Trail` construct by default, but can be turned off by setting `enableFileValidation` to `false`.
|
|
29
|
-
|
|
30
|
-
```ts
|
|
31
|
-
const trail = new cloudtrail.Trail(this, 'CloudTrail', {
|
|
32
|
-
enableFileValidation: false,
|
|
33
|
-
});
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Notifications
|
|
37
|
-
|
|
38
|
-
Amazon SNS notifications can be configured upon new log files containing Trail events are delivered to S3.
|
|
39
|
-
Learn more at [Configuring Amazon SNS Notifications for
|
|
40
|
-
CloudTrail](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/configure-sns-notifications-for-cloudtrail.html).
|
|
41
|
-
The following code configures an SNS topic to be notified -
|
|
42
|
-
|
|
43
|
-
```ts
|
|
44
|
-
const topic = new sns.Topic(this, 'TrailTopic');
|
|
45
|
-
const trail = new cloudtrail.Trail(this, 'CloudTrail', {
|
|
46
|
-
snsTopic: topic,
|
|
47
|
-
});
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Service Integrations
|
|
51
|
-
|
|
52
|
-
Besides sending trail events to S3, they can also be configured to notify other AWS services -
|
|
53
|
-
|
|
54
|
-
### Amazon CloudWatch Logs
|
|
55
|
-
|
|
56
|
-
CloudTrail events can be delivered to a CloudWatch Logs LogGroup. By default, a new LogGroup is created with a
|
|
57
|
-
default retention setting. The following code enables sending CloudWatch logs but specifies a particular retention
|
|
58
|
-
period for the created Log Group.
|
|
59
|
-
|
|
60
|
-
```ts
|
|
61
|
-
import * as logs from 'aws-cdk-lib/aws-logs';
|
|
62
|
-
|
|
63
|
-
const trail = new cloudtrail.Trail(this, 'CloudTrail', {
|
|
64
|
-
sendToCloudWatchLogs: true,
|
|
65
|
-
cloudWatchLogsRetention: logs.RetentionDays.FOUR_MONTHS,
|
|
66
|
-
});
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
If you would like to use a specific log group instead, this can be configured via `cloudwatchLogGroup`.
|
|
70
|
-
|
|
71
|
-
### Amazon EventBridge
|
|
72
|
-
|
|
73
|
-
Amazon EventBridge rules can be configured to be triggered when CloudTrail events occur using the `Trail.onEvent()` API.
|
|
74
|
-
Using APIs available in `aws-events`, these events can be filtered to match to those that are of interest, either from
|
|
75
|
-
a specific service, account or time range. See [Events delivered via
|
|
76
|
-
CloudTrail](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html#events-for-services-not-listed)
|
|
77
|
-
to learn more about the event structure for events from CloudTrail.
|
|
78
|
-
|
|
79
|
-
The following code filters events for S3 from a specific AWS account and triggers a lambda function.
|
|
80
|
-
|
|
81
|
-
```ts
|
|
82
|
-
const myFunctionHandler = new lambda.Function(this, 'MyFunction', {
|
|
83
|
-
code: lambda.Code.fromAsset('resource/myfunction'),
|
|
84
|
-
runtime: lambda.Runtime.NODEJS_14_X,
|
|
85
|
-
handler: 'index.handler',
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
const eventRule = cloudtrail.Trail.onEvent(this, 'MyCloudWatchEvent', {
|
|
89
|
-
target: new targets.LambdaFunction(myFunctionHandler),
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
eventRule.addEventPattern({
|
|
93
|
-
account: ['123456789012'],
|
|
94
|
-
source: ['aws.s3'],
|
|
95
|
-
});
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
## Multi-Region & Global Service Events
|
|
99
|
-
|
|
100
|
-
By default, a `Trail` is configured to deliver log files from multiple regions to a single S3 bucket for a given
|
|
101
|
-
account. This creates shadow trails (replication of the trails) in all of the other regions. Learn more about [How
|
|
102
|
-
CloudTrail Behaves Regionally](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-regional-and-global-services)
|
|
103
|
-
and about the [`IsMultiRegion`
|
|
104
|
-
property](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-ismultiregiontrail).
|
|
105
|
-
|
|
106
|
-
For most services, events are recorded in the region where the action occurred. For global services such as AWS IAM,
|
|
107
|
-
AWS STS, Amazon CloudFront, Route 53, etc., events are delivered to any trail that includes global services. Learn more
|
|
108
|
-
[About Global Service Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-global-service-events).
|
|
109
|
-
|
|
110
|
-
Events for global services are turned on by default for `Trail` constructs in the CDK.
|
|
111
|
-
|
|
112
|
-
The following code disables multi-region trail delivery and trail delivery for global services for a specific `Trail` -
|
|
113
|
-
|
|
114
|
-
```ts
|
|
115
|
-
const trail = new cloudtrail.Trail(this, 'CloudTrail', {
|
|
116
|
-
// ...
|
|
117
|
-
isMultiRegionTrail: false,
|
|
118
|
-
includeGlobalServiceEvents: false,
|
|
119
|
-
});
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
## Events Types
|
|
123
|
-
|
|
124
|
-
**Management events** provide information about management operations that are performed on resources in your AWS
|
|
125
|
-
account. These are also known as control plane operations. Learn more about [Management
|
|
126
|
-
Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-events).
|
|
127
|
-
|
|
128
|
-
By default, a `Trail` logs all management events. However, they can be configured to either be turned off, or to only
|
|
129
|
-
log 'Read' or 'Write' events.
|
|
130
|
-
|
|
131
|
-
The following code configures the `Trail` to only track management events that are of type 'Read'.
|
|
132
|
-
|
|
133
|
-
```ts
|
|
134
|
-
const trail = new cloudtrail.Trail(this, 'CloudTrail', {
|
|
135
|
-
// ...
|
|
136
|
-
managementEvents: cloudtrail.ReadWriteType.READ_ONLY,
|
|
137
|
-
});
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
**Data events** provide information about the resource operations performed on or in a resource. These are also known
|
|
141
|
-
as data plane operations. Learn more about [Data
|
|
142
|
-
Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-events).
|
|
143
|
-
By default, no data events are logged for a `Trail`.
|
|
144
|
-
|
|
145
|
-
AWS CloudTrail supports data event logging for Amazon S3 objects and AWS Lambda functions.
|
|
146
|
-
|
|
147
|
-
The `logAllS3DataEvents()` API configures the trail to log all S3 data events while the `addS3EventSelector()` API can
|
|
148
|
-
be used to configure logging of S3 data events for specific buckets and specific object prefix. The following code
|
|
149
|
-
configures logging of S3 data events for `fooBucket` and with object prefix `bar/`.
|
|
150
|
-
|
|
151
|
-
```ts
|
|
152
|
-
import * as s3 from 'aws-cdk-lib/aws-s3';
|
|
153
|
-
|
|
154
|
-
const trail = new cloudtrail.Trail(this, 'MyAmazingCloudTrail');
|
|
155
|
-
declare const bucket: s3.Bucket;
|
|
156
|
-
|
|
157
|
-
// Adds an event selector to the bucket foo
|
|
158
|
-
trail.addS3EventSelector([{
|
|
159
|
-
bucket,
|
|
160
|
-
objectPrefix: 'bar/',
|
|
161
|
-
}]);
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
Similarly, the `logAllLambdaDataEvents()` configures the trail to log all Lambda data events while the
|
|
165
|
-
`addLambdaEventSelector()` API can be used to configure logging for specific Lambda functions. The following code
|
|
166
|
-
configures logging of Lambda data events for a specific Function.
|
|
167
|
-
|
|
168
|
-
```ts
|
|
169
|
-
const trail = new cloudtrail.Trail(this, 'MyAmazingCloudTrail');
|
|
170
|
-
const amazingFunction = new lambda.Function(this, 'AnAmazingFunction', {
|
|
171
|
-
runtime: lambda.Runtime.NODEJS_14_X,
|
|
172
|
-
handler: "hello.handler",
|
|
173
|
-
code: lambda.Code.fromAsset("lambda"),
|
|
174
|
-
});
|
|
175
|
-
|
|
176
|
-
// Add an event selector to log data events for the provided Lambda functions.
|
|
177
|
-
trail.addLambdaEventSelector([ amazingFunction ]);
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
## Organization Trail
|
|
181
|
-
|
|
182
|
-
It is possible to create a trail that will be applied to all accounts in an organization if the current account manages an organization.
|
|
183
|
-
To enable this, the property `isOrganizationTrail` must be set. If this property is set and the current account does not manage an organization, the stack will fail to deploy.
|
|
184
|
-
|
|
185
|
-
```ts
|
|
186
|
-
new cloudtrail.Trail(this, 'OrganizationTrail', {
|
|
187
|
-
isOrganizationTrail: true,
|
|
188
|
-
});
|
|
189
|
-
```
|