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

@aws-cdk/aws-dynamodb

Package Overview
Dependencies
Maintainers
5
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.26.0 to 0.27.0

64

lib/dynamodb.generated.d.ts

@@ -11,3 +11,3 @@ import cdk = require('@aws-cdk/cdk');

*/
keySchema: Array<CfnTable.KeySchemaProperty | cdk.Token> | cdk.Token;
readonly keySchema: Array<CfnTable.KeySchemaProperty | cdk.Token> | cdk.Token;
/**

@@ -17,3 +17,3 @@ * `AWS::DynamoDB::Table.AttributeDefinitions`

*/
attributeDefinitions?: Array<CfnTable.AttributeDefinitionProperty | cdk.Token> | cdk.Token;
readonly attributeDefinitions?: Array<CfnTable.AttributeDefinitionProperty | cdk.Token> | cdk.Token;
/**

@@ -23,3 +23,3 @@ * `AWS::DynamoDB::Table.BillingMode`

*/
billingMode?: string;
readonly billingMode?: string;
/**

@@ -29,3 +29,3 @@ * `AWS::DynamoDB::Table.GlobalSecondaryIndexes`

*/
globalSecondaryIndexes?: Array<CfnTable.GlobalSecondaryIndexProperty | cdk.Token> | cdk.Token;
readonly globalSecondaryIndexes?: Array<CfnTable.GlobalSecondaryIndexProperty | cdk.Token> | cdk.Token;
/**

@@ -35,3 +35,3 @@ * `AWS::DynamoDB::Table.LocalSecondaryIndexes`

*/
localSecondaryIndexes?: Array<CfnTable.LocalSecondaryIndexProperty | cdk.Token> | cdk.Token;
readonly localSecondaryIndexes?: Array<CfnTable.LocalSecondaryIndexProperty | cdk.Token> | cdk.Token;
/**

@@ -41,3 +41,3 @@ * `AWS::DynamoDB::Table.PointInTimeRecoverySpecification`

*/
pointInTimeRecoverySpecification?: CfnTable.PointInTimeRecoverySpecificationProperty | cdk.Token;
readonly pointInTimeRecoverySpecification?: CfnTable.PointInTimeRecoverySpecificationProperty | cdk.Token;
/**

@@ -47,3 +47,3 @@ * `AWS::DynamoDB::Table.ProvisionedThroughput`

*/
provisionedThroughput?: CfnTable.ProvisionedThroughputProperty | cdk.Token;
readonly provisionedThroughput?: CfnTable.ProvisionedThroughputProperty | cdk.Token;
/**

@@ -53,3 +53,3 @@ * `AWS::DynamoDB::Table.SSESpecification`

*/
sseSpecification?: CfnTable.SSESpecificationProperty | cdk.Token;
readonly sseSpecification?: CfnTable.SSESpecificationProperty | cdk.Token;
/**

@@ -59,3 +59,3 @@ * `AWS::DynamoDB::Table.StreamSpecification`

*/
streamSpecification?: CfnTable.StreamSpecificationProperty | cdk.Token;
readonly streamSpecification?: CfnTable.StreamSpecificationProperty | cdk.Token;
/**

@@ -65,3 +65,3 @@ * `AWS::DynamoDB::Table.TableName`

*/
tableName?: string;
readonly tableName?: string;
/**

@@ -71,3 +71,3 @@ * `AWS::DynamoDB::Table.Tags`

*/
tags?: cdk.CfnTag[];
readonly tags?: cdk.CfnTag[];
/**

@@ -77,3 +77,3 @@ * `AWS::DynamoDB::Table.TimeToLiveSpecification`

*/
timeToLiveSpecification?: CfnTable.TimeToLiveSpecificationProperty | cdk.Token;
readonly timeToLiveSpecification?: CfnTable.TimeToLiveSpecificationProperty | cdk.Token;
}

@@ -131,3 +131,3 @@ /**

*/
attributeName: string;
readonly attributeName: string;
/**

@@ -137,3 +137,3 @@ * `CfnTable.AttributeDefinitionProperty.AttributeType`

*/
attributeType: string;
readonly attributeType: string;
}

@@ -150,3 +150,3 @@ }

*/
indexName: string;
readonly indexName: string;
/**

@@ -156,3 +156,3 @@ * `CfnTable.GlobalSecondaryIndexProperty.KeySchema`

*/
keySchema: Array<CfnTable.KeySchemaProperty | cdk.Token> | cdk.Token;
readonly keySchema: Array<CfnTable.KeySchemaProperty | cdk.Token> | cdk.Token;
/**

@@ -162,3 +162,3 @@ * `CfnTable.GlobalSecondaryIndexProperty.Projection`

*/
projection: CfnTable.ProjectionProperty | cdk.Token;
readonly projection: CfnTable.ProjectionProperty | cdk.Token;
/**

@@ -168,3 +168,3 @@ * `CfnTable.GlobalSecondaryIndexProperty.ProvisionedThroughput`

*/
provisionedThroughput?: CfnTable.ProvisionedThroughputProperty | cdk.Token;
readonly provisionedThroughput?: CfnTable.ProvisionedThroughputProperty | cdk.Token;
}

