@aws-cdk/aws-ssm
Advanced tools
Comparing version 0.23.0 to 0.24.0
@@ -0,2 +1,3 @@ | ||
export * from './parameter'; | ||
export * from './parameter-store-string'; | ||
export * from './ssm.generated'; |
@@ -6,5 +6,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./parameter")); | ||
__export(require("./parameter-store-string")); | ||
// AWS::SSM CloudFormation Resources: | ||
__export(require("./ssm.generated")); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDhDQUF5QztBQUV6QyxxQ0FBcUM7QUFDckMscUNBQWdDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wYXJhbWV0ZXItc3RvcmUtc3RyaW5nJztcblxuLy8gQVdTOjpTU00gQ2xvdWRGb3JtYXRpb24gUmVzb3VyY2VzOlxuZXhwb3J0ICogZnJvbSAnLi9zc20uZ2VuZXJhdGVkJztcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGlDQUE0QjtBQUM1Qiw4Q0FBeUM7QUFFekMscUNBQXFDO0FBQ3JDLHFDQUFnQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcGFyYW1ldGVyJztcbmV4cG9ydCAqIGZyb20gJy4vcGFyYW1ldGVyLXN0b3JlLXN0cmluZyc7XG5cbi8vIEFXUzo6U1NNIENsb3VkRm9ybWF0aW9uIFJlc291cmNlczpcbmV4cG9ydCAqIGZyb20gJy4vc3NtLmdlbmVyYXRlZCc7XG4iXX0= |
@@ -146,3 +146,3 @@ import cdk = require('@aws-cdk/cdk'); | ||
*/ | ||
tags?: Array<cdk.Tag | cdk.Token> | cdk.Token; | ||
tags?: Array<cdk.CfnTag | cdk.Token> | cdk.Token; | ||
} | ||
@@ -159,2 +159,11 @@ /** | ||
/** | ||
* The ``TagManager`` handles setting, removing and formatting tags | ||
* | ||
* Tags should be managed either passing them as properties during | ||
* initiation or by calling methods on this object. If both techniques are | ||
* used only the tags from the TagManager will be used. ``Tag`` (aspect) | ||
* will use the manager. | ||
*/ | ||
readonly tags: cdk.TagManager; | ||
/** | ||
* Creates a new ``AWS::SSM::Document``. | ||
@@ -161,0 +170,0 @@ * |
{ | ||
"name": "@aws-cdk/aws-ssm", | ||
"version": "0.23.0", | ||
"version": "0.24.0", | ||
"description": "The CDK Construct Library for AWS::SSM", | ||
@@ -57,17 +57,34 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.23.0", | ||
"cdk-build-tools": "^0.23.0", | ||
"cfn2ts": "^0.23.0", | ||
"pkglint": "^0.23.0" | ||
"@aws-cdk/assert": "^0.24.0", | ||
"@aws-cdk/aws-iam": "^0.24.0", | ||
"cdk-build-tools": "^0.24.0", | ||
"cdk-integ-tools": "^0.24.0", | ||
"cfn2ts": "^0.24.0", | ||
"pkglint": "^0.24.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/cdk": "^0.23.0" | ||
"@aws-cdk/aws-iam": "^0.24.0", | ||
"@aws-cdk/cdk": "^0.24.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/cdk": "^0.23.0" | ||
"@aws-cdk/aws-iam": "^0.24.0", | ||
"@aws-cdk/cdk": "^0.24.0" | ||
}, | ||
"engines": { | ||
"node": ">= 8.10.0" | ||
}, | ||
"awslint": { | ||
"exclude": [ | ||
"export:@aws-cdk/aws-ssm.IParameter", | ||
"import-props-interface:@aws-cdk/aws-ssm.ParameterImportProps", | ||
"resource-attribute:@aws-cdk/aws-ssm.IParameter.parameterValue", | ||
"*:@aws-cdk/aws-ssm.Association", | ||
"*:@aws-cdk/aws-ssm.Document", | ||
"*:@aws-cdk/aws-ssm.MaintenanceWindow", | ||
"*:@aws-cdk/aws-ssm.MaintenanceWindowTask", | ||
"*:@aws-cdk/aws-ssm.PatchBaseline", | ||
"*:@aws-cdk/aws-ssm.ResourceDataSync" | ||
] | ||
} | ||
} | ||
} |
## The CDK Construct Library for AWS Systems Manager | ||
This module is part of the [AWS Cloud Development Kit](https://github.com/awslabs/aws-cdk) project. | ||
### Installation | ||
Install the module: | ||
```console | ||
$ npm i @aws-cdk/aws-ssm | ||
``` | ||
Import it into your code: | ||
```ts | ||
import ssm = require('@aws-cdk/aws-ssm'); | ||
``` | ||
### Creating SSM Parameters | ||
You can use either the `ssm.StringParameter` or `ssm.StringListParameter` (AWS CloudFormation does not support creating | ||
*Secret-String* SSM parameters, as those would require the secret value to be inlined in the template document) classes | ||
to register new SSM Parameters into your application: | ||
[creating SSM parameters](test/integ.parameter.lit.ts) | ||
When specifying an `allowedPattern`, the values provided as string literals are validated against the pattern and an | ||
exception is raised if a value provided does not comply. |
@@ -36,2 +36,5 @@ { | ||
{ | ||
"path": "../aws-iam" | ||
}, | ||
{ | ||
"path": "../cdk" | ||
@@ -38,0 +41,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
465129
27
2652
26
4
6
+ Added@aws-cdk/aws-iam@^0.24.0
+ Added@aws-cdk/aws-iam@0.24.1(transitive)
+ Added@aws-cdk/cdk@0.24.1(transitive)
+ Added@aws-cdk/cx-api@0.24.1(transitive)
- Removed@aws-cdk/cdk@0.23.0(transitive)
- Removed@aws-cdk/cx-api@0.23.0(transitive)
Updated@aws-cdk/cdk@^0.24.0