aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
2 lines • 138 kB
JavaScript
"use strict";var _a,_b,_c,_d,_e,_f,_g,_h;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnPrivacyBudgetTemplate=exports.CfnIdNamespaceAssociation=exports.CfnIdMappingTable=exports.CfnMembership=exports.CfnConfiguredTableAssociation=exports.CfnConfiguredTable=exports.CfnCollaboration=exports.CfnAnalysisTemplate=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var cdk=()=>{var tmp=require("../../core");return cdk=()=>tmp,tmp},cfn_parse=()=>{var tmp=require("../../core/lib/helpers-internal");return cfn_parse=()=>tmp,tmp};class CfnAnalysisTemplate extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnAnalysisTemplatePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnAnalysisTemplate(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnAnalysisTemplate.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_cleanrooms_CfnAnalysisTemplateProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnAnalysisTemplate),error}cdk().requireProperty(props,"format",this),cdk().requireProperty(props,"membershipIdentifier",this),cdk().requireProperty(props,"name",this),cdk().requireProperty(props,"source",this),this.attrAnalysisTemplateIdentifier=cdk().Token.asString(this.getAtt("AnalysisTemplateIdentifier",cdk().ResolutionTypeHint.STRING)),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrCollaborationArn=cdk().Token.asString(this.getAtt("CollaborationArn",cdk().ResolutionTypeHint.STRING)),this.attrCollaborationIdentifier=cdk().Token.asString(this.getAtt("CollaborationIdentifier",cdk().ResolutionTypeHint.STRING)),this.attrMembershipArn=cdk().Token.asString(this.getAtt("MembershipArn",cdk().ResolutionTypeHint.STRING)),this.attrSchema=this.getAtt("Schema"),this.attrSchemaReferencedTables=cdk().Token.asList(this.getAtt("Schema.ReferencedTables",cdk().ResolutionTypeHint.STRING_LIST)),this.analysisParameters=props.analysisParameters,this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::CleanRooms::AnalysisTemplate",void 0,{tagPropertyName:"tags"}),this.description=props.description,this.format=props.format,this.membershipIdentifier=props.membershipIdentifier,this.name=props.name,this.source=props.source,this.tags=props.tags}get cfnProperties(){return{analysisParameters:this.analysisParameters,tags:this.cdkTagManager.renderTags(this.tags),description:this.description,format:this.format,membershipIdentifier:this.membershipIdentifier,name:this.name,source:this.source}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnAnalysisTemplate.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnAnalysisTemplatePropsToCloudFormation(props)}}exports.CfnAnalysisTemplate=CfnAnalysisTemplate,_a=JSII_RTTI_SYMBOL_1,CfnAnalysisTemplate[_a]={fqn:"aws-cdk-lib.aws_cleanrooms.CfnAnalysisTemplate",version:"2.159.1"},CfnAnalysisTemplate.CFN_RESOURCE_TYPE_NAME="AWS::CleanRooms::AnalysisTemplate";function CfnAnalysisTemplateAnalysisParameterPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("defaultValue",cdk().validateString)(properties.defaultValue)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("type",cdk().requiredValidator)(properties.type)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "AnalysisParameterProperty"')}function convertCfnAnalysisTemplateAnalysisParameterPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnAnalysisTemplateAnalysisParameterPropertyValidator(properties).assertSuccess(),{DefaultValue:cdk().stringToCloudFormation(properties.defaultValue),Name:cdk().stringToCloudFormation(properties.name),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnAnalysisTemplateAnalysisParameterPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("defaultValue","DefaultValue",properties.DefaultValue!=null?cfn_parse().FromCloudFormation.getString(properties.DefaultValue):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnAnalysisTemplateAnalysisSourcePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("text",cdk().requiredValidator)(properties.text)),errors.collect(cdk().propertyValidator("text",cdk().validateString)(properties.text)),errors.wrap('supplied properties not correct for "AnalysisSourceProperty"')}function convertCfnAnalysisTemplateAnalysisSourcePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnAnalysisTemplateAnalysisSourcePropertyValidator(properties).assertSuccess(),{Text:cdk().stringToCloudFormation(properties.text)}):properties}function CfnAnalysisTemplateAnalysisSourcePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("text","Text",properties.Text!=null?cfn_parse().FromCloudFormation.getString(properties.Text):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnAnalysisTemplateAnalysisSchemaPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("referencedTables",cdk().requiredValidator)(properties.referencedTables)),errors.collect(cdk().propertyValidator("referencedTables",cdk().listValidator(cdk().validateString))(properties.referencedTables)),errors.wrap('supplied properties not correct for "AnalysisSchemaProperty"')}function convertCfnAnalysisTemplateAnalysisSchemaPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnAnalysisTemplateAnalysisSchemaPropertyValidator(properties).assertSuccess(),{ReferencedTables:cdk().listMapper(cdk().stringToCloudFormation)(properties.referencedTables)}):properties}function CfnAnalysisTemplateAnalysisSchemaPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("referencedTables","ReferencedTables",properties.ReferencedTables!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.ReferencedTables):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnAnalysisTemplatePropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("analysisParameters",cdk().listValidator(CfnAnalysisTemplateAnalysisParameterPropertyValidator))(properties.analysisParameters)),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("format",cdk().requiredValidator)(properties.format)),errors.collect(cdk().propertyValidator("format",cdk().validateString)(properties.format)),errors.collect(cdk().propertyValidator("membershipIdentifier",cdk().requiredValidator)(properties.membershipIdentifier)),errors.collect(cdk().propertyValidator("membershipIdentifier",cdk().validateString)(properties.membershipIdentifier)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("source",cdk().requiredValidator)(properties.source)),errors.collect(cdk().propertyValidator("source",CfnAnalysisTemplateAnalysisSourcePropertyValidator)(properties.source)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnAnalysisTemplateProps"')}function convertCfnAnalysisTemplatePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnAnalysisTemplatePropsValidator(properties).assertSuccess(),{AnalysisParameters:cdk().listMapper(convertCfnAnalysisTemplateAnalysisParameterPropertyToCloudFormation)(properties.analysisParameters),Description:cdk().stringToCloudFormation(properties.description),Format:cdk().stringToCloudFormation(properties.format),MembershipIdentifier:cdk().stringToCloudFormation(properties.membershipIdentifier),Name:cdk().stringToCloudFormation(properties.name),Source:convertCfnAnalysisTemplateAnalysisSourcePropertyToCloudFormation(properties.source),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnAnalysisTemplatePropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("analysisParameters","AnalysisParameters",properties.AnalysisParameters!=null?cfn_parse().FromCloudFormation.getArray(CfnAnalysisTemplateAnalysisParameterPropertyFromCloudFormation)(properties.AnalysisParameters):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("format","Format",properties.Format!=null?cfn_parse().FromCloudFormation.getString(properties.Format):void 0),ret.addPropertyResult("membershipIdentifier","MembershipIdentifier",properties.MembershipIdentifier!=null?cfn_parse().FromCloudFormation.getString(properties.MembershipIdentifier):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("source","Source",properties.Source!=null?CfnAnalysisTemplateAnalysisSourcePropertyFromCloudFormation(properties.Source):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnCollaboration extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnCollaborationPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnCollaboration(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnCollaboration.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_cleanrooms_CfnCollaborationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnCollaboration),error}cdk().requireProperty(props,"creatorDisplayName",this),cdk().requireProperty(props,"creatorMemberAbilities",this),cdk().requireProperty(props,"description",this),cdk().requireProperty(props,"members",this),cdk().requireProperty(props,"name",this),cdk().requireProperty(props,"queryLogStatus",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrCollaborationIdentifier=cdk().Token.asString(this.getAtt("CollaborationIdentifier",cdk().ResolutionTypeHint.STRING)),this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::CleanRooms::Collaboration",void 0,{tagPropertyName:"tags"}),this.creatorDisplayName=props.creatorDisplayName,this.creatorMemberAbilities=props.creatorMemberAbilities,this.creatorPaymentConfiguration=props.creatorPaymentConfiguration,this.dataEncryptionMetadata=props.dataEncryptionMetadata,this.description=props.description,this.members=props.members,this.name=props.name,this.queryLogStatus=props.queryLogStatus,this.tags=props.tags}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this.tags),creatorDisplayName:this.creatorDisplayName,creatorMemberAbilities:this.creatorMemberAbilities,creatorPaymentConfiguration:this.creatorPaymentConfiguration,dataEncryptionMetadata:this.dataEncryptionMetadata,description:this.description,members:this.members,name:this.name,queryLogStatus:this.queryLogStatus}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnCollaboration.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnCollaborationPropsToCloudFormation(props)}}exports.CfnCollaboration=CfnCollaboration,_b=JSII_RTTI_SYMBOL_1,CfnCollaboration[_b]={fqn:"aws-cdk-lib.aws_cleanrooms.CfnCollaboration",version:"2.159.1"},CfnCollaboration.CFN_RESOURCE_TYPE_NAME="AWS::CleanRooms::Collaboration";function CfnCollaborationDataEncryptionMetadataPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("allowCleartext",cdk().requiredValidator)(properties.allowCleartext)),errors.collect(cdk().propertyValidator("allowCleartext",cdk().validateBoolean)(properties.allowCleartext)),errors.collect(cdk().propertyValidator("allowDuplicates",cdk().requiredValidator)(properties.allowDuplicates)),errors.collect(cdk().propertyValidator("allowDuplicates",cdk().validateBoolean)(properties.allowDuplicates)),errors.collect(cdk().propertyValidator("allowJoinsOnColumnsWithDifferentNames",cdk().requiredValidator)(properties.allowJoinsOnColumnsWithDifferentNames)),errors.collect(cdk().propertyValidator("allowJoinsOnColumnsWithDifferentNames",cdk().validateBoolean)(properties.allowJoinsOnColumnsWithDifferentNames)),errors.collect(cdk().propertyValidator("preserveNulls",cdk().requiredValidator)(properties.preserveNulls)),errors.collect(cdk().propertyValidator("preserveNulls",cdk().validateBoolean)(properties.preserveNulls)),errors.wrap('supplied properties not correct for "DataEncryptionMetadataProperty"')}function convertCfnCollaborationDataEncryptionMetadataPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCollaborationDataEncryptionMetadataPropertyValidator(properties).assertSuccess(),{AllowCleartext:cdk().booleanToCloudFormation(properties.allowCleartext),AllowDuplicates:cdk().booleanToCloudFormation(properties.allowDuplicates),AllowJoinsOnColumnsWithDifferentNames:cdk().booleanToCloudFormation(properties.allowJoinsOnColumnsWithDifferentNames),PreserveNulls:cdk().booleanToCloudFormation(properties.preserveNulls)}):properties}function CfnCollaborationDataEncryptionMetadataPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("allowCleartext","AllowCleartext",properties.AllowCleartext!=null?cfn_parse().FromCloudFormation.getBoolean(properties.AllowCleartext):void 0),ret.addPropertyResult("allowDuplicates","AllowDuplicates",properties.AllowDuplicates!=null?cfn_parse().FromCloudFormation.getBoolean(properties.AllowDuplicates):void 0),ret.addPropertyResult("allowJoinsOnColumnsWithDifferentNames","AllowJoinsOnColumnsWithDifferentNames",properties.AllowJoinsOnColumnsWithDifferentNames!=null?cfn_parse().FromCloudFormation.getBoolean(properties.AllowJoinsOnColumnsWithDifferentNames):void 0),ret.addPropertyResult("preserveNulls","PreserveNulls",properties.PreserveNulls!=null?cfn_parse().FromCloudFormation.getBoolean(properties.PreserveNulls):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCollaborationQueryComputePaymentConfigPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("isResponsible",cdk().requiredValidator)(properties.isResponsible)),errors.collect(cdk().propertyValidator("isResponsible",cdk().validateBoolean)(properties.isResponsible)),errors.wrap('supplied properties not correct for "QueryComputePaymentConfigProperty"')}function convertCfnCollaborationQueryComputePaymentConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCollaborationQueryComputePaymentConfigPropertyValidator(properties).assertSuccess(),{IsResponsible:cdk().booleanToCloudFormation(properties.isResponsible)}):properties}function CfnCollaborationQueryComputePaymentConfigPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("isResponsible","IsResponsible",properties.IsResponsible!=null?cfn_parse().FromCloudFormation.getBoolean(properties.IsResponsible):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCollaborationPaymentConfigurationPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("queryCompute",cdk().requiredValidator)(properties.queryCompute)),errors.collect(cdk().propertyValidator("queryCompute",CfnCollaborationQueryComputePaymentConfigPropertyValidator)(properties.queryCompute)),errors.wrap('supplied properties not correct for "PaymentConfigurationProperty"')}function convertCfnCollaborationPaymentConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCollaborationPaymentConfigurationPropertyValidator(properties).assertSuccess(),{QueryCompute:convertCfnCollaborationQueryComputePaymentConfigPropertyToCloudFormation(properties.queryCompute)}):properties}function CfnCollaborationPaymentConfigurationPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("queryCompute","QueryCompute",properties.QueryCompute!=null?CfnCollaborationQueryComputePaymentConfigPropertyFromCloudFormation(properties.QueryCompute):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCollaborationMemberSpecificationPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("accountId",cdk().requiredValidator)(properties.accountId)),errors.collect(cdk().propertyValidator("accountId",cdk().validateString)(properties.accountId)),errors.collect(cdk().propertyValidator("displayName",cdk().requiredValidator)(properties.displayName)),errors.collect(cdk().propertyValidator("displayName",cdk().validateString)(properties.displayName)),errors.collect(cdk().propertyValidator("memberAbilities",cdk().requiredValidator)(properties.memberAbilities)),errors.collect(cdk().propertyValidator("memberAbilities",cdk().listValidator(cdk().validateString))(properties.memberAbilities)),errors.collect(cdk().propertyValidator("paymentConfiguration",CfnCollaborationPaymentConfigurationPropertyValidator)(properties.paymentConfiguration)),errors.wrap('supplied properties not correct for "MemberSpecificationProperty"')}function convertCfnCollaborationMemberSpecificationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCollaborationMemberSpecificationPropertyValidator(properties).assertSuccess(),{AccountId:cdk().stringToCloudFormation(properties.accountId),DisplayName:cdk().stringToCloudFormation(properties.displayName),MemberAbilities:cdk().listMapper(cdk().stringToCloudFormation)(properties.memberAbilities),PaymentConfiguration:convertCfnCollaborationPaymentConfigurationPropertyToCloudFormation(properties.paymentConfiguration)}):properties}function CfnCollaborationMemberSpecificationPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("accountId","AccountId",properties.AccountId!=null?cfn_parse().FromCloudFormation.getString(properties.AccountId):void 0),ret.addPropertyResult("displayName","DisplayName",properties.DisplayName!=null?cfn_parse().FromCloudFormation.getString(properties.DisplayName):void 0),ret.addPropertyResult("memberAbilities","MemberAbilities",properties.MemberAbilities!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.MemberAbilities):void 0),ret.addPropertyResult("paymentConfiguration","PaymentConfiguration",properties.PaymentConfiguration!=null?CfnCollaborationPaymentConfigurationPropertyFromCloudFormation(properties.PaymentConfiguration):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCollaborationPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("creatorDisplayName",cdk().requiredValidator)(properties.creatorDisplayName)),errors.collect(cdk().propertyValidator("creatorDisplayName",cdk().validateString)(properties.creatorDisplayName)),errors.collect(cdk().propertyValidator("creatorMemberAbilities",cdk().requiredValidator)(properties.creatorMemberAbilities)),errors.collect(cdk().propertyValidator("creatorMemberAbilities",cdk().listValidator(cdk().validateString))(properties.creatorMemberAbilities)),errors.collect(cdk().propertyValidator("creatorPaymentConfiguration",CfnCollaborationPaymentConfigurationPropertyValidator)(properties.creatorPaymentConfiguration)),errors.collect(cdk().propertyValidator("dataEncryptionMetadata",CfnCollaborationDataEncryptionMetadataPropertyValidator)(properties.dataEncryptionMetadata)),errors.collect(cdk().propertyValidator("description",cdk().requiredValidator)(properties.description)),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("members",cdk().requiredValidator)(properties.members)),errors.collect(cdk().propertyValidator("members",cdk().listValidator(CfnCollaborationMemberSpecificationPropertyValidator))(properties.members)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("queryLogStatus",cdk().requiredValidator)(properties.queryLogStatus)),errors.collect(cdk().propertyValidator("queryLogStatus",cdk().validateString)(properties.queryLogStatus)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnCollaborationProps"')}function convertCfnCollaborationPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCollaborationPropsValidator(properties).assertSuccess(),{CreatorDisplayName:cdk().stringToCloudFormation(properties.creatorDisplayName),CreatorMemberAbilities:cdk().listMapper(cdk().stringToCloudFormation)(properties.creatorMemberAbilities),CreatorPaymentConfiguration:convertCfnCollaborationPaymentConfigurationPropertyToCloudFormation(properties.creatorPaymentConfiguration),DataEncryptionMetadata:convertCfnCollaborationDataEncryptionMetadataPropertyToCloudFormation(properties.dataEncryptionMetadata),Description:cdk().stringToCloudFormation(properties.description),Members:cdk().listMapper(convertCfnCollaborationMemberSpecificationPropertyToCloudFormation)(properties.members),Name:cdk().stringToCloudFormation(properties.name),QueryLogStatus:cdk().stringToCloudFormation(properties.queryLogStatus),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnCollaborationPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("creatorDisplayName","CreatorDisplayName",properties.CreatorDisplayName!=null?cfn_parse().FromCloudFormation.getString(properties.CreatorDisplayName):void 0),ret.addPropertyResult("creatorMemberAbilities","CreatorMemberAbilities",properties.CreatorMemberAbilities!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.CreatorMemberAbilities):void 0),ret.addPropertyResult("creatorPaymentConfiguration","CreatorPaymentConfiguration",properties.CreatorPaymentConfiguration!=null?CfnCollaborationPaymentConfigurationPropertyFromCloudFormation(properties.CreatorPaymentConfiguration):void 0),ret.addPropertyResult("dataEncryptionMetadata","DataEncryptionMetadata",properties.DataEncryptionMetadata!=null?CfnCollaborationDataEncryptionMetadataPropertyFromCloudFormation(properties.DataEncryptionMetadata):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("members","Members",properties.Members!=null?cfn_parse().FromCloudFormation.getArray(CfnCollaborationMemberSpecificationPropertyFromCloudFormation)(properties.Members):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("queryLogStatus","QueryLogStatus",properties.QueryLogStatus!=null?cfn_parse().FromCloudFormation.getString(properties.QueryLogStatus):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnConfiguredTable extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnConfiguredTablePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnConfiguredTable(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnConfiguredTable.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_cleanrooms_CfnConfiguredTableProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnConfiguredTable),error}cdk().requireProperty(props,"allowedColumns",this),cdk().requireProperty(props,"analysisMethod",this),cdk().requireProperty(props,"name",this),cdk().requireProperty(props,"tableReference",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrConfiguredTableIdentifier=cdk().Token.asString(this.getAtt("ConfiguredTableIdentifier",cdk().ResolutionTypeHint.STRING)),this.allowedColumns=props.allowedColumns,this.analysisMethod=props.analysisMethod,this.analysisRules=props.analysisRules,this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::CleanRooms::ConfiguredTable",void 0,{tagPropertyName:"tags"}),this.description=props.description,this.name=props.name,this.tableReference=props.tableReference,this.tags=props.tags}get cfnProperties(){return{allowedColumns:this.allowedColumns,analysisMethod:this.analysisMethod,analysisRules:this.analysisRules,tags:this.cdkTagManager.renderTags(this.tags),description:this.description,name:this.name,tableReference:this.tableReference}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnConfiguredTable.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnConfiguredTablePropsToCloudFormation(props)}}exports.CfnConfiguredTable=CfnConfiguredTable,_c=JSII_RTTI_SYMBOL_1,CfnConfiguredTable[_c]={fqn:"aws-cdk-lib.aws_cleanrooms.CfnConfiguredTable",version:"2.159.1"},CfnConfiguredTable.CFN_RESOURCE_TYPE_NAME="AWS::CleanRooms::ConfiguredTable";function CfnConfiguredTableGlueTableReferencePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("databaseName",cdk().requiredValidator)(properties.databaseName)),errors.collect(cdk().propertyValidator("databaseName",cdk().validateString)(properties.databaseName)),errors.collect(cdk().propertyValidator("tableName",cdk().requiredValidator)(properties.tableName)),errors.collect(cdk().propertyValidator("tableName",cdk().validateString)(properties.tableName)),errors.wrap('supplied properties not correct for "GlueTableReferenceProperty"')}function convertCfnConfiguredTableGlueTableReferencePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableGlueTableReferencePropertyValidator(properties).assertSuccess(),{DatabaseName:cdk().stringToCloudFormation(properties.databaseName),TableName:cdk().stringToCloudFormation(properties.tableName)}):properties}function CfnConfiguredTableGlueTableReferencePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("databaseName","DatabaseName",properties.DatabaseName!=null?cfn_parse().FromCloudFormation.getString(properties.DatabaseName):void 0),ret.addPropertyResult("tableName","TableName",properties.TableName!=null?cfn_parse().FromCloudFormation.getString(properties.TableName):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableTableReferencePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("glue",cdk().requiredValidator)(properties.glue)),errors.collect(cdk().propertyValidator("glue",CfnConfiguredTableGlueTableReferencePropertyValidator)(properties.glue)),errors.wrap('supplied properties not correct for "TableReferenceProperty"')}function convertCfnConfiguredTableTableReferencePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableTableReferencePropertyValidator(properties).assertSuccess(),{Glue:convertCfnConfiguredTableGlueTableReferencePropertyToCloudFormation(properties.glue)}):properties}function CfnConfiguredTableTableReferencePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("glue","Glue",properties.Glue!=null?CfnConfiguredTableGlueTableReferencePropertyFromCloudFormation(properties.Glue):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAggregationConstraintPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("columnName",cdk().requiredValidator)(properties.columnName)),errors.collect(cdk().propertyValidator("columnName",cdk().validateString)(properties.columnName)),errors.collect(cdk().propertyValidator("minimum",cdk().requiredValidator)(properties.minimum)),errors.collect(cdk().propertyValidator("minimum",cdk().validateNumber)(properties.minimum)),errors.collect(cdk().propertyValidator("type",cdk().requiredValidator)(properties.type)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "AggregationConstraintProperty"')}function convertCfnConfiguredTableAggregationConstraintPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAggregationConstraintPropertyValidator(properties).assertSuccess(),{ColumnName:cdk().stringToCloudFormation(properties.columnName),Minimum:cdk().numberToCloudFormation(properties.minimum),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnConfiguredTableAggregationConstraintPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("columnName","ColumnName",properties.ColumnName!=null?cfn_parse().FromCloudFormation.getString(properties.ColumnName):void 0),ret.addPropertyResult("minimum","Minimum",properties.Minimum!=null?cfn_parse().FromCloudFormation.getNumber(properties.Minimum):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAggregateColumnPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("columnNames",cdk().requiredValidator)(properties.columnNames)),errors.collect(cdk().propertyValidator("columnNames",cdk().listValidator(cdk().validateString))(properties.columnNames)),errors.collect(cdk().propertyValidator("function",cdk().requiredValidator)(properties.function)),errors.collect(cdk().propertyValidator("function",cdk().validateString)(properties.function)),errors.wrap('supplied properties not correct for "AggregateColumnProperty"')}function convertCfnConfiguredTableAggregateColumnPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAggregateColumnPropertyValidator(properties).assertSuccess(),{ColumnNames:cdk().listMapper(cdk().stringToCloudFormation)(properties.columnNames),Function:cdk().stringToCloudFormation(properties.function)}):properties}function CfnConfiguredTableAggregateColumnPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("columnNames","ColumnNames",properties.ColumnNames!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.ColumnNames):void 0),ret.addPropertyResult("function","Function",properties.Function!=null?cfn_parse().FromCloudFormation.getString(properties.Function):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAnalysisRuleAggregationPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("additionalAnalyses",cdk().validateString)(properties.additionalAnalyses)),errors.collect(cdk().propertyValidator("aggregateColumns",cdk().requiredValidator)(properties.aggregateColumns)),errors.collect(cdk().propertyValidator("aggregateColumns",cdk().listValidator(CfnConfiguredTableAggregateColumnPropertyValidator))(properties.aggregateColumns)),errors.collect(cdk().propertyValidator("allowedJoinOperators",cdk().listValidator(cdk().validateString))(properties.allowedJoinOperators)),errors.collect(cdk().propertyValidator("dimensionColumns",cdk().requiredValidator)(properties.dimensionColumns)),errors.collect(cdk().propertyValidator("dimensionColumns",cdk().listValidator(cdk().validateString))(properties.dimensionColumns)),errors.collect(cdk().propertyValidator("joinColumns",cdk().requiredValidator)(properties.joinColumns)),errors.collect(cdk().propertyValidator("joinColumns",cdk().listValidator(cdk().validateString))(properties.joinColumns)),errors.collect(cdk().propertyValidator("joinRequired",cdk().validateString)(properties.joinRequired)),errors.collect(cdk().propertyValidator("outputConstraints",cdk().requiredValidator)(properties.outputConstraints)),errors.collect(cdk().propertyValidator("outputConstraints",cdk().listValidator(CfnConfiguredTableAggregationConstraintPropertyValidator))(properties.outputConstraints)),errors.collect(cdk().propertyValidator("scalarFunctions",cdk().requiredValidator)(properties.scalarFunctions)),errors.collect(cdk().propertyValidator("scalarFunctions",cdk().listValidator(cdk().validateString))(properties.scalarFunctions)),errors.wrap('supplied properties not correct for "AnalysisRuleAggregationProperty"')}function convertCfnConfiguredTableAnalysisRuleAggregationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAnalysisRuleAggregationPropertyValidator(properties).assertSuccess(),{AdditionalAnalyses:cdk().stringToCloudFormation(properties.additionalAnalyses),AggregateColumns:cdk().listMapper(convertCfnConfiguredTableAggregateColumnPropertyToCloudFormation)(properties.aggregateColumns),AllowedJoinOperators:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedJoinOperators),DimensionColumns:cdk().listMapper(cdk().stringToCloudFormation)(properties.dimensionColumns),JoinColumns:cdk().listMapper(cdk().stringToCloudFormation)(properties.joinColumns),JoinRequired:cdk().stringToCloudFormation(properties.joinRequired),OutputConstraints:cdk().listMapper(convertCfnConfiguredTableAggregationConstraintPropertyToCloudFormation)(properties.outputConstraints),ScalarFunctions:cdk().listMapper(cdk().stringToCloudFormation)(properties.scalarFunctions)}):properties}function CfnConfiguredTableAnalysisRuleAggregationPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("additionalAnalyses","AdditionalAnalyses",properties.AdditionalAnalyses!=null?cfn_parse().FromCloudFormation.getString(properties.AdditionalAnalyses):void 0),ret.addPropertyResult("aggregateColumns","AggregateColumns",properties.AggregateColumns!=null?cfn_parse().FromCloudFormation.getArray(CfnConfiguredTableAggregateColumnPropertyFromCloudFormation)(properties.AggregateColumns):void 0),ret.addPropertyResult("allowedJoinOperators","AllowedJoinOperators",properties.AllowedJoinOperators!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedJoinOperators):void 0),ret.addPropertyResult("dimensionColumns","DimensionColumns",properties.DimensionColumns!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.DimensionColumns):void 0),ret.addPropertyResult("joinColumns","JoinColumns",properties.JoinColumns!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.JoinColumns):void 0),ret.addPropertyResult("joinRequired","JoinRequired",properties.JoinRequired!=null?cfn_parse().FromCloudFormation.getString(properties.JoinRequired):void 0),ret.addPropertyResult("outputConstraints","OutputConstraints",properties.OutputConstraints!=null?cfn_parse().FromCloudFormation.getArray(CfnConfiguredTableAggregationConstraintPropertyFromCloudFormation)(properties.OutputConstraints):void 0),ret.addPropertyResult("scalarFunctions","ScalarFunctions",properties.ScalarFunctions!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.ScalarFunctions):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAnalysisRuleListPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("additionalAnalyses",cdk().validateString)(properties.additionalAnalyses)),errors.collect(cdk().propertyValidator("allowedJoinOperators",cdk().listValidator(cdk().validateString))(properties.allowedJoinOperators)),errors.collect(cdk().propertyValidator("joinColumns",cdk().requiredValidator)(properties.joinColumns)),errors.collect(cdk().propertyValidator("joinColumns",cdk().listValidator(cdk().validateString))(properties.joinColumns)),errors.collect(cdk().propertyValidator("listColumns",cdk().requiredValidator)(properties.listColumns)),errors.collect(cdk().propertyValidator("listColumns",cdk().listValidator(cdk().validateString))(properties.listColumns)),errors.wrap('supplied properties not correct for "AnalysisRuleListProperty"')}function convertCfnConfiguredTableAnalysisRuleListPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAnalysisRuleListPropertyValidator(properties).assertSuccess(),{AdditionalAnalyses:cdk().stringToCloudFormation(properties.additionalAnalyses),AllowedJoinOperators:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedJoinOperators),JoinColumns:cdk().listMapper(cdk().stringToCloudFormation)(properties.joinColumns),ListColumns:cdk().listMapper(cdk().stringToCloudFormation)(properties.listColumns)}):properties}function CfnConfiguredTableAnalysisRuleListPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("additionalAnalyses","AdditionalAnalyses",properties.AdditionalAnalyses!=null?cfn_parse().FromCloudFormation.getString(properties.AdditionalAnalyses):void 0),ret.addPropertyResult("allowedJoinOperators","AllowedJoinOperators",properties.AllowedJoinOperators!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedJoinOperators):void 0),ret.addPropertyResult("joinColumns","JoinColumns",properties.JoinColumns!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.JoinColumns):void 0),ret.addPropertyResult("listColumns","ListColumns",properties.ListColumns!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.ListColumns):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableDifferentialPrivacyColumnPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.wrap('supplied properties not correct for "DifferentialPrivacyColumnProperty"')}function convertCfnConfiguredTableDifferentialPrivacyColumnPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableDifferentialPrivacyColumnPropertyValidator(properties).assertSuccess(),{Name:cdk().stringToCloudFormation(properties.name)}):properties}function CfnConfiguredTableDifferentialPrivacyColumnPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableDifferentialPrivacyPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("columns",cdk().requiredValidator)(properties.columns)),errors.collect(cdk().propertyValidator("columns",cdk().listValidator(CfnConfiguredTableDifferentialPrivacyColumnPropertyValidator))(properties.columns)),errors.wrap('supplied properties not correct for "DifferentialPrivacyProperty"')}function convertCfnConfiguredTableDifferentialPrivacyPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableDifferentialPrivacyPropertyValidator(properties).assertSuccess(),{Columns:cdk().listMapper(convertCfnConfiguredTableDifferentialPrivacyColumnPropertyToCloudFormation)(properties.columns)}):properties}function CfnConfiguredTableDifferentialPrivacyPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("columns","Columns",properties.Columns!=null?cfn_parse().FromCloudFormation.getArray(CfnConfiguredTableDifferentialPrivacyColumnPropertyFromCloudFormation)(properties.Columns):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAnalysisRuleCustomPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("additionalAnalyses",cdk().validateString)(properties.additionalAnalyses)),errors.collect(cdk().propertyValidator("allowedAnalyses",cdk().requiredValidator)(properties.allowedAnalyses)),errors.collect(cdk().propertyValidator("allowedAnalyses",cdk().listValidator(cdk().validateString))(properties.allowedAnalyses)),errors.collect(cdk().propertyValidator("allowedAnalysisProviders",cdk().listValidator(cdk().validateString))(properties.allowedAnalysisProviders)),errors.collect(cdk().propertyValidator("differentialPrivacy",CfnConfiguredTableDifferentialPrivacyPropertyValidator)(properties.differentialPrivacy)),errors.collect(cdk().propertyValidator("disallowedOutputColumns",cdk().listValidator(cdk().validateString))(properties.disallowedOutputColumns)),errors.wrap('supplied properties not correct for "AnalysisRuleCustomProperty"')}function convertCfnConfiguredTableAnalysisRuleCustomPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAnalysisRuleCustomPropertyValidator(properties).assertSuccess(),{AdditionalAnalyses:cdk().stringToCloudFormation(properties.additionalAnalyses),AllowedAnalyses:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedAnalyses),AllowedAnalysisProviders:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedAnalysisProviders),DifferentialPrivacy:convertCfnConfiguredTableDifferentialPrivacyPropertyToCloudFormation(properties.differentialPrivacy),DisallowedOutputColumns:cdk().listMapper(cdk().stringToCloudFormation)(properties.disallowedOutputColumns)}):properties}function CfnConfiguredTableAnalysisRuleCustomPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("additionalAnalyses","AdditionalAnalyses",properties.AdditionalAnalyses!=null?cfn_parse().FromCloudFormation.getString(properties.AdditionalAnalyses):void 0),ret.addPropertyResult("allowedAnalyses","AllowedAnalyses",properties.AllowedAnalyses!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedAnalyses):void 0),ret.addPropertyResult("allowedAnalysisProviders","AllowedAnalysisProviders",properties.AllowedAnalysisProviders!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedAnalysisProviders):void 0),ret.addPropertyResult("differentialPrivacy","DifferentialPrivacy",properties.DifferentialPrivacy!=null?CfnConfiguredTableDifferentialPrivacyPropertyFromCloudFormation(properties.DifferentialPrivacy):void 0),ret.addPropertyResult("disallowedOutputColumns","DisallowedOutputColumns",properties.DisallowedOutputColumns!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.DisallowedOutputColumns):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableConfiguredTableAnalysisRulePolicyV1PropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("aggregation",CfnConfiguredTableAnalysisRuleAggregationPropertyValidator)(properties.aggregation)),errors.collect(cdk().propertyValidator("custom",CfnConfiguredTableAnalysisRuleCustomPropertyValidator)(properties.custom)),errors.collect(cdk().propertyValidator("list",CfnConfiguredTableAnalysisRuleListPropertyValidator)(properties.list)),errors.wrap('supplied properties not correct for "ConfiguredTableAnalysisRulePolicyV1Property"')}function convertCfnConfiguredTableConfiguredTableAnalysisRulePolicyV1PropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableConfiguredTableAnalysisRulePolicyV1PropertyValidator(properties).assertSuccess(),{Aggregation:convertCfnConfiguredTableAnalysisRuleAggregationPropertyToCloudFormation(properties.aggregation),Custom:convertCfnConfiguredTableAnalysisRuleCustomPropertyToCloudFormation(properties.custom),List:convertCfnConfiguredTableAnalysisRuleListPropertyToCloudFormation(properties.list)}):properties}function CfnConfiguredTableConfiguredTableAnalysisRulePolicyV1PropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("aggregation","Aggregation",properties.Aggregation!=null?CfnConfiguredTableAnalysisRuleAggregationPropertyFromCloudFormation(properties.Aggregation):void 0),ret.addPropertyResult("custom","Custom",properties.Custom!=null?CfnConfiguredTableAnalysisRuleCustomPropertyFromCloudFormation(properties.Custom):void 0),ret.addPropertyResult("list","List",properties.List!=null?CfnConfiguredTableAnalysisRuleListPropertyFromCloudFormation(properties.List):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableConfiguredTableAnalysisRulePolicyPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("v1",cdk().requiredValidator)(properties.v1)),errors.collect(cdk().propertyValidator("v1",CfnConfiguredTableConfiguredTableAnalysisRulePolicyV1PropertyValidator)(properties.v1)),errors.wrap('supplied properties not correct for "ConfiguredTableAnalysisRulePolicyProperty"')}function convertCfnConfiguredTableConfiguredTableAnalysisRulePolicyPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableConfiguredTableAnalysisRulePolicyPropertyValidator(properties).assertSuccess(),{V1:convertCfnConfiguredTableConfiguredTableAnalysisRulePolicyV1PropertyToCloudFormation(properties.v1)}):properties}function CfnConfiguredTableConfiguredTableAnalysisRulePolicyPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("v1","V1",properties.V1!=null?CfnConfiguredTableConfiguredTableAnalysisRulePolicyV1PropertyFromCloudFormation(properties.V1):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAnalysisRulePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("policy",cdk().requiredValidator)(properties.policy)),errors.collect(cdk().propertyValidator("policy",CfnConfiguredTableConfiguredTableAnalysisRulePolicyPropertyValidator)(properties.policy)),errors.collect(cdk().propertyValidator("type",cdk().requiredValidator)(properties.type)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "AnalysisRuleProperty"')}function convertCfnConfiguredTableAnalysisRulePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAnalysisRulePropertyValidator(properties).assertSuccess(),{Policy:convertCfnConfiguredTableConfiguredTableAnalysisRulePolicyPropertyToCloudFormation(properties.policy),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnConfiguredTableAnalysisRulePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("policy","Policy",properties.Policy!=null?CfnConfiguredTableConfiguredTableAnalysisRulePolicyPropertyFromCloudFormation(properties.Policy):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTablePropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("allowedColumns",cdk().requiredValidator)(properties.allowedColumns)),errors.collect(cdk().propertyValidator("allowedColumns",cdk().listValidator(cdk().validateString))(properties.allowedColumns)),errors.collect(cdk().propertyValidator("analysisMethod",cdk().requiredValidator)(properties.analysisMethod)),errors.collect(cdk().propertyValidator("analysisMethod",cdk().validateString)(properties.analysisMethod)),errors.collect(cdk().propertyValidator("analysisRules",cdk().listValidator(CfnConfiguredTableAnalysisRulePropertyValidator))(properties.analysisRules)),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("tableReference",cdk().requiredValidator)(properties.tableReference)),errors.collect(cdk().propertyValidator("tableReference",CfnConfiguredTableTableReferencePropertyValidator)(properties.tableReference)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnConfiguredTableProps"')}function convertCfnConfiguredTablePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTablePropsValidator(properties).assertSuccess(),{AllowedColumns:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedColumns),AnalysisMethod:cdk().stringToCloudFormation(properties.analysisMethod),AnalysisRules:cdk().listMapper(convertCfnConfiguredTableAnalysisRulePropertyToCloudFormation)(properties.analysisRules),Description:cdk().stringToCloudFormation(properties.description),Name:cdk().stringToCloudFormation(properties.name),TableReference:convertCfnConfiguredTableTableReferencePropertyToCloudFormation(properties.tableReference),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnConfiguredTablePropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("allowedColumns","AllowedColumns",properties.AllowedColumns!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedColumns):void 0),ret.addPropertyResult("analysisMethod","AnalysisMethod",properties.AnalysisMethod!=null?cfn_parse().FromCloudFormation.getString(properties.AnalysisMethod):void 0),ret.addPropertyResult("analysisRules","AnalysisRules",properties.AnalysisRules!=null?cfn_parse().FromCloudFormation.getArray(CfnConfiguredTableAnalysisRulePropertyFromCloudFormation)(properties.AnalysisRules):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("tableReference","TableReference",properties.TableReference!=null?CfnConfiguredTableTableReferencePropertyFromCloudFormation(properties.TableReference):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnConfiguredTableAssociation extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnConfiguredTableAssociationPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnConfiguredTableAssociation(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnConfiguredTableAssociation.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_cleanrooms_CfnConfiguredTableAssociationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnConfiguredTableAssociation),error}cdk().requireProperty(props,"configuredTableIdentifier",this),cdk().requireProperty(props,"membershipIdentifier",this),cdk().requireProperty(props,"name",this),cdk().requireProperty(props,"roleArn",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrConfiguredTableAssociationIdentifier=cdk().Token.asString(this.getAtt("ConfiguredTableAssociationIdentifier",cdk().ResolutionTypeHint.STRING)),this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::CleanRooms::ConfiguredTableAssociation",void 0,{tagPropertyName:"tags"}),this.configuredTableAssociationAnalysisRules=props.configuredTableAssociationAnalysisRules,this.configuredTableIdentifier=props.configuredTableIdentifier,this.description=props.description,this.membershipIdentifier=props.membershipIdentifier,this.name=props.name,this.roleArn=props.roleArn,this.tags=props.tags}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this.tags),configuredTableAssociationAnalysisRules:this.configuredTableAssociationAnalysisRules,configuredTableIdentifier:this.configuredTableIdentifier,description:this.description,membershipIdentifier:this.membershipIdentifier,name:this.name,roleArn:this.roleArn}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnConfiguredTableAssociation.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnConfiguredTableAssociationPropsToCloudFormation(props)}}exports.CfnConfiguredTableAssociation=CfnConfiguredTableAssociation,_d=JSII_RTTI_SYMBOL_1,CfnConfiguredTableAssociation[_d]={fqn:"aws-cdk-lib.aws_cleanrooms.CfnConfiguredTableAssociation",version:"2.159.1"},CfnConfiguredTableAssociation.CFN_RESOURCE_TYPE_NAME="AWS::CleanRooms::ConfiguredTableAssociation";function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleListPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("allowedAdditionalAnalyses",cdk().listValidator(cdk().validateString))(properties.allowedAdditionalAnalyses)),errors.collect(cdk().propertyValidator("allowedResultReceivers",cdk().listValidator(cdk().validateString))(properties.allowedResultReceivers)),errors.wrap('supplied properties not correct for "ConfiguredTableAssociationAnalysisRuleListProperty"')}function convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleListPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleListPropertyValidator(properties).assertSuccess(),{AllowedAdditionalAnalyses:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedAdditionalAnalyses),AllowedResultReceivers:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedResultReceivers)}):properties}function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleListPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("allowedAdditionalAnalyses","AllowedAdditionalAnalyses",properties.AllowedAdditionalAnalyses!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedAdditionalAnalyses):void 0),ret.addPropertyResult("allowedResultReceivers","AllowedResultReceivers",properties.AllowedResultReceivers!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedResultReceivers):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleAggregationPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("allowedAdditionalAnalyses",cdk().listValidator(cdk().validateString))(properties.allowedAdditionalAnalyses)),errors.collect(cdk().propertyValidator("allowedResultReceivers",cdk().listValidator(cdk().validateString))(properties.allowedResultReceivers)),errors.wrap('supplied properties not correct for "ConfiguredTableAssociationAnalysisRuleAggregationProperty"')}function convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleAggregationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleAggregationPropertyValidator(properties).assertSuccess(),{AllowedAdditionalAnalyses:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedAdditionalAnalyses),AllowedResultReceivers:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedResultReceivers)}):properties}function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleAggregationPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("allowedAdditionalAnalyses","AllowedAdditionalAnalyses",properties.AllowedAdditionalAnalyses!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedAdditionalAnalyses):void 0),ret.addPropertyResult("allowedResultReceivers","AllowedResultReceivers",properties.AllowedResultReceivers!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedResultReceivers):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleCustomPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("allowedAdditionalAnalyses",cdk().listValidator(cdk().validateString))(properties.allowedAdditionalAnalyses)),errors.collect(cdk().propertyValidator("allowedResultReceivers",cdk().listValidator(cdk().validateString))(properties.allowedResultReceivers)),errors.wrap('supplied properties not correct for "ConfiguredTableAssociationAnalysisRuleCustomProperty"')}function convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleCustomPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleCustomPropertyValidator(properties).assertSuccess(),{AllowedAdditionalAnalyses:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedAdditionalAnalyses),AllowedResultReceivers:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedResultReceivers)}):properties}function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleCustomPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("allowedAdditionalAnalyses","AllowedAdditionalAnalyses",properties.AllowedAdditionalAnalyses!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedAdditionalAnalyses):void 0),ret.addPropertyResult("allowedResultReceivers","AllowedResultReceivers",properties.AllowedResultReceivers!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedResultReceivers):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyV1PropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("aggregation",CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleAggregationPropertyValidator)(properties.aggregation)),errors.collect(cdk().propertyValidator("custom",CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleCustomPropertyValidator)(properties.custom)),errors.collect(cdk().propertyValidator("list",CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleListPropertyValidator)(properties.list)),errors.wrap('supplied properties not correct for "ConfiguredTableAssociationAnalysisRulePolicyV1Property"')}function convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyV1PropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyV1PropertyValidator(properties).assertSuccess(),{Aggregation:convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleAggregationPropertyToCloudFormation(properties.aggregation),Custom:convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleCustomPropertyToCloudFormation(properties.custom),List:convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleListPropertyToCloudFormation(properties.list)}):properties}function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyV1PropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("aggregation","Aggregation",properties.Aggregation!=null?CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleAggregationPropertyFromCloudFormation(properties.Aggregation):void 0),ret.addPropertyResult("custom","Custom",properties.Custom!=null?CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleCustomPropertyFromCloudFormation(properties.Custom):void 0),ret.addPropertyResult("list","List",properties.List!=null?CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRuleListPropertyFromCloudFormation(properties.List):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("v1",cdk().requiredValidator)(properties.v1)),errors.collect(cdk().propertyValidator("v1",CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyV1PropertyValidator)(properties.v1)),errors.wrap('supplied properties not correct for "ConfiguredTableAssociationAnalysisRulePolicyProperty"')}function convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyPropertyValidator(properties).assertSuccess(),{V1:convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyV1PropertyToCloudFormation(properties.v1)}):properties}function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("v1","V1",properties.V1!=null?CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyV1PropertyFromCloudFormation(properties.V1):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("policy",cdk().requiredValidator)(properties.policy)),errors.collect(cdk().propertyValidator("policy",CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyPropertyValidator)(properties.policy)),errors.collect(cdk().propertyValidator("type",cdk().requiredValidator)(properties.type)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "ConfiguredTableAssociationAnalysisRuleProperty"')}function convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePropertyValidator(properties).assertSuccess(),{Policy:convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyPropertyToCloudFormation(properties.policy),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("policy","Policy",properties.Policy!=null?CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePolicyPropertyFromCloudFormation(properties.Policy):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfiguredTableAssociationPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("configuredTableAssociationAnalysisRules",cdk().listValidator(CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePropertyValidator))(properties.configuredTableAssociationAnalysisRules)),errors.collect(cdk().propertyValidator("configuredTableIdentifier",cdk().requiredValidator)(properties.configuredTableIdentifier)),errors.collect(cdk().propertyValidator("configuredTableIdentifier",cdk().validateString)(properties.configuredTableIdentifier)),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("membershipIdentifier",cdk().requiredValidator)(properties.membershipIdentifier)),errors.collect(cdk().propertyValidator("membershipIdentifier",cdk().validateString)(properties.membershipIdentifier)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("roleArn",cdk().requiredValidator)(properties.roleArn)),errors.collect(cdk().propertyValidator("roleArn",cdk().validateString)(properties.roleArn)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnConfiguredTableAssociationProps"')}function convertCfnConfiguredTableAssociationPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfiguredTableAssociationPropsValidator(properties).assertSuccess(),{ConfiguredTableAssociationAnalysisRules:cdk().listMapper(convertCfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePropertyToCloudFormation)(properties.configuredTableAssociationAnalysisRules),ConfiguredTableIdentifier:cdk().stringToCloudFormation(properties.configuredTableIdentifier),Description:cdk().stringToCloudFormation(properties.description),MembershipIdentifier:cdk().stringToCloudFormation(properties.membershipIdentifier),Name:cdk().stringToCloudFormation(properties.name),RoleArn:cdk().stringToCloudFormation(properties.roleArn),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnConfiguredTableAssociationPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("configuredTableAssociationAnalysisRules","ConfiguredTableAssociationAnalysisRules",properties.ConfiguredTableAssociationAnalysisRules!=null?cfn_parse().FromCloudFormation.getArray(CfnConfiguredTableAssociationConfiguredTableAssociationAnalysisRulePropertyFromCloudFormation)(properties.ConfiguredTableAssociationAnalysisRules):void 0),ret.addPropertyResult("configuredTableIdentifier","ConfiguredTableIdentifier",properties.ConfiguredTableIdentifier!=null?cfn_parse().FromCloudFormation.getString(properties.ConfiguredTableIdentifier):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("membershipIdentifier","MembershipIdentifier",properties.MembershipIdentifier!=null?cfn_parse().FromCloudFormation.getString(properties.MembershipIdentifier):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("roleArn","RoleArn",properties.RoleArn!=null?cfn_parse().FromCloudFormation.getString(properties.RoleArn):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnMembership extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnMembershipPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnMembership(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnMembership.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_cleanrooms_CfnMembershipProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnMembership),error}cdk().requireProperty(props,"collaborationIdentifier",this),cdk().requireProperty(props,"queryLogStatus",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrCollaborationArn=cdk().Token.asString(this.getAtt("CollaborationArn",cdk().ResolutionTypeHint.STRING)),this.attrCollaborationCreatorAccountId=cdk().Token.asString(this.getAtt("CollaborationCreatorAccountId",cdk().ResolutionTypeHint.STRING)),this.attrMembershipIdentifier=cdk().Token.asString(this.getAtt("MembershipIdentifier",cdk().ResolutionTypeHint.STRING)),this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::CleanRooms::Membership",void 0,{tagPropertyName:"tags"}),this.collaborationIdentifier=props.collaborationIdentifier,this.defaultResultConfiguration=props.defaultResultConfiguration,this.paymentConfiguration=props.paymentConfiguration,this.queryLogStatus=props.queryLogStatus,this.tags=props.tags}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this.tags),collaborationIdentifier:this.collaborationIdentifier,defaultResultConfiguration:this.defaultResultConfiguration,paymentConfiguration:this.paymentConfiguration,queryLogStatus:this.queryLogStatus}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnMembership.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnMembershipPropsToCloudFormation(props)}}exports.CfnMembership=CfnMembership,_e=JSII_RTTI_SYMBOL_1,CfnMembership[_e]={fqn:"aws-cdk-lib.aws_cleanrooms.CfnMembership",version:"2.159.1"},CfnMembership.CFN_RESOURCE_TYPE_NAME="AWS::CleanRooms::Membership";function CfnMembershipProtectedQueryS3OutputConfigurationPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("bucket",cdk().requiredValidator)(properties.bucket)),errors.collect(cdk().propertyValidator("bucket",cdk().validateString)(properties.bucket)),errors.collect(cdk().propertyValidator("keyPrefix",cdk().validateString)(properties.keyPrefix)),errors.collect(cdk().propertyValidator("resultFormat",cdk().requiredValidator)(properties.resultFormat)),errors.collect(cdk().propertyValidator("resultFormat",cdk().validateString)(properties.resultFormat)),errors.wrap('supplied properties not correct for "ProtectedQueryS3OutputConfigurationProperty"')}function convertCfnMembershipProtectedQueryS3OutputConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMembershipProtectedQueryS3OutputConfigurationPropertyValidator(properties).assertSuccess(),{Bucket:cdk().stringToCloudFormation(properties.bucket),KeyPrefix:cdk().stringToCloudFormation(properties.keyPrefix),ResultFormat:cdk().stringToCloudFormation(properties.resultFormat)}):properties}function CfnMembershipProtectedQueryS3OutputConfigurationPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("bucket","Bucket",properties.Bucket!=null?cfn_parse().FromCloudFormation.getString(properties.Bucket):void 0),ret.addPropertyResult("keyPrefix","KeyPrefix",properties.KeyPrefix!=null?cfn_parse().FromCloudFormation.getString(properties.KeyPrefix):void 0),ret.addPropertyResult("resultFormat","ResultFormat",properties.ResultFormat!=null?cfn_parse().FromCloudFormation.getString(properties.ResultFormat):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMembershipMembershipProtectedQueryOutputConfigurationPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("s3",cdk().requiredValidator)(properties.s3)),errors.collect(cdk().propertyValidator("s3",CfnMembershipProtectedQueryS3OutputConfigurationPropertyValidator)(properties.s3)),errors.wrap('supplied properties not correct for "MembershipProtectedQueryOutputConfigurationProperty"')}function convertCfnMembershipMembershipProtectedQueryOutputConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMembershipMembershipProtectedQueryOutputConfigurationPropertyValidator(properties).assertSuccess(),{S3:convertCfnMembershipProtectedQueryS3OutputConfigurationPropertyToCloudFormation(properties.s3)}):properties}function CfnMembershipMembershipProtectedQueryOutputConfigurationPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("s3","S3",properties.S3!=null?CfnMembershipProtectedQueryS3OutputConfigurationPropertyFromCloudFormation(properties.S3):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMembershipMembershipProtectedQueryResultConfigurationPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("outputConfiguration",cdk().requiredValidator)(properties.outputConfiguration)),errors.collect(cdk().propertyValidator("outputConfiguration",CfnMembershipMembershipProtectedQueryOutputConfigurationPropertyValidator)(properties.outputConfiguration)),errors.collect(cdk().propertyValidator("roleArn",cdk().validateString)(properties.roleArn)),errors.wrap('supplied properties not correct for "MembershipProtectedQueryResultConfigurationProperty"')}function convertCfnMembershipMembershipProtectedQueryResultConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMembershipMembershipProtectedQueryResultConfigurationPropertyValidator(properties).assertSuccess(),{OutputConfiguration:convertCfnMembershipMembershipProtectedQueryOutputConfigurationPropertyToCloudFormation(properties.outputConfiguration),RoleArn:cdk().stringToCloudFormation(properties.roleArn)}):properties}function CfnMembershipMembershipProtectedQueryResultConfigurationPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("outputConfiguration","OutputConfiguration",properties.OutputConfiguration!=null?CfnMembershipMembershipProtectedQueryOutputConfigurationPropertyFromCloudFormation(properties.OutputConfiguration):void 0),ret.addPropertyResult("roleArn","RoleArn",properties.RoleArn!=null?cfn_parse().FromCloudFormation.getString(properties.RoleArn):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMembershipMembershipQueryComputePaymentConfigPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("isResponsible",cdk().requiredValidator)(properties.isResponsible)),errors.collect(cdk().propertyValidator("isResponsible",cdk().validateBoolean)(properties.isResponsible)),errors.wrap('supplied properties not correct for "MembershipQueryComputePaymentConfigProperty"')}function convertCfnMembershipMembershipQueryComputePaymentConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMembershipMembershipQueryComputePaymentConfigPropertyValidator(properties).assertSuccess(),{IsResponsible:cdk().booleanToCloudFormation(properties.isResponsible)}):properties}function CfnMembershipMembershipQueryComputePaymentConfigPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("isResponsible","IsResponsible",properties.IsResponsible!=null?cfn_parse().FromCloudFormation.getBoolean(properties.IsResponsible):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMembershipMembershipPaymentConfigurationPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("queryCompute",cdk().requiredValidator)(properties.queryCompute)),errors.collect(cdk().propertyValidator("queryCompute",CfnMembershipMembershipQueryComputePaymentConfigPropertyValidator)(properties.queryCompute)),errors.wrap('supplied properties not correct for "MembershipPaymentConfigurationProperty"')}function convertCfnMembershipMembershipPaymentConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMembershipMembershipPaymentConfigurationPropertyValidator(properties).assertSuccess(),{QueryCompute:convertCfnMembershipMembershipQueryComputePaymentConfigPropertyToCloudFormation(properties.queryCompute)}):properties}function CfnMembershipMembershipPaymentConfigurationPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("queryCompute","QueryCompute",properties.QueryCompute!=null?CfnMembershipMembershipQueryComputePaymentConfigPropertyFromCloudFormation(properties.QueryCompute):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMembershipPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("collaborationIdentifier",cdk().requiredValidator)(properties.collaborationIdentifier)),errors.collect(cdk().propertyValidator("collaborationIdentifier",cdk().validateString)(properties.collaborationIdentifier)),errors.collect(cdk().propertyValidator("defaultResultConfiguration",CfnMembershipMembershipProtectedQueryResultConfigurationPropertyValidator)(properties.defaultResultConfiguration)),errors.collect(cdk().propertyValidator("paymentConfiguration",CfnMembershipMembershipPaymentConfigurationPropertyValidator)(properties.paymentConfiguration)),errors.collect(cdk().propertyValidator("queryLogStatus",cdk().requiredValidator)(properties.queryLogStatus)),errors.collect(cdk().propertyValidator("queryLogStatus",cdk().validateString)(properties.queryLogStatus)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnMembershipProps"')}function convertCfnMembershipPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMembershipPropsValidator(properties).assertSuccess(),{CollaborationIdentifier:cdk().stringToCloudFormation(properties.collaborationIdentifier),DefaultResultConfiguration:convertCfnMembershipMembershipProtectedQueryResultConfigurationPropertyToCloudFormation(properties.defaultResultConfiguration),PaymentConfiguration:convertCfnMembershipMembershipPaymentConfigurationPropertyToCloudFormation(properties.paymentConfiguration),QueryLogStatus:cdk().stringToCloudFormation(properties.queryLogStatus),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnMembershipPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("collaborationIdentifier","CollaborationIdentifier",properties.CollaborationIdentifier!=null?cfn_parse().FromCloudFormation.getString(properties.CollaborationIdentifier):void 0),ret.addPropertyResult("defaultResultConfiguration","DefaultResultConfiguration",properties.DefaultResultConfiguration!=null?CfnMembershipMembershipProtectedQueryResultConfigurationPropertyFromCloudFormation(properties.DefaultResultConfiguration):void 0),ret.addPropertyResult("paymentConfiguration","PaymentConfiguration",properties.PaymentConfiguration!=null?CfnMembershipMembershipPaymentConfigurationPropertyFromCloudFormation(properties.PaymentConfiguration):void 0),ret.addPropertyResult("queryLogStatus","QueryLogStatus",properties.QueryLogStatus!=null?cfn_parse().FromCloudFormation.getString(properties.QueryLogStatus):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnIdMappingTable extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnIdMappingTablePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnIdMappingTable(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnIdMappingTable.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_cleanrooms_CfnIdMappingTableProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnIdMappingTable),error}cdk().requireProperty(props,"inputReferenceConfig",this),cdk().requireProperty(props,"membershipIdentifier",this),cdk().requireProperty(props,"name",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrCollaborationArn=cdk().Token.asString(this.getAtt("CollaborationArn",cdk().ResolutionTypeHint.STRING)),this.attrCollaborationIdentifier=cdk().Token.asString(this.getAtt("CollaborationIdentifier",cdk().ResolutionTypeHint.STRING)),this.attrIdMappingTableIdentifier=cdk().Token.asString(this.getAtt("IdMappingTableIdentifier",cdk().ResolutionTypeHint.STRING)),this.attrInputReferenceProperties=this.getAtt("InputReferenceProperties"),this.attrMembershipArn=cdk().Token.asString(this.getAtt("MembershipArn",cdk().ResolutionTypeHint.STRING)),this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::CleanRooms::IdMappingTable",void 0,{tagPropertyName:"tags"}),this.description=props.description,this.inputReferenceConfig=props.inputReferenceConfig,this.kmsKeyArn=props.kmsKeyArn,this.membershipIdentifier=props.membershipIdentifier,this.name=props.name,this.tags=props.tags}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this.tags),description:this.description,inputReferenceConfig:this.inputReferenceConfig,kmsKeyArn:this.kmsKeyArn,membershipIdentifier:this.membershipIdentifier,name:this.name}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnIdMappingTable.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnIdMappingTablePropsToCloudFormation(props)}}exports.CfnIdMappingTable=CfnIdMappingTable,_f=JSII_RTTI_SYMBOL_1,CfnIdMappingTable[_f]={fqn:"aws-cdk-lib.aws_cleanrooms.CfnIdMappingTable",version:"2.159.1"},CfnIdMappingTable.CFN_RESOURCE_TYPE_NAME="AWS::CleanRooms::IdMappingTable";function CfnIdMappingTableIdMappingTableInputReferenceConfigPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("inputReferenceArn",cdk().requiredValidator)(properties.inputReferenceArn)),errors.collect(cdk().propertyValidator("inputReferenceArn",cdk().validateString)(properties.inputReferenceArn)),errors.collect(cdk().propertyValidator("manageResourcePolicies",cdk().requiredValidator)(properties.manageResourcePolicies)),errors.collect(cdk().propertyValidator("manageResourcePolicies",cdk().validateBoolean)(properties.manageResourcePolicies)),errors.wrap('supplied properties not correct for "IdMappingTableInputReferenceConfigProperty"')}function convertCfnIdMappingTableIdMappingTableInputReferenceConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdMappingTableIdMappingTableInputReferenceConfigPropertyValidator(properties).assertSuccess(),{InputReferenceArn:cdk().stringToCloudFormation(properties.inputReferenceArn),ManageResourcePolicies:cdk().booleanToCloudFormation(properties.manageResourcePolicies)}):properties}function CfnIdMappingTableIdMappingTableInputReferenceConfigPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("inputReferenceArn","InputReferenceArn",properties.InputReferenceArn!=null?cfn_parse().FromCloudFormation.getString(properties.InputReferenceArn):void 0),ret.addPropertyResult("manageResourcePolicies","ManageResourcePolicies",properties.ManageResourcePolicies!=null?cfn_parse().FromCloudFormation.getBoolean(properties.ManageResourcePolicies):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnIdMappingTableIdMappingTableInputSourcePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("idNamespaceAssociationId",cdk().requiredValidator)(properties.idNamespaceAssociationId)),errors.collect(cdk().propertyValidator("idNamespaceAssociationId",cdk().validateString)(properties.idNamespaceAssociationId)),errors.collect(cdk().propertyValidator("type",cdk().requiredValidator)(properties.type)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "IdMappingTableInputSourceProperty"')}function convertCfnIdMappingTableIdMappingTableInputSourcePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdMappingTableIdMappingTableInputSourcePropertyValidator(properties).assertSuccess(),{IdNamespaceAssociationId:cdk().stringToCloudFormation(properties.idNamespaceAssociationId),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnIdMappingTableIdMappingTableInputSourcePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("idNamespaceAssociationId","IdNamespaceAssociationId",properties.IdNamespaceAssociationId!=null?cfn_parse().FromCloudFormation.getString(properties.IdNamespaceAssociationId):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnIdMappingTableIdMappingTableInputReferencePropertiesPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("idMappingTableInputSource",cdk().requiredValidator)(properties.idMappingTableInputSource)),errors.collect(cdk().propertyValidator("idMappingTableInputSource",cdk().listValidator(CfnIdMappingTableIdMappingTableInputSourcePropertyValidator))(properties.idMappingTableInputSource)),errors.wrap('supplied properties not correct for "IdMappingTableInputReferencePropertiesProperty"')}function convertCfnIdMappingTableIdMappingTableInputReferencePropertiesPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdMappingTableIdMappingTableInputReferencePropertiesPropertyValidator(properties).assertSuccess(),{IdMappingTableInputSource:cdk().listMapper(convertCfnIdMappingTableIdMappingTableInputSourcePropertyToCloudFormation)(properties.idMappingTableInputSource)}):properties}function CfnIdMappingTableIdMappingTableInputReferencePropertiesPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("idMappingTableInputSource","IdMappingTableInputSource",properties.IdMappingTableInputSource!=null?cfn_parse().FromCloudFormation.getArray(CfnIdMappingTableIdMappingTableInputSourcePropertyFromCloudFormation)(properties.IdMappingTableInputSource):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnIdMappingTablePropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("inputReferenceConfig",cdk().requiredValidator)(properties.inputReferenceConfig)),errors.collect(cdk().propertyValidator("inputReferenceConfig",CfnIdMappingTableIdMappingTableInputReferenceConfigPropertyValidator)(properties.inputReferenceConfig)),errors.collect(cdk().propertyValidator("kmsKeyArn",cdk().validateString)(properties.kmsKeyArn)),errors.collect(cdk().propertyValidator("membershipIdentifier",cdk().requiredValidator)(properties.membershipIdentifier)),errors.collect(cdk().propertyValidator("membershipIdentifier",cdk().validateString)(properties.membershipIdentifier)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnIdMappingTableProps"')}function convertCfnIdMappingTablePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdMappingTablePropsValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),InputReferenceConfig:convertCfnIdMappingTableIdMappingTableInputReferenceConfigPropertyToCloudFormation(properties.inputReferenceConfig),KmsKeyArn:cdk().stringToCloudFormation(properties.kmsKeyArn),MembershipIdentifier:cdk().stringToCloudFormation(properties.membershipIdentifier),Name:cdk().stringToCloudFormation(properties.name),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnIdMappingTablePropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("inputReferenceConfig","InputReferenceConfig",properties.InputReferenceConfig!=null?CfnIdMappingTableIdMappingTableInputReferenceConfigPropertyFromCloudFormation(properties.InputReferenceConfig):void 0),ret.addPropertyResult("kmsKeyArn","KmsKeyArn",properties.KmsKeyArn!=null?cfn_parse().FromCloudFormation.getString(properties.KmsKeyArn):void 0),ret.addPropertyResult("membershipIdentifier","MembershipIdentifier",properties.MembershipIdentifier!=null?cfn_parse().FromCloudFormation.getString(properties.MembershipIdentifier):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnIdNamespaceAssociation extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnIdNamespaceAssociationPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnIdNamespaceAssociation(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnIdNamespaceAssociation.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_cleanrooms_CfnIdNamespaceAssociationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnIdNamespaceAssociation),error}cdk().requireProperty(props,"inputReferenceConfig",this),cdk().requireProperty(props,"membershipIdentifier",this),cdk().requireProperty(props,"name",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrCollaborationArn=cdk().Token.asString(this.getAtt("CollaborationArn",cdk().ResolutionTypeHint.STRING)),this.attrCollaborationIdentifier=cdk().Token.asString(this.getAtt("CollaborationIdentifier",cdk().ResolutionTypeHint.STRING)),this.attrIdNamespaceAssociationIdentifier=cdk().Token.asString(this.getAtt("IdNamespaceAssociationIdentifier",cdk().ResolutionTypeHint.STRING)),this.attrInputReferenceProperties=this.getAtt("InputReferenceProperties"),this.attrMembershipArn=cdk().Token.asString(this.getAtt("MembershipArn",cdk().ResolutionTypeHint.STRING)),this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::CleanRooms::IdNamespaceAssociation",void 0,{tagPropertyName:"tags"}),this.description=props.description,this.idMappingConfig=props.idMappingConfig,this.inputReferenceConfig=props.inputReferenceConfig,this.membershipIdentifier=props.membershipIdentifier,this.name=props.name,this.tags=props.tags}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this.tags),description:this.description,idMappingConfig:this.idMappingConfig,inputReferenceConfig:this.inputReferenceConfig,membershipIdentifier:this.membershipIdentifier,name:this.name}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnIdNamespaceAssociation.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnIdNamespaceAssociationPropsToCloudFormation(props)}}exports.CfnIdNamespaceAssociation=CfnIdNamespaceAssociation,_g=JSII_RTTI_SYMBOL_1,CfnIdNamespaceAssociation[_g]={fqn:"aws-cdk-lib.aws_cleanrooms.CfnIdNamespaceAssociation",version:"2.159.1"},CfnIdNamespaceAssociation.CFN_RESOURCE_TYPE_NAME="AWS::CleanRooms::IdNamespaceAssociation";function CfnIdNamespaceAssociationIdNamespaceAssociationInputReferenceConfigPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("inputReferenceArn",cdk().requiredValidator)(properties.inputReferenceArn)),errors.collect(cdk().propertyValidator("inputReferenceArn",cdk().validateString)(properties.inputReferenceArn)),errors.collect(cdk().propertyValidator("manageResourcePolicies",cdk().requiredValidator)(properties.manageResourcePolicies)),errors.collect(cdk().propertyValidator("manageResourcePolicies",cdk().validateBoolean)(properties.manageResourcePolicies)),errors.wrap('supplied properties not correct for "IdNamespaceAssociationInputReferenceConfigProperty"')}function convertCfnIdNamespaceAssociationIdNamespaceAssociationInputReferenceConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdNamespaceAssociationIdNamespaceAssociationInputReferenceConfigPropertyValidator(properties).assertSuccess(),{InputReferenceArn:cdk().stringToCloudFormation(properties.inputReferenceArn),ManageResourcePolicies:cdk().booleanToCloudFormation(properties.manageResourcePolicies)}):properties}function CfnIdNamespaceAssociationIdNamespaceAssociationInputReferenceConfigPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("inputReferenceArn","InputReferenceArn",properties.InputReferenceArn!=null?cfn_parse().FromCloudFormation.getString(properties.InputReferenceArn):void 0),ret.addPropertyResult("manageResourcePolicies","ManageResourcePolicies",properties.ManageResourcePolicies!=null?cfn_parse().FromCloudFormation.getBoolean(properties.ManageResourcePolicies):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnIdNamespaceAssociationIdMappingConfigPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("allowUseAsDimensionColumn",cdk().requiredValidator)(properties.allowUseAsDimensionColumn)),errors.collect(cdk().propertyValidator("allowUseAsDimensionColumn",cdk().validateBoolean)(properties.allowUseAsDimensionColumn)),errors.wrap('supplied properties not correct for "IdMappingConfigProperty"')}function convertCfnIdNamespaceAssociationIdMappingConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdNamespaceAssociationIdMappingConfigPropertyValidator(properties).assertSuccess(),{AllowUseAsDimensionColumn:cdk().booleanToCloudFormation(properties.allowUseAsDimensionColumn)}):properties}function CfnIdNamespaceAssociationIdMappingConfigPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("allowUseAsDimensionColumn","AllowUseAsDimensionColumn",properties.AllowUseAsDimensionColumn!=null?cfn_parse().FromCloudFormation.getBoolean(properties.AllowUseAsDimensionColumn):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnIdNamespaceAssociationIdNamespaceAssociationInputReferencePropertiesPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("idMappingWorkflowsSupported",cdk().listValidator(cdk().validateObject))(properties.idMappingWorkflowsSupported)),errors.collect(cdk().propertyValidator("idNamespaceType",cdk().validateString)(properties.idNamespaceType)),errors.wrap('supplied properties not correct for "IdNamespaceAssociationInputReferencePropertiesProperty"')}function convertCfnIdNamespaceAssociationIdNamespaceAssociationInputReferencePropertiesPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdNamespaceAssociationIdNamespaceAssociationInputReferencePropertiesPropertyValidator(properties).assertSuccess(),{IdMappingWorkflowsSupported:cdk().listMapper(cdk().objectToCloudFormation)(properties.idMappingWorkflowsSupported),IdNamespaceType:cdk().stringToCloudFormation(properties.idNamespaceType)}):properties}function CfnIdNamespaceAssociationIdNamespaceAssociationInputReferencePropertiesPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("idMappingWorkflowsSupported","IdMappingWorkflowsSupported",properties.IdMappingWorkflowsSupported!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getAny)(properties.IdMappingWorkflowsSupported):void 0),ret.addPropertyResult("idNamespaceType","IdNamespaceType",properties.IdNamespaceType!=null?cfn_parse().FromCloudFormation.getString(properties.IdNamespaceType):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnIdNamespaceAssociationPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("idMappingConfig",CfnIdNamespaceAssociationIdMappingConfigPropertyValidator)(properties.idMappingConfig)),errors.collect(cdk().propertyValidator("inputReferenceConfig",cdk().requiredValidator)(properties.inputReferenceConfig)),errors.collect(cdk().propertyValidator("inputReferenceConfig",CfnIdNamespaceAssociationIdNamespaceAssociationInputReferenceConfigPropertyValidator)(properties.inputReferenceConfig)),errors.collect(cdk().propertyValidator("membershipIdentifier",cdk().requiredValidator)(properties.membershipIdentifier)),errors.collect(cdk().propertyValidator("membershipIdentifier",cdk().validateString)(properties.membershipIdentifier)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnIdNamespaceAssociationProps"')}function convertCfnIdNamespaceAssociationPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdNamespaceAssociationPropsValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),IdMappingConfig:convertCfnIdNamespaceAssociationIdMappingConfigPropertyToCloudFormation(properties.idMappingConfig),InputReferenceConfig:convertCfnIdNamespaceAssociationIdNamespaceAssociationInputReferenceConfigPropertyToCloudFormation(properties.inputReferenceConfig),MembershipIdentifier:cdk().stringToCloudFormation(properties.membershipIdentifier),Name:cdk().stringToCloudFormation(properties.name),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnIdNamespaceAssociationPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("idMappingConfig","IdMappingConfig",properties.IdMappingConfig!=null?CfnIdNamespaceAssociationIdMappingConfigPropertyFromCloudFormation(properties.IdMappingConfig):void 0),ret.addPropertyResult("inputReferenceConfig","InputReferenceConfig",properties.InputReferenceConfig!=null?CfnIdNamespaceAssociationIdNamespaceAssociationInputReferenceConfigPropertyFromCloudFormation(properties.InputReferenceConfig):void 0),ret.addPropertyResult("membershipIdentifier","MembershipIdentifier",properties.MembershipIdentifier!=null?cfn_parse().FromCloudFormation.getString(properties.MembershipIdentifier):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnPrivacyBudgetTemplate extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnPrivacyBudgetTemplatePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnPrivacyBudgetTemplate(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnPrivacyBudgetTemplate.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_cleanrooms_CfnPrivacyBudgetTemplateProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnPrivacyBudgetTemplate),error}cdk().requireProperty(props,"autoRefresh",this),cdk().requireProperty(props,"membershipIdentifier",this),cdk().requireProperty(props,"parameters",this),cdk().requireProperty(props,"privacyBudgetType",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrCollaborationArn=cdk().Token.asString(this.getAtt("CollaborationArn",cdk().ResolutionTypeHint.STRING)),this.attrCollaborationIdentifier=cdk().Token.asString(this.getAtt("CollaborationIdentifier",cdk().ResolutionTypeHint.STRING)),this.attrMembershipArn=cdk().Token.asString(this.getAtt("MembershipArn",cdk().ResolutionTypeHint.STRING)),this.attrPrivacyBudgetTemplateIdentifier=cdk().Token.asString(this.getAtt("PrivacyBudgetTemplateIdentifier",cdk().ResolutionTypeHint.STRING)),this.autoRefresh=props.autoRefresh,this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::CleanRooms::PrivacyBudgetTemplate",void 0,{tagPropertyName:"tags"}),this.membershipIdentifier=props.membershipIdentifier,this.parameters=props.parameters,this.privacyBudgetType=props.privacyBudgetType,this.tags=props.tags}get cfnProperties(){return{autoRefresh:this.autoRefresh,tags:this.cdkTagManager.renderTags(this.tags),membershipIdentifier:this.membershipIdentifier,parameters:this.parameters,privacyBudgetType:this.privacyBudgetType}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnPrivacyBudgetTemplate.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnPrivacyBudgetTemplatePropsToCloudFormation(props)}}exports.CfnPrivacyBudgetTemplate=CfnPrivacyBudgetTemplate,_h=JSII_RTTI_SYMBOL_1,CfnPrivacyBudgetTemplate[_h]={fqn:"aws-cdk-lib.aws_cleanrooms.CfnPrivacyBudgetTemplate",version:"2.159.1"},CfnPrivacyBudgetTemplate.CFN_RESOURCE_TYPE_NAME="AWS::CleanRooms::PrivacyBudgetTemplate";function CfnPrivacyBudgetTemplateParametersPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("epsilon",cdk().requiredValidator)(properties.epsilon)),errors.collect(cdk().propertyValidator("epsilon",cdk().validateNumber)(properties.epsilon)),errors.collect(cdk().propertyValidator("usersNoisePerQuery",cdk().requiredValidator)(properties.usersNoisePerQuery)),errors.collect(cdk().propertyValidator("usersNoisePerQuery",cdk().validateNumber)(properties.usersNoisePerQuery)),errors.wrap('supplied properties not correct for "ParametersProperty"')}function convertCfnPrivacyBudgetTemplateParametersPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnPrivacyBudgetTemplateParametersPropertyValidator(properties).assertSuccess(),{Epsilon:cdk().numberToCloudFormation(properties.epsilon),UsersNoisePerQuery:cdk().numberToCloudFormation(properties.usersNoisePerQuery)}):properties}function CfnPrivacyBudgetTemplateParametersPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("epsilon","Epsilon",properties.Epsilon!=null?cfn_parse().FromCloudFormation.getNumber(properties.Epsilon):void 0),ret.addPropertyResult("usersNoisePerQuery","UsersNoisePerQuery",properties.UsersNoisePerQuery!=null?cfn_parse().FromCloudFormation.getNumber(properties.UsersNoisePerQuery):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnPrivacyBudgetTemplatePropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("autoRefresh",cdk().requiredValidator)(properties.autoRefresh)),errors.collect(cdk().propertyValidator("autoRefresh",cdk().validateString)(properties.autoRefresh)),errors.collect(cdk().propertyValidator("membershipIdentifier",cdk().requiredValidator)(properties.membershipIdentifier)),errors.collect(cdk().propertyValidator("membershipIdentifier",cdk().validateString)(properties.membershipIdentifier)),errors.collect(cdk().propertyValidator("parameters",cdk().requiredValidator)(properties.parameters)),errors.collect(cdk().propertyValidator("parameters",CfnPrivacyBudgetTemplateParametersPropertyValidator)(properties.parameters)),errors.collect(cdk().propertyValidator("privacyBudgetType",cdk().requiredValidator)(properties.privacyBudgetType)),errors.collect(cdk().propertyValidator("privacyBudgetType",cdk().validateString)(properties.privacyBudgetType)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnPrivacyBudgetTemplateProps"')}function convertCfnPrivacyBudgetTemplatePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnPrivacyBudgetTemplatePropsValidator(properties).assertSuccess(),{AutoRefresh:cdk().stringToCloudFormation(properties.autoRefresh),MembershipIdentifier:cdk().stringToCloudFormation(properties.membershipIdentifier),Parameters:convertCfnPrivacyBudgetTemplateParametersPropertyToCloudFormation(properties.parameters),PrivacyBudgetType:cdk().stringToCloudFormation(properties.privacyBudgetType),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnPrivacyBudgetTemplatePropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("autoRefresh","AutoRefresh",properties.AutoRefresh!=null?cfn_parse().FromCloudFormation.getString(properties.AutoRefresh):void 0),ret.addPropertyResult("membershipIdentifier","MembershipIdentifier",properties.MembershipIdentifier!=null?cfn_parse().FromCloudFormation.getString(properties.MembershipIdentifier):void 0),ret.addPropertyResult("parameters","Parameters",properties.Parameters!=null?CfnPrivacyBudgetTemplateParametersPropertyFromCloudFormation(properties.Parameters):void 0),ret.addPropertyResult("privacyBudgetType","PrivacyBudgetType",properties.PrivacyBudgetType!=null?cfn_parse().FromCloudFormation.getString(properties.PrivacyBudgetType):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}