@nolanrigo/cloudformation
Version:
TypeScript-based imperative way to define AWS CloudFormation templates
105 lines (104 loc) • 3.96 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var resource_1 = require("../../resource");
var SSESpecification = /** @class */ (function () {
function SSESpecification(properties) {
Object.assign(this, properties);
}
return SSESpecification;
}());
exports.SSESpecification = SSESpecification;
var LocalSecondaryIndex = /** @class */ (function () {
function LocalSecondaryIndex(properties) {
Object.assign(this, properties);
}
return LocalSecondaryIndex;
}());
exports.LocalSecondaryIndex = LocalSecondaryIndex;
var GlobalSecondaryIndex = /** @class */ (function () {
function GlobalSecondaryIndex(properties) {
Object.assign(this, properties);
}
return GlobalSecondaryIndex;
}());
exports.GlobalSecondaryIndex = GlobalSecondaryIndex;
var TimeToLiveSpecification = /** @class */ (function () {
function TimeToLiveSpecification(properties) {
Object.assign(this, properties);
}
return TimeToLiveSpecification;
}());
exports.TimeToLiveSpecification = TimeToLiveSpecification;
var AttributeDefinition = /** @class */ (function () {
function AttributeDefinition(properties) {
Object.assign(this, properties);
}
return AttributeDefinition;
}());
exports.AttributeDefinition = AttributeDefinition;
var PointInTimeRecoverySpecification = /** @class */ (function () {
function PointInTimeRecoverySpecification(properties) {
Object.assign(this, properties);
}
return PointInTimeRecoverySpecification;
}());
exports.PointInTimeRecoverySpecification = PointInTimeRecoverySpecification;
var Projection = /** @class */ (function () {
function Projection(properties) {
Object.assign(this, properties);
}
return Projection;
}());
exports.Projection = Projection;
var ProvisionedThroughput = /** @class */ (function () {
function ProvisionedThroughput(properties) {
Object.assign(this, properties);
}
return ProvisionedThroughput;
}());
exports.ProvisionedThroughput = ProvisionedThroughput;
var KeySchema = /** @class */ (function () {
function KeySchema(properties) {
Object.assign(this, properties);
}
return KeySchema;
}());
exports.KeySchema = KeySchema;
var StreamSpecification = /** @class */ (function () {
function StreamSpecification(properties) {
Object.assign(this, properties);
}
return StreamSpecification;
}());
exports.StreamSpecification = StreamSpecification;
var Inner_Table = /** @class */ (function (_super) {
__extends(Inner_Table, _super);
function Inner_Table(properties) {
return _super.call(this, "AWS::DynamoDB::Table", properties) || this;
}
Inner_Table.SSESpecification = SSESpecification;
Inner_Table.LocalSecondaryIndex = LocalSecondaryIndex;
Inner_Table.GlobalSecondaryIndex = GlobalSecondaryIndex;
Inner_Table.TimeToLiveSpecification = TimeToLiveSpecification;
Inner_Table.AttributeDefinition = AttributeDefinition;
Inner_Table.PointInTimeRecoverySpecification = PointInTimeRecoverySpecification;
Inner_Table.Projection = Projection;
Inner_Table.ProvisionedThroughput = ProvisionedThroughput;
Inner_Table.KeySchema = KeySchema;
Inner_Table.StreamSpecification = StreamSpecification;
return Inner_Table;
}(resource_1.ResourceBase));
exports.default = Inner_Table;