aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
16 lines (15 loc) • 655 B
TypeScript
import { CustomClaimOperator, CustomClaimValueType } from './types';
/**
* Builds the CloudFormation claim match value object.
* Caller is responsible for validation before calling this.
* @internal
*/
export declare function buildClaimMatchValue(valueType: CustomClaimValueType, operator: CustomClaimOperator, value: string | string[]): {
matchValueString?: string;
matchValueStringList?: string[];
};
/**
* Renders a full custom claim property object for CloudFormation.
* @internal
*/
export declare function renderCustomClaim(name: string, valueType: CustomClaimValueType, operator: CustomClaimOperator, value: string | string[]): any;