@@ -181,3 +181,3 @@ }

*/
attributeName: string;
readonly attributeName: string;
/**

@@ -187,3 +187,3 @@ * `CfnTable.KeySchemaProperty.KeyType`

*/
keyType: string;
readonly keyType: string;
}

@@ -200,3 +200,3 @@ }

*/
indexName: string;
readonly indexName: string;
/**

@@ -206,3 +206,3 @@ * `CfnTable.LocalSecondaryIndexProperty.KeySchema`

*/
keySchema: Array<CfnTable.KeySchemaProperty | cdk.Token> | cdk.Token;
readonly keySchema: Array<CfnTable.KeySchemaProperty | cdk.Token> | cdk.Token;
/**

@@ -212,3 +212,3 @@ * `CfnTable.LocalSecondaryIndexProperty.Projection`

*/
projection: CfnTable.ProjectionProperty | cdk.Token;
readonly projection: CfnTable.ProjectionProperty | cdk.Token;
}

@@ -225,3 +225,3 @@ }

*/
pointInTimeRecoveryEnabled?: boolean | cdk.Token;
readonly pointInTimeRecoveryEnabled?: boolean | cdk.Token;
}

@@ -238,3 +238,3 @@ }

*/
nonKeyAttributes?: string[];
readonly nonKeyAttributes?: string[];
/**

@@ -244,3 +244,3 @@ * `CfnTable.ProjectionProperty.ProjectionType`

*/
projectionType?: string;
readonly projectionType?: string;
}

@@ -257,3 +257,3 @@ }

*/
readCapacityUnits: number | cdk.Token;
readonly readCapacityUnits: number | cdk.Token;
/**

@@ -263,3 +263,3 @@ * `CfnTable.ProvisionedThroughputProperty.WriteCapacityUnits`

*/
writeCapacityUnits: number | cdk.Token;
readonly writeCapacityUnits: number | cdk.Token;
}

@@ -276,3 +276,3 @@ }

*/
sseEnabled: boolean | cdk.Token;
readonly sseEnabled: boolean | cdk.Token;
}

@@ -289,3 +289,3 @@ }

*/
streamViewType: string;
readonly streamViewType: string;
}

@@ -302,3 +302,3 @@ }

*/
attributeName: string;
readonly attributeName: string;
/**

@@ -308,4 +308,4 @@ * `CfnTable.TimeToLiveSpecificationProperty.Enabled`

*/
enabled: boolean | cdk.Token;
readonly enabled: boolean | cdk.Token;
}
}

@@ -22,7 +22,7 @@ import appscaling = require('@aws-cdk/aws-applicationautoscaling');

*/
minCapacity: number;
readonly minCapacity: number;
/**
* Maximum capacity to scale to
*/
maxCapacity: number;
readonly maxCapacity: number;
}

@@ -36,3 +36,3 @@ /**

*/
targetUtilizationPercent: number;
readonly targetUtilizationPercent: number;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NhbGFibGUtYXR0cmlidXRlLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNjYWxhYmxlLWF0dHJpYnV0ZS1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBhcHBzY2FsaW5nID0gcmVxdWlyZSgnQGF3cy1jZGsvYXdzLWFwcGxpY2F0aW9uYXV0b3NjYWxpbmcnKTtcblxuLyoqXG4gKiBJbnRlcmZhY2UgZm9yIHNjYWxhYmxlIGF0dHJpYnV0ZXNcbiAqL1xuZXhwb3J0IGludGVyZmFjZSBJU2NhbGFibGVUYWJsZUF0dHJpYnV0ZSB7XG4gIC8qKlxuICAgKiBBZGQgc2NoZWR1bGVkIHNjYWxpbmcgZm9yIHRoaXMgc2NhbGluZyBhdHRyaWJ1dGVcbiAgICovXG4gIHNjYWxlT25TY2hlZHVsZShpZDogc3RyaW5nLCBhY3Rpb25zOiBhcHBzY2FsaW5nLlNjYWxpbmdTY2hlZHVsZSk6IHZvaWQ7XG5cbiAgLyoqXG4gICAqIFNjYWxlIG91dCBvciBpbiB0byBrZWVwIHV0aWxpemF0aW9uIGF0IGEgZ2l2ZW4gbGV2ZWxcbiAgICovXG4g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bmdQcm9wcyB7XG4gIC8qKlxuICAgKiBUYXJnZXQgdXRpbGl6YXRpb24gcGVyY2VudGFnZSBmb3IgdGhlIGF0dHJpYnV0ZVxuICAgKi9cbiAgcmVhZG9ubHkgdGFyZ2V0VXRpbGl6YXRpb25QZXJjZW50OiBudW1iZXI7XG59XG4iXX0=

@@ -8,7 +8,7 @@ import iam = require('@aws-cdk/aws-iam');

