Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/aws-kinesis

Package Overview
Dependencies
Maintainers
4
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-kinesis - npm Package Compare versions

Comparing version 0.18.1 to 0.19.0

59

lib/kinesis.generated.d.ts

@@ -77,1 +77,60 @@ import cdk = require('@aws-cdk/cdk');

}
export declare namespace cloudformation {
/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html
*/
interface StreamConsumerResourceProps {
/**
* ``AWS::Kinesis::StreamConsumer.ConsumerName``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html#cfn-kinesis-streamconsumer-consumername
*/
consumerName: string | cdk.Token;
/**
* ``AWS::Kinesis::StreamConsumer.StreamARN``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html#cfn-kinesis-streamconsumer-streamarn
*/
streamArn: string | cdk.Token;
}
/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html
*/
class StreamConsumerResource extends cdk.Resource {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly resourceTypeName = "AWS::Kinesis::StreamConsumer";
/**
* @cloudformation_attribute ConsumerARN
*/
readonly streamConsumerConsumerArn: string;
/**
* @cloudformation_attribute ConsumerCreationTimestamp
*/
readonly streamConsumerConsumerCreationTimestamp: string;
/**
* @cloudformation_attribute ConsumerName
*/
readonly streamConsumerConsumerName: string;
/**
* @cloudformation_attribute ConsumerStatus
*/
readonly streamConsumerConsumerStatus: string;
/**
* @cloudformation_attribute StreamARN
*/
readonly streamConsumerStreamArn: string;
readonly streamConsumerArn: string;
/**
* Creates a new ``AWS::Kinesis::StreamConsumer``.
*
* @param parent the ``cdk.Construct`` this ``StreamConsumerResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param properties the properties of this ``StreamConsumerResource``
*/
constructor(parent: cdk.Construct, name: string, properties: StreamConsumerResourceProps);
readonly propertyOverrides: StreamConsumerResourceProps;
protected renderProperties(properties: any): {
[key: string]: any;
};
}
}

75

lib/kinesis.generated.js

@@ -5,3 +5,3 @@ "use strict";

// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2018-11-21T12:25:46.783Z","fingerprint":"0sQkCFEDSrMQB6EJQknR5rzG2c5oaVLsISuxD48Z0F8="}
// @cfn2ts:meta@ {"generated":"2018-12-04T11:59:46.127Z","fingerprint":"W+O+yvspL4araT8o+AFcorivTXUNXIxvyvvvWfPLjdI="}
Object.defineProperty(exports, "__esModule", { value: true });

