cdk-ssm-secure-iam-access-key
Version:
Creates an IAM Access Key for a provided IAM User and stores the result in an SSM SecureString Parameter
15 lines (14 loc) • 450 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.awsExpectUnion = void 0;
const smithy_client_1 = require("@smithy/smithy-client");
const awsExpectUnion = (value) => {
if (value == null) {
return undefined;
}
if (typeof value === "object" && "__type" in value) {
delete value.__type;
}
return (0, smithy_client_1.expectUnion)(value);
};
exports.awsExpectUnion = awsExpectUnion;
;