@epilot360/icons 0.0.2 → 0.1.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/dist/bundle.js +1 -1
- package/dist/bundle.js.map +1 -1
- package/index.js.map +1 -1
- package/package.json +35 -8
- package/react/Close/index.d.ts +4 -0
- package/react/Close/index.js +28 -0
- package/react/Close/index.js.map +1 -0
- package/react/ContentCopy/index.d.ts +4 -0
- package/react/ContentCopy/index.js +28 -0
- package/react/ContentCopy/index.js.map +1 -0
- package/react/DataObject/index.d.ts +4 -0
- package/react/DataObject/index.js +28 -0
- package/react/DataObject/index.js.map +1 -0
- package/react/Edit/index.d.ts +4 -0
- package/react/Edit/index.js +28 -0
- package/react/Edit/index.js.map +1 -0
- package/react/EpilotIcon.d.ts +21 -0
- package/react/EpilotIcon.js +41 -0
- package/react/EpilotIcon.js.map +1 -0
- package/react/OpenInNew/index.d.ts +4 -0
- package/react/OpenInNew/index.js +28 -0
- package/react/OpenInNew/index.js.map +1 -0
- package/react/Share/index.d.ts +4 -0
- package/react/Share/index.js +28 -0
- package/react/Share/index.js.map +1 -0
- package/react/index.d.ts +6 -0
- package/react/index.js +6 -0
- package/react/index.js.map +1 -1
- package/react/types.d.ts +7 -0
- package/react/types.js +9 -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,210 +0,0 @@
|
|
|
1
|
-
# AWS Backup Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
AWS Backup is a fully managed backup service that makes it easy to centralize and automate the
|
|
5
|
-
backup of data across AWS services in the cloud and on premises. Using AWS Backup, you can
|
|
6
|
-
configure backup policies and monitor backup activity for your AWS resources in one place.
|
|
7
|
-
|
|
8
|
-
## Backup plan and selection
|
|
9
|
-
|
|
10
|
-
In AWS Backup, a *backup plan* is a policy expression that defines when and how you want to back up
|
|
11
|
-
your AWS resources, such as Amazon DynamoDB tables or Amazon Elastic File System (Amazon EFS) file
|
|
12
|
-
systems. You can assign resources to backup plans, and AWS Backup automatically backs up and retains
|
|
13
|
-
backups for those resources according to the backup plan. You can create multiple backup plans if you
|
|
14
|
-
have workloads with different backup requirements.
|
|
15
|
-
|
|
16
|
-
This module provides ready-made backup plans (similar to the console experience):
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
// Daily, weekly and monthly with 5 year retention
|
|
20
|
-
const plan = backup.BackupPlan.dailyWeeklyMonthly5YearRetention(this, 'Plan');
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Assigning resources to a plan can be done with `addSelection()`:
|
|
24
|
-
|
|
25
|
-
```ts
|
|
26
|
-
declare const plan: backup.BackupPlan;
|
|
27
|
-
declare const vpc: ec2.Vpc;
|
|
28
|
-
const myTable = dynamodb.Table.fromTableName(this, 'Table', 'myTableName');
|
|
29
|
-
const myDatabaseInstance = new rds.DatabaseInstance(this, 'DatabaseInstance', {
|
|
30
|
-
engine: rds.DatabaseInstanceEngine.mysql({ version: rds.MysqlEngineVersion.VER_8_0_26 }),
|
|
31
|
-
vpc,
|
|
32
|
-
});
|
|
33
|
-
const myDatabaseCluster = new rds.DatabaseCluster(this, 'DatabaseCluster', {
|
|
34
|
-
engine: rds.DatabaseClusterEngine.auroraMysql({ version: rds.AuroraMysqlEngineVersion.VER_2_08_1 }),
|
|
35
|
-
credentials: rds.Credentials.fromGeneratedSecret('clusteradmin'),
|
|
36
|
-
instanceProps: {
|
|
37
|
-
vpc,
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
const myServerlessCluster = new rds.ServerlessCluster(this, 'ServerlessCluster', {
|
|
41
|
-
engine: rds.DatabaseClusterEngine.AURORA_POSTGRESQL,
|
|
42
|
-
parameterGroup: rds.ParameterGroup.fromParameterGroupName(this, 'ParameterGroup', 'default.aurora-postgresql10'),
|
|
43
|
-
vpc,
|
|
44
|
-
});
|
|
45
|
-
const myCoolConstruct = new Construct(this, 'MyCoolConstruct');
|
|
46
|
-
|
|
47
|
-
plan.addSelection('Selection', {
|
|
48
|
-
resources: [
|
|
49
|
-
backup.BackupResource.fromDynamoDbTable(myTable), // A DynamoDB table
|
|
50
|
-
backup.BackupResource.fromRdsDatabaseInstance(myDatabaseInstance), // A RDS instance
|
|
51
|
-
backup.BackupResource.fromRdsDatabaseCluster(myDatabaseCluster), // A RDS database cluster
|
|
52
|
-
backup.BackupResource.fromRdsServerlessCluster(myServerlessCluster), // An Aurora Serverless cluster
|
|
53
|
-
backup.BackupResource.fromTag('stage', 'prod'), // All resources that are tagged stage=prod in the region/account
|
|
54
|
-
backup.BackupResource.fromConstruct(myCoolConstruct), // All backupable resources in `myCoolConstruct`
|
|
55
|
-
]
|
|
56
|
-
})
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
If not specified, a new IAM role with a managed policy for backup will be
|
|
60
|
-
created for the selection. The `BackupSelection` implements `IGrantable`.
|
|
61
|
-
|
|
62
|
-
To add rules to a plan, use `addRule()`:
|
|
63
|
-
|
|
64
|
-
```ts
|
|
65
|
-
declare const plan: backup.BackupPlan;
|
|
66
|
-
plan.addRule(new backup.BackupPlanRule({
|
|
67
|
-
completionWindow: Duration.hours(2),
|
|
68
|
-
startWindow: Duration.hours(1),
|
|
69
|
-
scheduleExpression: events.Schedule.cron({ // Only cron expressions are supported
|
|
70
|
-
day: '15',
|
|
71
|
-
hour: '3',
|
|
72
|
-
minute: '30',
|
|
73
|
-
}),
|
|
74
|
-
moveToColdStorageAfter: Duration.days(30),
|
|
75
|
-
}));
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Continuous backup and point-in-time restores (PITR) can be configured.
|
|
79
|
-
Property `deleteAfter` defines the retention period for the backup. It is mandatory if PITR is enabled.
|
|
80
|
-
If no value is specified, the retention period is set to 35 days which is the maximum retention period supported by PITR.
|
|
81
|
-
Property `moveToColdStorageAfter` must not be specified because PITR does not support this option.
|
|
82
|
-
This example defines an AWS Backup rule with PITR and a retention period set to 14 days:
|
|
83
|
-
|
|
84
|
-
```ts
|
|
85
|
-
declare const plan: backup.BackupPlan;
|
|
86
|
-
plan.addRule(new backup.BackupPlanRule({
|
|
87
|
-
enableContinuousBackup: true,
|
|
88
|
-
deleteAfter: Duration.days(14),
|
|
89
|
-
}));
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
Ready-made rules are also available:
|
|
93
|
-
|
|
94
|
-
```ts
|
|
95
|
-
declare const plan: backup.BackupPlan;
|
|
96
|
-
plan.addRule(backup.BackupPlanRule.daily());
|
|
97
|
-
plan.addRule(backup.BackupPlanRule.weekly());
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
By default a new [vault](#Backup-vault) is created when creating a plan.
|
|
101
|
-
It is also possible to specify a vault either at the plan level or at the
|
|
102
|
-
rule level.
|
|
103
|
-
|
|
104
|
-
```ts
|
|
105
|
-
const myVault = backup.BackupVault.fromBackupVaultName(this, 'Vault1', 'myVault');
|
|
106
|
-
const otherVault = backup.BackupVault.fromBackupVaultName(this, 'Vault2', 'otherVault');
|
|
107
|
-
|
|
108
|
-
const plan = backup.BackupPlan.daily35DayRetention(this, 'Plan', myVault); // Use `myVault` for all plan rules
|
|
109
|
-
plan.addRule(backup.BackupPlanRule.monthly1Year(otherVault)); // Use `otherVault` for this specific rule
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
You can [backup](https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html)
|
|
113
|
-
VSS-enabled Windows applications running on Amazon EC2 instances by setting the `windowsVss`
|
|
114
|
-
parameter to `true`. If the application has VSS writer registered with Windows VSS,
|
|
115
|
-
then AWS Backup creates a snapshot that will be consistent for that application.
|
|
116
|
-
|
|
117
|
-
```ts
|
|
118
|
-
const plan = new backup.BackupPlan(this, 'Plan', {
|
|
119
|
-
windowsVss: true,
|
|
120
|
-
});
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
## Backup vault
|
|
124
|
-
|
|
125
|
-
In AWS Backup, a *backup vault* is a container that you organize your backups in. You can use backup
|
|
126
|
-
vaults to set the AWS Key Management Service (AWS KMS) encryption key that is used to encrypt backups
|
|
127
|
-
in the backup vault and to control access to the backups in the backup vault. If you require different
|
|
128
|
-
encryption keys or access policies for different groups of backups, you can optionally create multiple
|
|
129
|
-
backup vaults.
|
|
130
|
-
|
|
131
|
-
```ts
|
|
132
|
-
const myKey = kms.Key.fromKeyArn(this, 'MyKey', 'aaa');
|
|
133
|
-
const myTopic = sns.Topic.fromTopicArn(this, 'MyTopic', 'bbb');
|
|
134
|
-
|
|
135
|
-
const vault = new backup.BackupVault(this, 'Vault', {
|
|
136
|
-
encryptionKey: myKey, // Custom encryption key
|
|
137
|
-
notificationTopic: myTopic, // Send all vault events to this SNS topic
|
|
138
|
-
});
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
A vault has a default `RemovalPolicy` set to `RETAIN`. Note that removing a vault
|
|
142
|
-
that contains recovery points will fail.
|
|
143
|
-
|
|
144
|
-
You can assign policies to backup vaults and the resources they contain. Assigning policies allows
|
|
145
|
-
you to do things like grant access to users to create backup plans and on-demand backups, but limit
|
|
146
|
-
their ability to delete recovery points after they're created.
|
|
147
|
-
|
|
148
|
-
Use the `accessPolicy` property to create a backup vault policy:
|
|
149
|
-
|
|
150
|
-
```ts
|
|
151
|
-
const vault = new backup.BackupVault(this, 'Vault', {
|
|
152
|
-
accessPolicy: new iam.PolicyDocument({
|
|
153
|
-
statements: [
|
|
154
|
-
new iam.PolicyStatement({
|
|
155
|
-
effect: iam.Effect.DENY,
|
|
156
|
-
principals: [new iam.AnyPrincipal()],
|
|
157
|
-
actions: ['backup:DeleteRecoveryPoint'],
|
|
158
|
-
resources: ['*'],
|
|
159
|
-
conditions: {
|
|
160
|
-
StringNotLike: {
|
|
161
|
-
'aws:userId': [
|
|
162
|
-
'user1',
|
|
163
|
-
'user2',
|
|
164
|
-
],
|
|
165
|
-
},
|
|
166
|
-
},
|
|
167
|
-
}),
|
|
168
|
-
],
|
|
169
|
-
}),
|
|
170
|
-
})
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
Alternativately statements can be added to the vault policy using `addToAccessPolicy()`.
|
|
174
|
-
|
|
175
|
-
Use the `blockRecoveryPointDeletion` property or the `blockRecoveryPointDeletion()` method to add
|
|
176
|
-
a statement to the vault access policy that prevents recovery point deletions in your vault:
|
|
177
|
-
|
|
178
|
-
```ts
|
|
179
|
-
new backup.BackupVault(this, 'Vault', {
|
|
180
|
-
blockRecoveryPointDeletion: true,
|
|
181
|
-
});
|
|
182
|
-
|
|
183
|
-
declare const backupVault: backup.BackupVault;
|
|
184
|
-
backupVault.blockRecoveryPointDeletion();
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
By default access is not restricted.
|
|
188
|
-
|
|
189
|
-
Use the `lockConfiguration` property to enable [AWS Backup Vault Lock](https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html):
|
|
190
|
-
|
|
191
|
-
```ts
|
|
192
|
-
new BackupVault(stack, 'Vault', {
|
|
193
|
-
lockConfiguration: {
|
|
194
|
-
minRetention: Duration.days(30),
|
|
195
|
-
},
|
|
196
|
-
});
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
## Importing existing backup vault
|
|
200
|
-
|
|
201
|
-
To import an existing backup vault into your CDK application, use the `BackupVault.fromBackupVaultArn` or `BackupVault.fromBackupVaultName`
|
|
202
|
-
static method. Here is an example of giving an IAM Role permission to start a backup job:
|
|
203
|
-
|
|
204
|
-
```ts
|
|
205
|
-
const importedVault = backup.BackupVault.fromBackupVaultName(this, 'Vault', 'myVaultName');
|
|
206
|
-
|
|
207
|
-
const role = new iam.Role(this, 'Access Role', { assumedBy: new iam.ServicePrincipal('lambda.amazonaws.com') });
|
|
208
|
-
|
|
209
|
-
importedVault.grant(role, 'backup:StartBackupJob');
|
|
210
|
-
```
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# AWS Batch Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
5
|
-
|
|
6
|
-
```ts nofixture
|
|
7
|
-
import * as batch from 'aws-cdk-lib/aws-batch';
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
11
|
-
|
|
12
|
-
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
13
|
-
|
|
14
|
-
- Search [Construct Hub for Batch construct libraries](https://constructs.dev/search?q=batch)
|
|
15
|
-
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Batch resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Batch.html) directly.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
> An experimental construct library for this service is available in preview. Since it is not stable yet, it is distributed
|
|
19
|
-
> as a separate package so that you can pin its version independently of the rest of the CDK. See the package:
|
|
20
|
-
>
|
|
21
|
-
> <span class="package-reference">@aws-cdk/aws-batch-alpha</span>
|
|
22
|
-
|
|
23
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
24
|
-
|
|
25
|
-
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
26
|
-
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
27
|
-
|
|
28
|
-
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Batch](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Batch.html).
|
|
29
|
-
|
|
30
|
-
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
31
|
-
|
|
32
|
-
<!--END CFNONLY DISCLAIMER-->
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# AWS::BillingConductor Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
5
|
-
|
|
6
|
-
```ts nofixture
|
|
7
|
-
import * as billingconductor from 'aws-cdk-lib/aws-billingconductor';
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
11
|
-
|
|
12
|
-
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
13
|
-
|
|
14
|
-
- Search [Construct Hub for BillingConductor construct libraries](https://constructs.dev/search?q=billingconductor)
|
|
15
|
-
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::BillingConductor resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_BillingConductor.html) directly.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
19
|
-
|
|
20
|
-
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
21
|
-
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
22
|
-
|
|
23
|
-
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::BillingConductor](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_BillingConductor.html).
|
|
24
|
-
|
|
25
|
-
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
26
|
-
|
|
27
|
-
<!--END CFNONLY DISCLAIMER-->
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# AWS Budgets Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
5
|
-
|
|
6
|
-
```ts nofixture
|
|
7
|
-
import * as budgets from 'aws-cdk-lib/aws-budgets';
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
11
|
-
|
|
12
|
-
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
13
|
-
|
|
14
|
-
- Search [Construct Hub for Budgets construct libraries](https://constructs.dev/search?q=budgets)
|
|
15
|
-
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Budgets resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Budgets.html) directly.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
19
|
-
|
|
20
|
-
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
21
|
-
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
22
|
-
|
|
23
|
-
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Budgets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Budgets.html).
|
|
24
|
-
|
|
25
|
-
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
26
|
-
|
|
27
|
-
<!--END CFNONLY DISCLAIMER-->
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# AWS::Cassandra Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
5
|
-
|
|
6
|
-
```ts nofixture
|
|
7
|
-
import * as cassandra from 'aws-cdk-lib/aws-cassandra';
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
11
|
-
|
|
12
|
-
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
13
|
-
|
|
14
|
-
- Search [Construct Hub for Cassandra construct libraries](https://constructs.dev/search?q=cassandra)
|
|
15
|
-
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Cassandra resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Cassandra.html) directly.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
19
|
-
|
|
20
|
-
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
21
|
-
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
22
|
-
|
|
23
|
-
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Cassandra](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Cassandra.html).
|
|
24
|
-
|
|
25
|
-
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
26
|
-
|
|
27
|
-
<!--END CFNONLY DISCLAIMER-->
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# AWS::CE Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
5
|
-
|
|
6
|
-
```ts nofixture
|
|
7
|
-
import * as ce from 'aws-cdk-lib/aws-ce';
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
11
|
-
|
|
12
|
-
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
13
|
-
|
|
14
|
-
- Search [Construct Hub for CE construct libraries](https://constructs.dev/search?q=ce)
|
|
15
|
-
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::CE resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CE.html) directly.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
19
|
-
|
|
20
|
-
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
21
|
-
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
22
|
-
|
|
23
|
-
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::CE](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CE.html).
|
|
24
|
-
|
|
25
|
-
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
26
|
-
|
|
27
|
-
<!--END CFNONLY DISCLAIMER-->
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
# AWS Certificate Manager Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
AWS Certificate Manager (ACM) handles the complexity of creating, storing, and renewing public and private SSL/TLS X.509 certificates and keys that
|
|
6
|
-
protect your AWS websites and applications. ACM certificates can secure singular domain names, multiple specific domain names, wildcard domains, or
|
|
7
|
-
combinations of these. ACM wildcard certificates can protect an unlimited number of subdomains.
|
|
8
|
-
|
|
9
|
-
This package provides Constructs for provisioning and referencing ACM certificates which can be used with CloudFront and ELB.
|
|
10
|
-
|
|
11
|
-
After requesting a certificate, you will need to prove that you own the
|
|
12
|
-
domain in question before the certificate will be granted. The CloudFormation
|
|
13
|
-
deployment will wait until this verification process has been completed.
|
|
14
|
-
|
|
15
|
-
Because of this wait time, when using manual validation methods, it's better
|
|
16
|
-
to provision your certificates either in a separate stack from your main
|
|
17
|
-
service, or provision them manually and import them into your CDK application.
|
|
18
|
-
|
|
19
|
-
**Note:** There is a limit on total number of ACM certificates that can be requested on an account and region within a year.
|
|
20
|
-
The default limit is 2000, but this limit may be (much) lower on new AWS accounts.
|
|
21
|
-
See https://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html for more information.
|
|
22
|
-
|
|
23
|
-
## DNS validation
|
|
24
|
-
|
|
25
|
-
DNS validation is the preferred method to validate domain ownership, as it has a number of advantages over email validation.
|
|
26
|
-
See also [Validate with DNS](https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html)
|
|
27
|
-
in the AWS Certificate Manager User Guide.
|
|
28
|
-
|
|
29
|
-
If Amazon Route 53 is your DNS provider for the requested domain, the DNS record can be
|
|
30
|
-
created automatically:
|
|
31
|
-
|
|
32
|
-
```ts
|
|
33
|
-
const myHostedZone = new route53.HostedZone(this, 'HostedZone', {
|
|
34
|
-
zoneName: 'example.com',
|
|
35
|
-
});
|
|
36
|
-
new acm.Certificate(this, 'Certificate', {
|
|
37
|
-
domainName: 'hello.example.com',
|
|
38
|
-
validation: acm.CertificateValidation.fromDns(myHostedZone),
|
|
39
|
-
});
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
If Route 53 is not your DNS provider, the DNS records must be added manually and the stack will not complete
|
|
43
|
-
creating until the records are added.
|
|
44
|
-
|
|
45
|
-
```ts
|
|
46
|
-
new acm.Certificate(this, 'Certificate', {
|
|
47
|
-
domainName: 'hello.example.com',
|
|
48
|
-
validation: acm.CertificateValidation.fromDns(), // Records must be added manually
|
|
49
|
-
});
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
When working with multiple domains, use the `CertificateValidation.fromDnsMultiZone()`:
|
|
53
|
-
|
|
54
|
-
```ts
|
|
55
|
-
const exampleCom = new route53.HostedZone(this, 'ExampleCom', {
|
|
56
|
-
zoneName: 'example.com',
|
|
57
|
-
});
|
|
58
|
-
const exampleNet = new route53.HostedZone(this, 'ExampleNet', {
|
|
59
|
-
zoneName: 'example.net',
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
const cert = new acm.Certificate(this, 'Certificate', {
|
|
63
|
-
domainName: 'test.example.com',
|
|
64
|
-
subjectAlternativeNames: ['cool.example.com', 'test.example.net'],
|
|
65
|
-
validation: acm.CertificateValidation.fromDnsMultiZone({
|
|
66
|
-
'test.example.com': exampleCom,
|
|
67
|
-
'cool.example.com': exampleCom,
|
|
68
|
-
'test.example.net': exampleNet,
|
|
69
|
-
}),
|
|
70
|
-
});
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
## Email validation
|
|
74
|
-
|
|
75
|
-
Email-validated certificates (the default) are validated by receiving an
|
|
76
|
-
email on one of a number of predefined domains and following the instructions
|
|
77
|
-
in the email.
|
|
78
|
-
|
|
79
|
-
See [Validate with Email](https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-email.html)
|
|
80
|
-
in the AWS Certificate Manager User Guide.
|
|
81
|
-
|
|
82
|
-
```ts
|
|
83
|
-
new acm.Certificate(this, 'Certificate', {
|
|
84
|
-
domainName: 'hello.example.com',
|
|
85
|
-
validation: acm.CertificateValidation.fromEmail(), // Optional, this is the default
|
|
86
|
-
});
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
## Cross-region Certificates
|
|
90
|
-
|
|
91
|
-
ACM certificates that are used with CloudFront -- or higher-level constructs which rely on CloudFront -- must be in the `us-east-1` region.
|
|
92
|
-
The `DnsValidatedCertificate` construct exists to facilitate creating these certificates cross-region. This resource can only be used with
|
|
93
|
-
Route53-based DNS validation.
|
|
94
|
-
|
|
95
|
-
```ts
|
|
96
|
-
declare const myHostedZone: route53.HostedZone;
|
|
97
|
-
new acm.DnsValidatedCertificate(this, 'CrossRegionCertificate', {
|
|
98
|
-
domainName: 'hello.example.com',
|
|
99
|
-
hostedZone: myHostedZone,
|
|
100
|
-
region: 'us-east-1',
|
|
101
|
-
});
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
## Requesting private certificates
|
|
105
|
-
|
|
106
|
-
AWS Certificate Manager can create [private certificates](https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html) issued by [Private Certificate Authority (PCA)](https://docs.aws.amazon.com/acm-pca/latest/userguide/PcaWelcome.html). Validation of private certificates is not necessary.
|
|
107
|
-
|
|
108
|
-
```ts
|
|
109
|
-
import * as acmpca from 'aws-cdk-lib/aws-acmpca';
|
|
110
|
-
|
|
111
|
-
new acm.PrivateCertificate(this, 'PrivateCertificate', {
|
|
112
|
-
domainName: 'test.example.com',
|
|
113
|
-
subjectAlternativeNames: ['cool.example.com', 'test.example.net'], // optional
|
|
114
|
-
certificateAuthority: acmpca.CertificateAuthority.fromCertificateAuthorityArn(this, 'CA',
|
|
115
|
-
'arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/023077d8-2bfa-4eb0-8f22-05c96deade77'),
|
|
116
|
-
});
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
## Requesting certificates without transparency logging
|
|
120
|
-
|
|
121
|
-
Transparency logging can be opted out of for AWS Certificate Manager certificates. See [opting out of certifiacte transparency logging](https://docs.aws.amazon.com/acm/latest/userguide/acm-bestpractices.html#best-practices-transparency) for limits.
|
|
122
|
-
|
|
123
|
-
```ts
|
|
124
|
-
new acm.Certificate(this, 'Certificate', {
|
|
125
|
-
domainName: 'test.example.com',
|
|
126
|
-
transparencyLoggingEnabled: false,
|
|
127
|
-
});
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
## Importing
|
|
131
|
-
|
|
132
|
-
If you want to import an existing certificate, you can do so from its ARN:
|
|
133
|
-
|
|
134
|
-
```ts
|
|
135
|
-
const arn = 'arn:aws:...';
|
|
136
|
-
const certificate = acm.Certificate.fromCertificateArn(this, 'Certificate', arn);
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
## Sharing between Stacks
|
|
140
|
-
|
|
141
|
-
To share the certificate between stacks in the same CDK application, simply
|
|
142
|
-
pass the `Certificate` object between the stacks.
|
|
143
|
-
|
|
144
|
-
## Metrics
|
|
145
|
-
|
|
146
|
-
The `DaysToExpiry` metric is available via the `metricDaysToExpiry` method for
|
|
147
|
-
all certificates. This metric is emitted by AWS Certificates Manager once per
|
|
148
|
-
day until the certificate has effectively expired.
|
|
149
|
-
|
|
150
|
-
An alarm can be created to determine whether a certificate is soon due for
|
|
151
|
-
renewal ussing the following code:
|
|
152
|
-
|
|
153
|
-
```ts
|
|
154
|
-
import * as cloudwatch from 'aws-cdk-lib/aws-cloudwatch';
|
|
155
|
-
|
|
156
|
-
declare const myHostedZone: route53.HostedZone;
|
|
157
|
-
const certificate = new acm.Certificate(this, 'Certificate', {
|
|
158
|
-
domainName: 'hello.example.com',
|
|
159
|
-
validation: acm.CertificateValidation.fromDns(myHostedZone),
|
|
160
|
-
});
|
|
161
|
-
certificate.metricDaysToExpiry().createAlarm(this, 'Alarm', {
|
|
162
|
-
comparisonOperator: cloudwatch.ComparisonOperator.LESS_THAN_THRESHOLD,
|
|
163
|
-
evaluationPeriods: 1,
|
|
164
|
-
threshold: 45, // Automatic rotation happens between 60 and 45 days before expiry
|
|
165
|
-
});
|
|
166
|
-
```
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Public suffix list obtained from https://publicsuffix.org/.
|
|
2
|
-
|
|
3
|
-
We build a lookup map that for 90% of the cases can return the probable intended apex domain.
|
|
4
|
-
|
|
5
|
-
We're ignoring Punycode on purpose.
|
|
6
|
-
|
|
7
|
-
Whenever you pull a new version of the .dat file, don't forget to run build-map.py.
|
|
8
|
-
Not integrated as part of the build because this file will change only very rarely.
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# AWS::Chatbot Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
AWS Chatbot is an AWS service that enables DevOps and software development teams to use Slack chat rooms to monitor and respond to operational events in their AWS Cloud. AWS Chatbot processes AWS service notifications from Amazon Simple Notification Service (Amazon SNS), and forwards them to Slack chat rooms so teams can analyze and act on them immediately, regardless of location.
|
|
5
|
-
|
|
6
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
7
|
-
|
|
8
|
-
```ts
|
|
9
|
-
import * as chatbot from 'aws-cdk-lib/aws-chatbot';
|
|
10
|
-
import * as sns from 'aws-cdk-lib/aws-sns';
|
|
11
|
-
import * as iam from 'aws-cdk-lib/aws-iam';
|
|
12
|
-
|
|
13
|
-
const slackChannel = new chatbot.SlackChannelConfiguration(this, 'MySlackChannel', {
|
|
14
|
-
slackChannelConfigurationName: 'YOUR_CHANNEL_NAME',
|
|
15
|
-
slackWorkspaceId: 'YOUR_SLACK_WORKSPACE_ID',
|
|
16
|
-
slackChannelId: 'YOUR_SLACK_CHANNEL_ID',
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
slackChannel.addToRolePolicy(new iam.PolicyStatement({
|
|
20
|
-
effect: iam.Effect.ALLOW,
|
|
21
|
-
actions: [
|
|
22
|
-
's3:GetObject',
|
|
23
|
-
],
|
|
24
|
-
resources: ['arn:aws:s3:::abc/xyz/123.txt'],
|
|
25
|
-
}));
|
|
26
|
-
|
|
27
|
-
slackChannel.addNotificationTopic(new sns.Topic(this, 'MyTopic'));
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Log Group
|
|
31
|
-
|
|
32
|
-
Slack channel configuration automatically create a log group with the name `/aws/chatbot/<configuration-name>` in `us-east-1` upon first execution with
|
|
33
|
-
log data set to never expire.
|
|
34
|
-
|
|
35
|
-
The `logRetention` property can be used to set a different expiration period. A log group will be created if not already exists.
|
|
36
|
-
If the log group already exists, it's expiration will be configured to the value specified in this construct (never expire, by default).
|
|
37
|
-
|
|
38
|
-
By default, CDK uses the AWS SDK retry options when interacting with the log group. The `logRetentionRetryOptions` property
|
|
39
|
-
allows you to customize the maximum number of retries and base backoff duration.
|
|
40
|
-
|
|
41
|
-
*Note* that, if `logRetention` is set, a [CloudFormation custom
|
|
42
|
-
resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html) is added
|
|
43
|
-
to the stack that pre-creates the log group as part of the stack deployment, if it already doesn't exist, and sets the
|
|
44
|
-
correct log retention period (never expire, by default).
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# AWS Cloud9 Construct Library
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
5
|
-
|
|
6
|
-
```ts nofixture
|
|
7
|
-
import * as cloud9 from 'aws-cdk-lib/aws-cloud9';
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
11
|
-
|
|
12
|
-
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
13
|
-
|
|
14
|
-
- Search [Construct Hub for Cloud9 construct libraries](https://constructs.dev/search?q=cloud9)
|
|
15
|
-
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Cloud9 resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Cloud9.html) directly.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
> An experimental construct library for this service is available in preview. Since it is not stable yet, it is distributed
|
|
19
|
-
> as a separate package so that you can pin its version independently of the rest of the CDK. See the package:
|
|
20
|
-
>
|
|
21
|
-
> <span class="package-reference">@aws-cdk/aws-cloud9-alpha</span>
|
|
22
|
-
|
|
23
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
24
|
-
|
|
25
|
-
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
26
|
-
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
27
|
-
|
|
28
|
-
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Cloud9](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Cloud9.html).
|
|
29
|
-
|
|
30
|
-
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
31
|
-
|
|
32
|
-
<!--END CFNONLY DISCLAIMER-->
|