@@ -117,2 +117,73 @@ // tslint:disable:max-line-length | This is generated code - line lengths are difficult to control

})(cloudformation = exports.cloudformation || (exports.cloudformation = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2luZXNpcy5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJraW5lc2lzLmdlbmVyYXRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsK0VBQStFO0FBQy9FLCtEQUErRDtBQUMvRCw4RkFBOEY7QUFDOUYsc0hBQXNIOztBQUV0SCxrR0FBa0c7QUFFbEcsb0NBQXFDO0FBRXJDLElBQWlCLGNBQWMsQ0E2SjlCO0FBN0pELFdBQWlCLGNBQWM7SUFnQzNCOzs7Ozs7T0FNRztJQUNILFNBQVMsNEJBQTRCLENBQUMsVUFBZTtRQUNqRCxJQUFJLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQyxVQUFVLENBQUMsRUFBRTtZQUFFLE9BQU8sR0FBRyxDQUFDLGtCQUFrQixDQUFDO1NBQUU7UUFDbkUsTU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cGVydGllczsgfVxuICAgICAgICBTdHJlYW1SZXNvdXJjZV9TdHJlYW1FbmNyeXB0aW9uUHJvcGVydHlWYWxpZGF0b3IocHJvcGVydGllcykuYXNzZXJ0U3VjY2VzcygpO1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgIEVuY3J5cHRpb25UeXBlOiBjZGsuc3RyaW5nVG9DbG91ZEZvcm1hdGlvbihwcm9wZXJ0aWVzLmVuY3J5cHRpb25UeXBlKSxcbiAgICAgICAgICBLZXlJZDogY2RrLnN0cmluZ1RvQ2xvdWRGb3JtYXRpb24ocHJvcGVydGllcy5rZXlJZCksXG4gICAgICAgIH07XG4gICAgfVxufVxuIl19
(function (cloudformation) {
/**
* Determine whether the given properties match those of a ``StreamConsumerResourceProps``
*
* @param properties the TypeScript properties of a ``StreamConsumerResourceProps``
*
* @returns the result of the validation.
*/
function StreamConsumerResourcePropsValidator(properties) {
if (!cdk.canInspect(properties)) {
return cdk.VALIDATION_SUCCESS;
}
const errors = new cdk.ValidationResults();
errors.collect(cdk.propertyValidator('consumerName', cdk.requiredValidator)(properties.consumerName));
errors.collect(cdk.propertyValidator('consumerName', cdk.validateString)(properties.consumerName));
errors.collect(cdk.propertyValidator('streamArn', cdk.requiredValidator)(properties.streamArn));
errors.collect(cdk.propertyValidator('streamArn', cdk.validateString)(properties.streamArn));
return errors.wrap('supplied properties not correct for "StreamConsumerResourceProps"');
}
/**
* Renders the AWS CloudFormation properties of an ``AWS::Kinesis::StreamConsumer`` resource
*
* @param properties the TypeScript properties of a ``StreamConsumerResourceProps``
*
* @returns the AWS CloudFormation properties of an ``AWS::Kinesis::StreamConsumer`` resource.
*/
function streamConsumerResourcePropsToCloudFormation(properties) {
if (!cdk.canInspect(properties)) {
return properties;
}
StreamConsumerResourcePropsValidator(properties).assertSuccess();
return {
ConsumerName: cdk.stringToCloudFormation(properties.consumerName),
StreamARN: cdk.stringToCloudFormation(properties.streamArn),
};
}
/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-streamconsumer.html
*/
class StreamConsumerResource extends cdk.Resource {
/**
* Creates a new ``AWS::Kinesis::StreamConsumer``.
*
* @param parent the ``cdk.Construct`` this ``StreamConsumerResource`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param properties the properties of this ``StreamConsumerResource``
*/
constructor(parent, name, properties) {
super(parent, name, { type: StreamConsumerResource.resourceTypeName, properties });
cdk.requireProperty(properties, 'consumerName', this);
cdk.requireProperty(properties, 'streamArn', this);
this.streamConsumerConsumerArn = this.getAtt('ConsumerARN').toString();
this.streamConsumerConsumerCreationTimestamp = this.getAtt('ConsumerCreationTimestamp').toString();
this.streamConsumerConsumerName = this.getAtt('ConsumerName').toString();
this.streamConsumerConsumerStatus = this.getAtt('ConsumerStatus').toString();
this.streamConsumerStreamArn = this.getAtt('StreamARN').toString();
this.streamConsumerArn = this.ref.toString();
}
get propertyOverrides() {
return this.untypedPropertyOverrides;
}
renderProperties(properties) {
return streamConsumerResourcePropsToCloudFormation(cdk.resolve(properties));
}
}
/**
* The CloudFormation resource type name for this resource class.
*/
StreamConsumerResource.resourceTypeName = "AWS::Kinesis::StreamConsumer";
cloudformation.StreamConsumerResource = StreamConsumerResource;
})(cloudformation = exports.cloudformation || (exports.cloudformation = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2luZXNpcy5nZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJraW5lc2lzLmdlbmVyYXRlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsK0VBQStFO0FBQy9FLCtEQUErRDtBQUMvRCw4RkFBOEY7QUFDOUYsc0hBQXNIOztBQUV0SCxrR0FBa0c7QUFFbEcsb0NBQXFDO0FBRXJDLElBQWlCLGNBQWMsQ0E2SjlCO0FBN0pELFdBQWlCLGNBQWM7SUFnQzNCOzs7Ozs7T0FNRztJQUNILFNBQ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ICAgICAgICAgKiBAY2xvdWRmb3JtYXRpb25fYXR0cmlidXRlIENvbnN1bWVyQ3JlYXRpb25UaW1lc3RhbXBcbiAgICAgICAgICovXG4gICAgICAgIHB1YmxpYyByZWFkb25seSBzdHJlYW1Db25zdW1lckNvbnN1bWVyQ3JlYXRpb25UaW1lc3RhbXA6IHN0cmluZztcblxuICAgICAgICAvKipcbiAgICAgICAgICogQGNsb3VkZm9ybWF0aW9uX2F0dHJpYnV0ZSBDb25zdW1lck5hbWVcbiAgICAgICAgICovXG4gICAgICAgIHB1YmxpYyByZWFkb25seSBzdHJlYW1Db25zdW1lckNvbnN1bWVyTmFtZTogc3RyaW5nO1xuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBAY2xvdWRmb3JtYXRpb25fYXR0cmlidXRlIENvbnN1bWVyU3RhdHVzXG4gICAgICAgICAqL1xuICAgICAgICBwdWJsaWMgcmVhZG9ubHkgc3RyZWFtQ29uc3VtZXJDb25zdW1lclN0YXR1czogc3RyaW5nO1xuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBAY2xvdWRmb3JtYXRpb25fYXR0cmlidXRlIFN0cmVhbUFSTlxuICAgICAgICAgKi9cbiAgICAgICAgcHVibGljIHJlYWRvbmx5IHN0cmVhbUNvbnN1bWVyU3RyZWFtQXJuOiBzdHJpbmc7XG4gICAgICAgIHB1YmxpYyByZWFkb25seSBzdHJlYW1Db25zdW1lckFybjogc3RyaW5nO1xuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBDcmVhdGVzIGEgbmV3IGBgQVdTOjpLaW5lc2lzOjpTdHJlYW1Db25zdW1lcmBgLlxuICAgICAgICAgKlxuICAgICAgICAgKiBAcGFyYW0gcGFyZW50ICAgdGhlIGBgY2RrLkNvbnN0cnVjdGBgIHRoaXMgYGBTdHJlYW1Db25zdW1lclJlc291cmNlYGAgaXMgYSBwYXJ0IG9mXG4gICAgICAgICAqIEBwYXJhbSBuYW1lICAgICB0aGUgbmFtZSBvZiB0aGU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JTdGF0dXMnKS50b1N0cmluZygpO1xuICAgICAgICAgICAgdGhpcy5zdHJlYW1Db25zdW1lclN0cmVhbUFybiA9IHRoaXMuZ2V0QXR0KCdTdHJlYW1BUk4nKS50b1N0cmluZygpO1xuICAgICAgICAgICAgdGhpcy5zdHJlYW1Db25zdW1lckFybiA9IHRoaXMucmVmLnRvU3RyaW5nKCk7XG4gICAgICAgIH1cblxuICAgICAgICBwdWJsaWMgZ2V0IHByb3BlcnR5T3ZlcnJpZGVzKCk6IFN0cmVhbUNvbnN1bWVyUmVzb3VyY2VQcm9wcyB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy51bnR5cGVkUHJvcGVydHlPdmVycmlkZXM7XG4gICAgICAgIH1cbiAgICAgICAgcHJvdGVjdGVkIHJlbmRlclByb3BlcnRpZXMocHJvcGVydGllczogYW55KTogeyBba2V5OiBzdHJpbmddOiBhbnkgfSAge1xuICAgICAgICAgICAgcmV0dXJuIHN0cmVhbUNvbnN1bWVyUmVzb3VyY2VQcm9wc1RvQ2xvdWRGb3JtYXRpb24oY2RrLnJlc29sdmUocHJvcGVydGllcykpO1xuICAgICAgICB9XG4gICAgfVxufVxuIl19

26

package.json
{
"name": "@aws-cdk/aws-kinesis",
"version": "0.18.1",
"version": "0.19.0",
"description": "CDK Constructs for AWS Kinesis",

@@ -54,20 +54,20 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.18.1",
"cdk-build-tools": "^0.18.1",
"cfn2ts": "^0.18.1",
"pkglint": "^0.18.1"
"@aws-cdk/assert": "^0.19.0",
"cdk-build-tools": "^0.19.0",
"cfn2ts": "^0.19.0",
"pkglint": "^0.19.0"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.18.1",
"@aws-cdk/aws-kms": "^0.18.1",
"@aws-cdk/aws-logs": "^0.18.1",
"@aws-cdk/cdk": "^0.18.1"
"@aws-cdk/aws-iam": "^0.19.0",
"@aws-cdk/aws-kms": "^0.19.0",
"@aws-cdk/aws-logs": "^0.19.0",
"@aws-cdk/cdk": "^0.19.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-iam": "^0.18.1",
"@aws-cdk/aws-kms": "^0.18.1",
"@aws-cdk/aws-logs": "^0.18.1",
"@aws-cdk/cdk": "^0.18.1"
"@aws-cdk/aws-iam": "^0.19.0",
"@aws-cdk/aws-kms": "^0.19.0",
"@aws-cdk/aws-logs": "^0.19.0",
"@aws-cdk/cdk": "^0.19.0"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc