@amaabca/aws-lex-custom-resources
Version:
AWS Lex infrastructure as code via the CDK
15 lines (14 loc) • 394 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class default_1 {
constructor(props) {
this.props = props;
}
definition() {
const { slotTypeName, ...rest } = this.props;
const configuration = { ...rest };
configuration['CR.slotTypeName'] = slotTypeName;
return configuration;
}
}
exports.default = default_1;