*/
name: string;
readonly name: string;
/**
* The data type of an attribute.
*/
type: AttributeType;
readonly type: AttributeType;
}

@@ -19,3 +19,3 @@ export interface TableProps {

*/
partitionKey: Attribute;
readonly partitionKey: Attribute;
/**

@@ -26,3 +26,3 @@ * Table sort key attribute definition.

*/
sortKey?: Attribute;
readonly sortKey?: Attribute;
/**

@@ -36,3 +36,3 @@ * The read capacity for the table. Careful if you add Global Secondary Indexes, as

*/
readCapacity?: number;
readonly readCapacity?: number;
/**

@@ -46,3 +46,3 @@ * The write capacity for the table. Careful if you add Global Secondary Indexes, as

*/
writeCapacity?: number;
readonly writeCapacity?: number;
/**

@@ -52,3 +52,3 @@ * Specify how you are charged for read and write throughput and how you manage capacity.

*/
billingMode?: BillingMode;
readonly billingMode?: BillingMode;
/**

@@ -58,3 +58,3 @@ * Enforces a particular physical table name.

*/
tableName?: string;
readonly tableName?: string;
/**

@@ -64,3 +64,3 @@ * Whether point-in-time recovery is enabled.

*/
pitrEnabled?: boolean;
readonly pitrEnabled?: boolean;
/**

@@ -70,3 +70,3 @@ * Whether server-side encryption with an AWS managed customer master key is enabled.

*/
sseEnabled?: boolean;
readonly sseEnabled?: boolean;
/**

@@ -77,3 +77,3 @@ * When an item in the table is modified, StreamViewType determines what information

*/
streamSpecification?: StreamViewType;
readonly streamSpecification?: StreamViewType;
/**

@@ -83,3 +83,3 @@ * The name of TTL attribute.

*/
ttlAttributeName?: string;
readonly ttlAttributeName?: string;
}

@@ -90,3 +90,3 @@ export interface SecondaryIndexProps {

*/
indexName: string;
readonly indexName: string;
/**

@@ -96,3 +96,3 @@ * The set of attributes that are projected into the secondary index.

*/
projectionType?: ProjectionType;
readonly projectionType?: ProjectionType;
/**

@@ -102,3 +102,3 @@ * The non-key attributes that are projected into the secondary index.

*/
nonKeyAttributes?: string[];
readonly nonKeyAttributes?: string[];
}

@@ -109,3 +109,3 @@ export interface GlobalSecondaryIndexProps extends SecondaryIndexProps {

*/
partitionKey: Attribute;
readonly partitionKey: Attribute;
/**

@@ -115,3 +115,3 @@ * The attribute of a sort key for the global secondary index.

*/
sortKey?: Attribute;
readonly sortKey?: Attribute;
/**

@@ -124,3 +124,3 @@ * The read capacity for the global secondary index.

*/
readCapacity?: number;
readonly readCapacity?: number;
/**

@@ -133,3 +133,3 @@ * The write capacity for the global secondary index.

*/
writeCapacity?: number;
readonly writeCapacity?: number;
}

@@ -140,3 +140,3 @@ export interface LocalSecondaryIndexProps extends SecondaryIndexProps {

*/
sortKey: Attribute;
readonly sortKey: Attribute;
}

@@ -143,0 +143,0 @@ /**

{
"name": "@aws-cdk/aws-dynamodb",
"version": "0.26.0",
"version": "0.27.0",
"description": "CDK Constructs for AWS DynamoDB",

@@ -23,3 +23,7 @@ "main": "lib/index.js",

},
"sphinx": {}
"sphinx": {},
"python": {
"distName": "aws-cdk.aws-dynamodb",
"module": "aws_cdk.aws_dynamodb"
}
}

@@ -58,18 +62,18 @@ },

"devDependencies": {
"@aws-cdk/assert": "^0.26.0",
"cdk-build-tools": "^0.26.0",
"cdk-integ-tools": "^0.26.0",
"cfn2ts": "^0.26.0",
"pkglint": "^0.26.0"
"@aws-cdk/assert": "^0.27.0",
"cdk-build-tools": "^0.27.0",
"cdk-integ-tools": "^0.27.0",
"cfn2ts": "^0.27.0",
"pkglint": "^0.27.0"
},
"dependencies": {
"@aws-cdk/aws-applicationautoscaling": "^0.26.0",
"@aws-cdk/aws-iam": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
"@aws-cdk/aws-applicationautoscaling": "^0.27.0",
"@aws-cdk/aws-iam": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-applicationautoscaling": "^0.26.0",
"@aws-cdk/aws-iam": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
"@aws-cdk/aws-applicationautoscaling": "^0.27.0",
"@aws-cdk/aws-iam": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0"
},

@@ -76,0 +80,0 @@ "engines": {

@@ -25,2 +25,3 @@ {

"strictNullChecks": true,
"stripInternal": true,
"target": "ES2018",

@@ -27,0 +28,0 @@ "composite": true

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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