Files
2026-05-06 18:55:16 -05:00

2 lines
88 KiB
JavaScript

"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnStorageConfiguration=exports.CfnStage=exports.CfnPublicKey=exports.CfnPlaybackRestrictionPolicy=exports.CfnIngestConfiguration=exports.CfnEncoderConfiguration=exports.CfnStreamKey=exports.CfnRecordingConfiguration=exports.CfnPlaybackKeyPair=exports.CfnChannel=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/lib");return cdk=()=>tmp,tmp},cfn_parse=()=>{var tmp=require("../../core/lib/helpers-internal");return cfn_parse=()=>tmp,tmp},cdk_errors=()=>{var tmp=require("../../core/lib/errors");return cdk_errors=()=>tmp,tmp};class CfnChannel extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ivs.CfnChannel",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::IVS::Channel";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnChannelPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnChannel(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}static isCfnChannel(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnChannel.CFN_RESOURCE_TYPE_NAME}static arnForChannel(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_ivs_IChannelRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForChannel),error}return resource.channelRef.channelArn}_authorized;_containerFormat;_insecureIngest;_latencyMode;_multitrackInputConfiguration;_name;_preset;_recordingConfigurationArn;tags;_tagsRaw;_type;cfnPropertyNames={authorized:"Authorized",containerFormat:"ContainerFormat",insecureIngest:"InsecureIngest",latencyMode:"LatencyMode",multitrackInputConfiguration:"MultitrackInputConfiguration",name:"Name",preset:"Preset",recordingConfigurationArn:"RecordingConfigurationArn",tags:"Tags",type:"Type"};constructor(scope,id,props={}){super(scope,id,{type:CfnChannel.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ivs_CfnChannelProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnChannel),error}this._authorized=props.authorized,this._containerFormat=props.containerFormat,this._insecureIngest=props.insecureIngest,this._latencyMode=props.latencyMode,this._multitrackInputConfiguration=props.multitrackInputConfiguration,this._name=props.name,this._preset=props.preset,this._recordingConfigurationArn=cdk().getRefProperty(props.recordingConfigurationArn?.recordingConfigurationRef,"recordingConfigurationArn")??cdk().ensureStringOrUndefined(props.recordingConfigurationArn,"recordingConfigurationArn","ivs.IRecordingConfigurationRef | string"),this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IVS::Channel",props.tags,{tagPropertyName:"tags"}),this._tagsRaw=props.tags,this._type=props.type}get channelRef(){return{channelArn:this.ref}}get authorized(){return this._authorized}set authorized(value){cdk().traceProperty(this.node,"Authorized"),this._authorized=value}get containerFormat(){return this._containerFormat}set containerFormat(value){cdk().traceProperty(this.node,"ContainerFormat"),this._containerFormat=value}get insecureIngest(){return this._insecureIngest}set insecureIngest(value){cdk().traceProperty(this.node,"InsecureIngest"),this._insecureIngest=value}get latencyMode(){return this._latencyMode}set latencyMode(value){cdk().traceProperty(this.node,"LatencyMode"),this._latencyMode=value}get multitrackInputConfiguration(){return this._multitrackInputConfiguration}set multitrackInputConfiguration(value){cdk().traceProperty(this.node,"MultitrackInputConfiguration"),this._multitrackInputConfiguration=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get preset(){return this._preset}set preset(value){cdk().traceProperty(this.node,"Preset"),this._preset=value}get recordingConfigurationArn(){return this._recordingConfigurationArn}set recordingConfigurationArn(value){cdk().traceProperty(this.node,"RecordingConfigurationArn"),this._recordingConfigurationArn=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get type(){return this._type}set type(value){cdk().traceProperty(this.node,"Type"),this._type=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrIngestEndpoint(){return cdk().Token.asString(this.getAtt("IngestEndpoint",cdk().ResolutionTypeHint.STRING))}get attrPlaybackUrl(){return cdk().Token.asString(this.getAtt("PlaybackUrl",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{authorized:this._authorized,containerFormat:this._containerFormat,insecureIngest:this._insecureIngest,latencyMode:this._latencyMode,multitrackInputConfiguration:this._multitrackInputConfiguration,name:this._name,preset:this._preset,recordingConfigurationArn:this._recordingConfigurationArn,tags:this.tags.renderTags(),type:this._type}}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",CfnChannel.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnChannelPropsToCloudFormation(props)}}exports.CfnChannel=CfnChannel;function CfnChannelMultitrackInputConfigurationPropertyValidator(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("enabled",cdk().validateBoolean)(properties.enabled)),errors.collect(cdk().propertyValidator("maximumResolution",cdk().validateString)(properties.maximumResolution)),errors.collect(cdk().propertyValidator("policy",cdk().validateString)(properties.policy)),errors.wrap('supplied properties not correct for "MultitrackInputConfigurationProperty"')}function convertCfnChannelMultitrackInputConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnChannelMultitrackInputConfigurationPropertyValidator(properties).assertSuccess(),{Enabled:cdk().booleanToCloudFormation(properties.enabled),MaximumResolution:cdk().stringToCloudFormation(properties.maximumResolution),Policy:cdk().stringToCloudFormation(properties.policy)}):properties}function CfnChannelMultitrackInputConfigurationPropertyFromCloudFormation(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("enabled","Enabled",properties.Enabled!=null?cfn_parse().FromCloudFormation.getBoolean(properties.Enabled):void 0),ret.addPropertyResult("maximumResolution","MaximumResolution",properties.MaximumResolution!=null?cfn_parse().FromCloudFormation.getString(properties.MaximumResolution):void 0),ret.addPropertyResult("policy","Policy",properties.Policy!=null?cfn_parse().FromCloudFormation.getString(properties.Policy):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnChannelPropsValidator(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("authorized",cdk().validateBoolean)(properties.authorized)),errors.collect(cdk().propertyValidator("containerFormat",cdk().validateString)(properties.containerFormat)),errors.collect(cdk().propertyValidator("insecureIngest",cdk().validateBoolean)(properties.insecureIngest)),errors.collect(cdk().propertyValidator("latencyMode",cdk().validateString)(properties.latencyMode)),errors.collect(cdk().propertyValidator("multitrackInputConfiguration",CfnChannelMultitrackInputConfigurationPropertyValidator)(properties.multitrackInputConfiguration)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("preset",cdk().validateString)(properties.preset)),errors.collect(cdk().propertyValidator("recordingConfigurationArn",cdk().validateString)(properties.recordingConfigurationArn)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "CfnChannelProps"')}function convertCfnChannelPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnChannelPropsValidator(properties).assertSuccess(),{Authorized:cdk().booleanToCloudFormation(properties.authorized),ContainerFormat:cdk().stringToCloudFormation(properties.containerFormat),InsecureIngest:cdk().booleanToCloudFormation(properties.insecureIngest),LatencyMode:cdk().stringToCloudFormation(properties.latencyMode),MultitrackInputConfiguration:convertCfnChannelMultitrackInputConfigurationPropertyToCloudFormation(properties.multitrackInputConfiguration),Name:cdk().stringToCloudFormation(properties.name),Preset:cdk().stringToCloudFormation(properties.preset),RecordingConfigurationArn:cdk().stringToCloudFormation(properties.recordingConfigurationArn),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnChannelPropsFromCloudFormation(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("authorized","Authorized",properties.Authorized!=null?cfn_parse().FromCloudFormation.getBoolean(properties.Authorized):void 0),ret.addPropertyResult("containerFormat","ContainerFormat",properties.ContainerFormat!=null?cfn_parse().FromCloudFormation.getString(properties.ContainerFormat):void 0),ret.addPropertyResult("insecureIngest","InsecureIngest",properties.InsecureIngest!=null?cfn_parse().FromCloudFormation.getBoolean(properties.InsecureIngest):void 0),ret.addPropertyResult("latencyMode","LatencyMode",properties.LatencyMode!=null?cfn_parse().FromCloudFormation.getString(properties.LatencyMode):void 0),ret.addPropertyResult("multitrackInputConfiguration","MultitrackInputConfiguration",properties.MultitrackInputConfiguration!=null?CfnChannelMultitrackInputConfigurationPropertyFromCloudFormation(properties.MultitrackInputConfiguration):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("preset","Preset",properties.Preset!=null?cfn_parse().FromCloudFormation.getString(properties.Preset):void 0),ret.addPropertyResult("recordingConfigurationArn","RecordingConfigurationArn",properties.RecordingConfigurationArn!=null?cfn_parse().FromCloudFormation.getString(properties.RecordingConfigurationArn):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnPlaybackKeyPair extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ivs.CfnPlaybackKeyPair",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::IVS::PlaybackKeyPair";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnPlaybackKeyPairPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnPlaybackKeyPair(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}static isCfnPlaybackKeyPair(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnPlaybackKeyPair.CFN_RESOURCE_TYPE_NAME}static arnForPlaybackKeyPair(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_ivs_IPlaybackKeyPairRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForPlaybackKeyPair),error}return resource.playbackKeyPairRef.playbackKeyPairArn}_name;_publicKeyMaterial;tags;_tagsRaw;cfnPropertyNames={name:"Name",publicKeyMaterial:"PublicKeyMaterial",tags:"Tags"};constructor(scope,id,props={}){super(scope,id,{type:CfnPlaybackKeyPair.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ivs_CfnPlaybackKeyPairProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnPlaybackKeyPair),error}this._name=props.name,this._publicKeyMaterial=props.publicKeyMaterial,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IVS::PlaybackKeyPair",props.tags,{tagPropertyName:"tags"}),this._tagsRaw=props.tags}get playbackKeyPairRef(){return{playbackKeyPairArn:this.ref}}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get publicKeyMaterial(){return this._publicKeyMaterial}set publicKeyMaterial(value){cdk().traceProperty(this.node,"PublicKeyMaterial"),this._publicKeyMaterial=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrFingerprint(){return cdk().Token.asString(this.getAtt("Fingerprint",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{name:this._name,publicKeyMaterial:this._publicKeyMaterial,tags:this.tags.renderTags()}}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",CfnPlaybackKeyPair.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnPlaybackKeyPairPropsToCloudFormation(props)}}exports.CfnPlaybackKeyPair=CfnPlaybackKeyPair;function CfnPlaybackKeyPairPropsValidator(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().validateString)(properties.name)),errors.collect(cdk().propertyValidator("publicKeyMaterial",cdk().validateString)(properties.publicKeyMaterial)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnPlaybackKeyPairProps"')}function convertCfnPlaybackKeyPairPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnPlaybackKeyPairPropsValidator(properties).assertSuccess(),{Name:cdk().stringToCloudFormation(properties.name),PublicKeyMaterial:cdk().stringToCloudFormation(properties.publicKeyMaterial),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnPlaybackKeyPairPropsFromCloudFormation(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.addPropertyResult("publicKeyMaterial","PublicKeyMaterial",properties.PublicKeyMaterial!=null?cfn_parse().FromCloudFormation.getString(properties.PublicKeyMaterial):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 CfnRecordingConfiguration extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ivs.CfnRecordingConfiguration",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::IVS::RecordingConfiguration";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnRecordingConfigurationPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnRecordingConfiguration(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}static isCfnRecordingConfiguration(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnRecordingConfiguration.CFN_RESOURCE_TYPE_NAME}static arnForRecordingConfiguration(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_ivs_IRecordingConfigurationRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForRecordingConfiguration),error}return resource.recordingConfigurationRef.recordingConfigurationArn}_destinationConfiguration;_name;_recordingReconnectWindowSeconds;_renditionConfiguration;tags;_tagsRaw;_thumbnailConfiguration;cfnPropertyNames={destinationConfiguration:"DestinationConfiguration",name:"Name",recordingReconnectWindowSeconds:"RecordingReconnectWindowSeconds",renditionConfiguration:"RenditionConfiguration",tags:"Tags",thumbnailConfiguration:"ThumbnailConfiguration"};constructor(scope,id,props){super(scope,id,{type:CfnRecordingConfiguration.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ivs_CfnRecordingConfigurationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnRecordingConfiguration),error}cdk().requireProperty(props,"destinationConfiguration",this),this._destinationConfiguration=props.destinationConfiguration,this._name=props.name,this._recordingReconnectWindowSeconds=props.recordingReconnectWindowSeconds,this._renditionConfiguration=props.renditionConfiguration,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IVS::RecordingConfiguration",props.tags,{tagPropertyName:"tags"}),this._tagsRaw=props.tags,this._thumbnailConfiguration=props.thumbnailConfiguration}get recordingConfigurationRef(){return{recordingConfigurationArn:this.ref}}get destinationConfiguration(){return this._destinationConfiguration}set destinationConfiguration(value){cdk().traceProperty(this.node,"DestinationConfiguration"),this._destinationConfiguration=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get recordingReconnectWindowSeconds(){return this._recordingReconnectWindowSeconds}set recordingReconnectWindowSeconds(value){cdk().traceProperty(this.node,"RecordingReconnectWindowSeconds"),this._recordingReconnectWindowSeconds=value}get renditionConfiguration(){return this._renditionConfiguration}set renditionConfiguration(value){cdk().traceProperty(this.node,"RenditionConfiguration"),this._renditionConfiguration=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get thumbnailConfiguration(){return this._thumbnailConfiguration}set thumbnailConfiguration(value){cdk().traceProperty(this.node,"ThumbnailConfiguration"),this._thumbnailConfiguration=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrState(){return cdk().Token.asString(this.getAtt("State",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{destinationConfiguration:this._destinationConfiguration,name:this._name,recordingReconnectWindowSeconds:this._recordingReconnectWindowSeconds,renditionConfiguration:this._renditionConfiguration,tags:this.tags.renderTags(),thumbnailConfiguration:this._thumbnailConfiguration}}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",CfnRecordingConfiguration.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnRecordingConfigurationPropsToCloudFormation(props)}}exports.CfnRecordingConfiguration=CfnRecordingConfiguration;function CfnRecordingConfigurationS3DestinationConfigurationPropertyValidator(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("bucketName",cdk().requiredValidator)(properties.bucketName)),errors.collect(cdk().propertyValidator("bucketName",cdk().validateString)(properties.bucketName)),errors.wrap('supplied properties not correct for "S3DestinationConfigurationProperty"')}function convertCfnRecordingConfigurationS3DestinationConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnRecordingConfigurationS3DestinationConfigurationPropertyValidator(properties).assertSuccess(),{BucketName:cdk().stringToCloudFormation(properties.bucketName)}):properties}function CfnRecordingConfigurationS3DestinationConfigurationPropertyFromCloudFormation(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("bucketName","BucketName",properties.BucketName!=null?cfn_parse().FromCloudFormation.getString(properties.BucketName):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnRecordingConfigurationDestinationConfigurationPropertyValidator(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",CfnRecordingConfigurationS3DestinationConfigurationPropertyValidator)(properties.s3)),errors.wrap('supplied properties not correct for "DestinationConfigurationProperty"')}function convertCfnRecordingConfigurationDestinationConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnRecordingConfigurationDestinationConfigurationPropertyValidator(properties).assertSuccess(),{S3:convertCfnRecordingConfigurationS3DestinationConfigurationPropertyToCloudFormation(properties.s3)}):properties}function CfnRecordingConfigurationDestinationConfigurationPropertyFromCloudFormation(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?CfnRecordingConfigurationS3DestinationConfigurationPropertyFromCloudFormation(properties.S3):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnRecordingConfigurationRenditionConfigurationPropertyValidator(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("renditionSelection",cdk().validateString)(properties.renditionSelection)),errors.collect(cdk().propertyValidator("renditions",cdk().listValidator(cdk().validateString))(properties.renditions)),errors.wrap('supplied properties not correct for "RenditionConfigurationProperty"')}function convertCfnRecordingConfigurationRenditionConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnRecordingConfigurationRenditionConfigurationPropertyValidator(properties).assertSuccess(),{RenditionSelection:cdk().stringToCloudFormation(properties.renditionSelection),Renditions:cdk().listMapper(cdk().stringToCloudFormation)(properties.renditions)}):properties}function CfnRecordingConfigurationRenditionConfigurationPropertyFromCloudFormation(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("renditions","Renditions",properties.Renditions!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.Renditions):void 0),ret.addPropertyResult("renditionSelection","RenditionSelection",properties.RenditionSelection!=null?cfn_parse().FromCloudFormation.getString(properties.RenditionSelection):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnRecordingConfigurationThumbnailConfigurationPropertyValidator(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("recordingMode",cdk().validateString)(properties.recordingMode)),errors.collect(cdk().propertyValidator("resolution",cdk().validateString)(properties.resolution)),errors.collect(cdk().propertyValidator("storage",cdk().listValidator(cdk().validateString))(properties.storage)),errors.collect(cdk().propertyValidator("targetIntervalSeconds",cdk().validateNumber)(properties.targetIntervalSeconds)),errors.wrap('supplied properties not correct for "ThumbnailConfigurationProperty"')}function convertCfnRecordingConfigurationThumbnailConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnRecordingConfigurationThumbnailConfigurationPropertyValidator(properties).assertSuccess(),{RecordingMode:cdk().stringToCloudFormation(properties.recordingMode),Resolution:cdk().stringToCloudFormation(properties.resolution),Storage:cdk().listMapper(cdk().stringToCloudFormation)(properties.storage),TargetIntervalSeconds:cdk().numberToCloudFormation(properties.targetIntervalSeconds)}):properties}function CfnRecordingConfigurationThumbnailConfigurationPropertyFromCloudFormation(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("recordingMode","RecordingMode",properties.RecordingMode!=null?cfn_parse().FromCloudFormation.getString(properties.RecordingMode):void 0),ret.addPropertyResult("resolution","Resolution",properties.Resolution!=null?cfn_parse().FromCloudFormation.getString(properties.Resolution):void 0),ret.addPropertyResult("storage","Storage",properties.Storage!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.Storage):void 0),ret.addPropertyResult("targetIntervalSeconds","TargetIntervalSeconds",properties.TargetIntervalSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.TargetIntervalSeconds):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnRecordingConfigurationPropsValidator(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("destinationConfiguration",cdk().requiredValidator)(properties.destinationConfiguration)),errors.collect(cdk().propertyValidator("destinationConfiguration",CfnRecordingConfigurationDestinationConfigurationPropertyValidator)(properties.destinationConfiguration)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("recordingReconnectWindowSeconds",cdk().validateNumber)(properties.recordingReconnectWindowSeconds)),errors.collect(cdk().propertyValidator("renditionConfiguration",CfnRecordingConfigurationRenditionConfigurationPropertyValidator)(properties.renditionConfiguration)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.collect(cdk().propertyValidator("thumbnailConfiguration",CfnRecordingConfigurationThumbnailConfigurationPropertyValidator)(properties.thumbnailConfiguration)),errors.wrap('supplied properties not correct for "CfnRecordingConfigurationProps"')}function convertCfnRecordingConfigurationPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnRecordingConfigurationPropsValidator(properties).assertSuccess(),{DestinationConfiguration:convertCfnRecordingConfigurationDestinationConfigurationPropertyToCloudFormation(properties.destinationConfiguration),Name:cdk().stringToCloudFormation(properties.name),RecordingReconnectWindowSeconds:cdk().numberToCloudFormation(properties.recordingReconnectWindowSeconds),RenditionConfiguration:convertCfnRecordingConfigurationRenditionConfigurationPropertyToCloudFormation(properties.renditionConfiguration),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags),ThumbnailConfiguration:convertCfnRecordingConfigurationThumbnailConfigurationPropertyToCloudFormation(properties.thumbnailConfiguration)}):properties}function CfnRecordingConfigurationPropsFromCloudFormation(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("destinationConfiguration","DestinationConfiguration",properties.DestinationConfiguration!=null?CfnRecordingConfigurationDestinationConfigurationPropertyFromCloudFormation(properties.DestinationConfiguration):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("recordingReconnectWindowSeconds","RecordingReconnectWindowSeconds",properties.RecordingReconnectWindowSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.RecordingReconnectWindowSeconds):void 0),ret.addPropertyResult("renditionConfiguration","RenditionConfiguration",properties.RenditionConfiguration!=null?CfnRecordingConfigurationRenditionConfigurationPropertyFromCloudFormation(properties.RenditionConfiguration):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addPropertyResult("thumbnailConfiguration","ThumbnailConfiguration",properties.ThumbnailConfiguration!=null?CfnRecordingConfigurationThumbnailConfigurationPropertyFromCloudFormation(properties.ThumbnailConfiguration):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnStreamKey extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ivs.CfnStreamKey",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::IVS::StreamKey";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnStreamKeyPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnStreamKey(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}static isCfnStreamKey(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnStreamKey.CFN_RESOURCE_TYPE_NAME}static arnForStreamKey(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_ivs_IStreamKeyRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForStreamKey),error}return resource.streamKeyRef.streamKeyArn}_channelArn;tags;_tagsRaw;cfnPropertyNames={channelArn:"ChannelArn",tags:"Tags"};constructor(scope,id,props){super(scope,id,{type:CfnStreamKey.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ivs_CfnStreamKeyProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnStreamKey),error}cdk().requireProperty(props,"channelArn",this),this._channelArn=cdk().getRefProperty(props.channelArn?.channelRef,"channelArn")??cdk().ensureStringOrUndefined(props.channelArn,"channelArn","ivs.IChannelRef | string"),this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IVS::StreamKey",props.tags,{tagPropertyName:"tags"}),this._tagsRaw=props.tags}get streamKeyRef(){return{streamKeyArn:this.ref}}get channelArn(){return this._channelArn}set channelArn(value){cdk().traceProperty(this.node,"ChannelArn"),this._channelArn=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrValue(){return cdk().Token.asString(this.getAtt("Value",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{channelArn:this._channelArn,tags:this.tags.renderTags()}}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",CfnStreamKey.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnStreamKeyPropsToCloudFormation(props)}}exports.CfnStreamKey=CfnStreamKey;function CfnStreamKeyPropsValidator(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("channelArn",cdk().requiredValidator)(properties.channelArn)),errors.collect(cdk().propertyValidator("channelArn",cdk().validateString)(properties.channelArn)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnStreamKeyProps"')}function convertCfnStreamKeyPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnStreamKeyPropsValidator(properties).assertSuccess(),{ChannelArn:cdk().stringToCloudFormation(properties.channelArn),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnStreamKeyPropsFromCloudFormation(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("channelArn","ChannelArn",properties.ChannelArn!=null?cfn_parse().FromCloudFormation.getString(properties.ChannelArn):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 CfnEncoderConfiguration extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ivs.CfnEncoderConfiguration",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::IVS::EncoderConfiguration";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnEncoderConfigurationPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnEncoderConfiguration(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}static isCfnEncoderConfiguration(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnEncoderConfiguration.CFN_RESOURCE_TYPE_NAME}static arnForEncoderConfiguration(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_ivs_IEncoderConfigurationRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForEncoderConfiguration),error}return resource.encoderConfigurationRef.encoderConfigurationArn}cdkTagManager;_name;_tags;_video;cfnPropertyNames={tags:"Tags",name:"Name",video:"Video"};constructor(scope,id,props={}){super(scope,id,{type:CfnEncoderConfiguration.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ivs_CfnEncoderConfigurationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnEncoderConfiguration),error}this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IVS::EncoderConfiguration",void 0,{tagPropertyName:"tags"}),this._name=props.name,this._tags=props.tags,this._video=props.video}get encoderConfigurationRef(){return{encoderConfigurationArn:this.ref}}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get video(){return this._video}set video(value){cdk().traceProperty(this.node,"Video"),this._video=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this._tags),name:this._name,video:this._video}}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",CfnEncoderConfiguration.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnEncoderConfigurationPropsToCloudFormation(props)}}exports.CfnEncoderConfiguration=CfnEncoderConfiguration;function CfnEncoderConfigurationVideoPropertyValidator(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("bitrate",cdk().validateNumber)(properties.bitrate)),errors.collect(cdk().propertyValidator("framerate",cdk().validateNumber)(properties.framerate)),errors.collect(cdk().propertyValidator("height",cdk().validateNumber)(properties.height)),errors.collect(cdk().propertyValidator("width",cdk().validateNumber)(properties.width)),errors.wrap('supplied properties not correct for "VideoProperty"')}function convertCfnEncoderConfigurationVideoPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnEncoderConfigurationVideoPropertyValidator(properties).assertSuccess(),{Bitrate:cdk().numberToCloudFormation(properties.bitrate),Framerate:cdk().numberToCloudFormation(properties.framerate),Height:cdk().numberToCloudFormation(properties.height),Width:cdk().numberToCloudFormation(properties.width)}):properties}function CfnEncoderConfigurationVideoPropertyFromCloudFormation(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("bitrate","Bitrate",properties.Bitrate!=null?cfn_parse().FromCloudFormation.getNumber(properties.Bitrate):void 0),ret.addPropertyResult("framerate","Framerate",properties.Framerate!=null?cfn_parse().FromCloudFormation.getNumber(properties.Framerate):void 0),ret.addPropertyResult("height","Height",properties.Height!=null?cfn_parse().FromCloudFormation.getNumber(properties.Height):void 0),ret.addPropertyResult("width","Width",properties.Width!=null?cfn_parse().FromCloudFormation.getNumber(properties.Width):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnEncoderConfigurationPropsValidator(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().validateString)(properties.name)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.collect(cdk().propertyValidator("video",CfnEncoderConfigurationVideoPropertyValidator)(properties.video)),errors.wrap('supplied properties not correct for "CfnEncoderConfigurationProps"')}function convertCfnEncoderConfigurationPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnEncoderConfigurationPropsValidator(properties).assertSuccess(),{Name:cdk().stringToCloudFormation(properties.name),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags),Video:convertCfnEncoderConfigurationVideoPropertyToCloudFormation(properties.video)}):properties}function CfnEncoderConfigurationPropsFromCloudFormation(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.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addPropertyResult("video","Video",properties.Video!=null?CfnEncoderConfigurationVideoPropertyFromCloudFormation(properties.Video):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnIngestConfiguration extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ivs.CfnIngestConfiguration",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::IVS::IngestConfiguration";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnIngestConfigurationPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnIngestConfiguration(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}static isCfnIngestConfiguration(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnIngestConfiguration.CFN_RESOURCE_TYPE_NAME}static arnForIngestConfiguration(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_ivs_IIngestConfigurationRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForIngestConfiguration),error}return resource.ingestConfigurationRef.ingestConfigurationArn}cdkTagManager;_ingestProtocol;_insecureIngest;_name;_stageArn;_tags;_userId;cfnPropertyNames={tags:"Tags",ingestProtocol:"IngestProtocol",insecureIngest:"InsecureIngest",name:"Name",stageArn:"StageArn",userId:"UserId"};constructor(scope,id,props={}){super(scope,id,{type:CfnIngestConfiguration.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ivs_CfnIngestConfigurationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnIngestConfiguration),error}this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IVS::IngestConfiguration",void 0,{tagPropertyName:"tags"}),this._ingestProtocol=props.ingestProtocol,this._insecureIngest=props.insecureIngest,this._name=props.name,this._stageArn=props.stageArn,this._tags=props.tags,this._userId=props.userId}get ingestConfigurationRef(){return{ingestConfigurationArn:this.ref}}get ingestProtocol(){return this._ingestProtocol}set ingestProtocol(value){cdk().traceProperty(this.node,"IngestProtocol"),this._ingestProtocol=value}get insecureIngest(){return this._insecureIngest}set insecureIngest(value){cdk().traceProperty(this.node,"InsecureIngest"),this._insecureIngest=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get stageArn(){return this._stageArn}set stageArn(value){cdk().traceProperty(this.node,"StageArn"),this._stageArn=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get userId(){return this._userId}set userId(value){cdk().traceProperty(this.node,"UserId"),this._userId=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrParticipantId(){return cdk().Token.asString(this.getAtt("ParticipantId",cdk().ResolutionTypeHint.STRING))}get attrState(){return cdk().Token.asString(this.getAtt("State",cdk().ResolutionTypeHint.STRING))}get attrStreamKey(){return cdk().Token.asString(this.getAtt("StreamKey",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this._tags),ingestProtocol:this._ingestProtocol,insecureIngest:this._insecureIngest,name:this._name,stageArn:this._stageArn,userId:this._userId}}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",CfnIngestConfiguration.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnIngestConfigurationPropsToCloudFormation(props)}}exports.CfnIngestConfiguration=CfnIngestConfiguration;function CfnIngestConfigurationPropsValidator(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("ingestProtocol",cdk().validateString)(properties.ingestProtocol)),errors.collect(cdk().propertyValidator("insecureIngest",cdk().validateBoolean)(properties.insecureIngest)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("stageArn",cdk().validateString)(properties.stageArn)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.collect(cdk().propertyValidator("userId",cdk().validateString)(properties.userId)),errors.wrap('supplied properties not correct for "CfnIngestConfigurationProps"')}function convertCfnIngestConfigurationPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIngestConfigurationPropsValidator(properties).assertSuccess(),{IngestProtocol:cdk().stringToCloudFormation(properties.ingestProtocol),InsecureIngest:cdk().booleanToCloudFormation(properties.insecureIngest),Name:cdk().stringToCloudFormation(properties.name),StageArn:cdk().stringToCloudFormation(properties.stageArn),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags),UserId:cdk().stringToCloudFormation(properties.userId)}):properties}function CfnIngestConfigurationPropsFromCloudFormation(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("ingestProtocol","IngestProtocol",properties.IngestProtocol!=null?cfn_parse().FromCloudFormation.getString(properties.IngestProtocol):void 0),ret.addPropertyResult("insecureIngest","InsecureIngest",properties.InsecureIngest!=null?cfn_parse().FromCloudFormation.getBoolean(properties.InsecureIngest):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("stageArn","StageArn",properties.StageArn!=null?cfn_parse().FromCloudFormation.getString(properties.StageArn):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addPropertyResult("userId","UserId",properties.UserId!=null?cfn_parse().FromCloudFormation.getString(properties.UserId):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnPlaybackRestrictionPolicy extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ivs.CfnPlaybackRestrictionPolicy",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::IVS::PlaybackRestrictionPolicy";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnPlaybackRestrictionPolicyPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnPlaybackRestrictionPolicy(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}static isCfnPlaybackRestrictionPolicy(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnPlaybackRestrictionPolicy.CFN_RESOURCE_TYPE_NAME}static arnForPlaybackRestrictionPolicy(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_ivs_IPlaybackRestrictionPolicyRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForPlaybackRestrictionPolicy),error}return resource.playbackRestrictionPolicyRef.playbackRestrictionPolicyArn}_allowedCountries;_allowedOrigins;cdkTagManager;_enableStrictOriginEnforcement;_name;_tags;cfnPropertyNames={allowedCountries:"AllowedCountries",allowedOrigins:"AllowedOrigins",tags:"Tags",enableStrictOriginEnforcement:"EnableStrictOriginEnforcement",name:"Name"};constructor(scope,id,props={}){super(scope,id,{type:CfnPlaybackRestrictionPolicy.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ivs_CfnPlaybackRestrictionPolicyProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnPlaybackRestrictionPolicy),error}this._allowedCountries=props.allowedCountries,this._allowedOrigins=props.allowedOrigins,this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IVS::PlaybackRestrictionPolicy",void 0,{tagPropertyName:"tags"}),this._enableStrictOriginEnforcement=props.enableStrictOriginEnforcement,this._name=props.name,this._tags=props.tags}get playbackRestrictionPolicyRef(){return{playbackRestrictionPolicyArn:this.ref}}get allowedCountries(){return this._allowedCountries}set allowedCountries(value){cdk().traceProperty(this.node,"AllowedCountries"),this._allowedCountries=value}get allowedOrigins(){return this._allowedOrigins}set allowedOrigins(value){cdk().traceProperty(this.node,"AllowedOrigins"),this._allowedOrigins=value}get enableStrictOriginEnforcement(){return this._enableStrictOriginEnforcement}set enableStrictOriginEnforcement(value){cdk().traceProperty(this.node,"EnableStrictOriginEnforcement"),this._enableStrictOriginEnforcement=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{allowedCountries:this._allowedCountries,allowedOrigins:this._allowedOrigins,tags:this.cdkTagManager.renderTags(this._tags),enableStrictOriginEnforcement:this._enableStrictOriginEnforcement,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",CfnPlaybackRestrictionPolicy.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnPlaybackRestrictionPolicyPropsToCloudFormation(props)}}exports.CfnPlaybackRestrictionPolicy=CfnPlaybackRestrictionPolicy;function CfnPlaybackRestrictionPolicyPropsValidator(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("allowedCountries",cdk().listValidator(cdk().validateString))(properties.allowedCountries)),errors.collect(cdk().propertyValidator("allowedOrigins",cdk().listValidator(cdk().validateString))(properties.allowedOrigins)),errors.collect(cdk().propertyValidator("enableStrictOriginEnforcement",cdk().validateBoolean)(properties.enableStrictOriginEnforcement)),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 "CfnPlaybackRestrictionPolicyProps"')}function convertCfnPlaybackRestrictionPolicyPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnPlaybackRestrictionPolicyPropsValidator(properties).assertSuccess(),{AllowedCountries:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedCountries),AllowedOrigins:cdk().listMapper(cdk().stringToCloudFormation)(properties.allowedOrigins),EnableStrictOriginEnforcement:cdk().booleanToCloudFormation(properties.enableStrictOriginEnforcement),Name:cdk().stringToCloudFormation(properties.name),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnPlaybackRestrictionPolicyPropsFromCloudFormation(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("allowedCountries","AllowedCountries",properties.AllowedCountries!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedCountries):void 0),ret.addPropertyResult("allowedOrigins","AllowedOrigins",properties.AllowedOrigins!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AllowedOrigins):void 0),ret.addPropertyResult("enableStrictOriginEnforcement","EnableStrictOriginEnforcement",properties.EnableStrictOriginEnforcement!=null?cfn_parse().FromCloudFormation.getBoolean(properties.EnableStrictOriginEnforcement):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 CfnPublicKey extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ivs.CfnPublicKey",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::IVS::PublicKey";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnPublicKeyPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnPublicKey(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}static isCfnPublicKey(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnPublicKey.CFN_RESOURCE_TYPE_NAME}static arnForPublicKey(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_ivs_IPublicKeyRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForPublicKey),error}return resource.publicKeyRef.publicKeyArn}cdkTagManager;_name;_publicKeyMaterial;_tags;cfnPropertyNames={tags:"Tags",name:"Name",publicKeyMaterial:"PublicKeyMaterial"};constructor(scope,id,props={}){super(scope,id,{type:CfnPublicKey.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ivs_CfnPublicKeyProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnPublicKey),error}this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IVS::PublicKey",void 0,{tagPropertyName:"tags"}),this._name=props.name,this._publicKeyMaterial=props.publicKeyMaterial,this._tags=props.tags}get publicKeyRef(){return{publicKeyArn:this.ref}}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get publicKeyMaterial(){return this._publicKeyMaterial}set publicKeyMaterial(value){cdk().traceProperty(this.node,"PublicKeyMaterial"),this._publicKeyMaterial=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrFingerprint(){return cdk().Token.asString(this.getAtt("Fingerprint",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this._tags),name:this._name,publicKeyMaterial:this._publicKeyMaterial}}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",CfnPublicKey.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnPublicKeyPropsToCloudFormation(props)}}exports.CfnPublicKey=CfnPublicKey;function CfnPublicKeyPropsValidator(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().validateString)(properties.name)),errors.collect(cdk().propertyValidator("publicKeyMaterial",cdk().validateString)(properties.publicKeyMaterial)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnPublicKeyProps"')}function convertCfnPublicKeyPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnPublicKeyPropsValidator(properties).assertSuccess(),{Name:cdk().stringToCloudFormation(properties.name),PublicKeyMaterial:cdk().stringToCloudFormation(properties.publicKeyMaterial),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnPublicKeyPropsFromCloudFormation(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.addPropertyResult("publicKeyMaterial","PublicKeyMaterial",properties.PublicKeyMaterial!=null?cfn_parse().FromCloudFormation.getString(properties.PublicKeyMaterial):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 CfnStage extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ivs.CfnStage",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::IVS::Stage";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnStagePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnStage(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}static isCfnStage(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnStage.CFN_RESOURCE_TYPE_NAME}static arnForStage(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_ivs_IStageRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForStage),error}return resource.stageRef.stageArn}_autoParticipantRecordingConfiguration;cdkTagManager;_name;_tags;cfnPropertyNames={autoParticipantRecordingConfiguration:"AutoParticipantRecordingConfiguration",tags:"Tags",name:"Name"};constructor(scope,id,props={}){super(scope,id,{type:CfnStage.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ivs_CfnStageProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnStage),error}this._autoParticipantRecordingConfiguration=props.autoParticipantRecordingConfiguration,this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IVS::Stage",void 0,{tagPropertyName:"tags"}),this._name=props.name,this._tags=props.tags}get stageRef(){return{stageArn:this.ref}}get autoParticipantRecordingConfiguration(){return this._autoParticipantRecordingConfiguration}set autoParticipantRecordingConfiguration(value){cdk().traceProperty(this.node,"AutoParticipantRecordingConfiguration"),this._autoParticipantRecordingConfiguration=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get attrActiveSessionId(){return cdk().Token.asString(this.getAtt("ActiveSessionId",cdk().ResolutionTypeHint.STRING))}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{autoParticipantRecordingConfiguration:this._autoParticipantRecordingConfiguration,tags:this.cdkTagManager.renderTags(this._tags),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",CfnStage.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnStagePropsToCloudFormation(props)}}exports.CfnStage=CfnStage;function CfnStageParticipantRecordingHlsConfigurationPropertyValidator(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("targetSegmentDurationSeconds",cdk().validateNumber)(properties.targetSegmentDurationSeconds)),errors.wrap('supplied properties not correct for "ParticipantRecordingHlsConfigurationProperty"')}function convertCfnStageParticipantRecordingHlsConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnStageParticipantRecordingHlsConfigurationPropertyValidator(properties).assertSuccess(),{TargetSegmentDurationSeconds:cdk().numberToCloudFormation(properties.targetSegmentDurationSeconds)}):properties}function CfnStageParticipantRecordingHlsConfigurationPropertyFromCloudFormation(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("targetSegmentDurationSeconds","TargetSegmentDurationSeconds",properties.TargetSegmentDurationSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.TargetSegmentDurationSeconds):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnStageHlsConfigurationPropertyValidator(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("participantRecordingHlsConfiguration",CfnStageParticipantRecordingHlsConfigurationPropertyValidator)(properties.participantRecordingHlsConfiguration)),errors.wrap('supplied properties not correct for "HlsConfigurationProperty"')}function convertCfnStageHlsConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnStageHlsConfigurationPropertyValidator(properties).assertSuccess(),{ParticipantRecordingHlsConfiguration:convertCfnStageParticipantRecordingHlsConfigurationPropertyToCloudFormation(properties.participantRecordingHlsConfiguration)}):properties}function CfnStageHlsConfigurationPropertyFromCloudFormation(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("participantRecordingHlsConfiguration","ParticipantRecordingHlsConfiguration",properties.ParticipantRecordingHlsConfiguration!=null?CfnStageParticipantRecordingHlsConfigurationPropertyFromCloudFormation(properties.ParticipantRecordingHlsConfiguration):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnStageParticipantThumbnailConfigurationPropertyValidator(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("recordingMode",cdk().validateString)(properties.recordingMode)),errors.collect(cdk().propertyValidator("storage",cdk().listValidator(cdk().validateString))(properties.storage)),errors.collect(cdk().propertyValidator("targetIntervalSeconds",cdk().validateNumber)(properties.targetIntervalSeconds)),errors.wrap('supplied properties not correct for "ParticipantThumbnailConfigurationProperty"')}function convertCfnStageParticipantThumbnailConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnStageParticipantThumbnailConfigurationPropertyValidator(properties).assertSuccess(),{RecordingMode:cdk().stringToCloudFormation(properties.recordingMode),Storage:cdk().listMapper(cdk().stringToCloudFormation)(properties.storage),TargetIntervalSeconds:cdk().numberToCloudFormation(properties.targetIntervalSeconds)}):properties}function CfnStageParticipantThumbnailConfigurationPropertyFromCloudFormation(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("recordingMode","RecordingMode",properties.RecordingMode!=null?cfn_parse().FromCloudFormation.getString(properties.RecordingMode):void 0),ret.addPropertyResult("storage","Storage",properties.Storage!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.Storage):void 0),ret.addPropertyResult("targetIntervalSeconds","TargetIntervalSeconds",properties.TargetIntervalSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.TargetIntervalSeconds):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnStageThumbnailConfigurationPropertyValidator(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("participantThumbnailConfiguration",CfnStageParticipantThumbnailConfigurationPropertyValidator)(properties.participantThumbnailConfiguration)),errors.wrap('supplied properties not correct for "ThumbnailConfigurationProperty"')}function convertCfnStageThumbnailConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnStageThumbnailConfigurationPropertyValidator(properties).assertSuccess(),{ParticipantThumbnailConfiguration:convertCfnStageParticipantThumbnailConfigurationPropertyToCloudFormation(properties.participantThumbnailConfiguration)}):properties}function CfnStageThumbnailConfigurationPropertyFromCloudFormation(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("participantThumbnailConfiguration","ParticipantThumbnailConfiguration",properties.ParticipantThumbnailConfiguration!=null?CfnStageParticipantThumbnailConfigurationPropertyFromCloudFormation(properties.ParticipantThumbnailConfiguration):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnStageAutoParticipantRecordingConfigurationPropertyValidator(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("hlsConfiguration",CfnStageHlsConfigurationPropertyValidator)(properties.hlsConfiguration)),errors.collect(cdk().propertyValidator("mediaTypes",cdk().listValidator(cdk().validateString))(properties.mediaTypes)),errors.collect(cdk().propertyValidator("recordingReconnectWindowSeconds",cdk().validateNumber)(properties.recordingReconnectWindowSeconds)),errors.collect(cdk().propertyValidator("storageConfigurationArn",cdk().requiredValidator)(properties.storageConfigurationArn)),errors.collect(cdk().propertyValidator("storageConfigurationArn",cdk().validateString)(properties.storageConfigurationArn)),errors.collect(cdk().propertyValidator("thumbnailConfiguration",CfnStageThumbnailConfigurationPropertyValidator)(properties.thumbnailConfiguration)),errors.wrap('supplied properties not correct for "AutoParticipantRecordingConfigurationProperty"')}function convertCfnStageAutoParticipantRecordingConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnStageAutoParticipantRecordingConfigurationPropertyValidator(properties).assertSuccess(),{HlsConfiguration:convertCfnStageHlsConfigurationPropertyToCloudFormation(properties.hlsConfiguration),MediaTypes:cdk().listMapper(cdk().stringToCloudFormation)(properties.mediaTypes),RecordingReconnectWindowSeconds:cdk().numberToCloudFormation(properties.recordingReconnectWindowSeconds),StorageConfigurationArn:cdk().stringToCloudFormation(properties.storageConfigurationArn),ThumbnailConfiguration:convertCfnStageThumbnailConfigurationPropertyToCloudFormation(properties.thumbnailConfiguration)}):properties}function CfnStageAutoParticipantRecordingConfigurationPropertyFromCloudFormation(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("hlsConfiguration","HlsConfiguration",properties.HlsConfiguration!=null?CfnStageHlsConfigurationPropertyFromCloudFormation(properties.HlsConfiguration):void 0),ret.addPropertyResult("mediaTypes","MediaTypes",properties.MediaTypes!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.MediaTypes):void 0),ret.addPropertyResult("recordingReconnectWindowSeconds","RecordingReconnectWindowSeconds",properties.RecordingReconnectWindowSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.RecordingReconnectWindowSeconds):void 0),ret.addPropertyResult("storageConfigurationArn","StorageConfigurationArn",properties.StorageConfigurationArn!=null?cfn_parse().FromCloudFormation.getString(properties.StorageConfigurationArn):void 0),ret.addPropertyResult("thumbnailConfiguration","ThumbnailConfiguration",properties.ThumbnailConfiguration!=null?CfnStageThumbnailConfigurationPropertyFromCloudFormation(properties.ThumbnailConfiguration):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnStagePropsValidator(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("autoParticipantRecordingConfiguration",CfnStageAutoParticipantRecordingConfigurationPropertyValidator)(properties.autoParticipantRecordingConfiguration)),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 "CfnStageProps"')}function convertCfnStagePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnStagePropsValidator(properties).assertSuccess(),{AutoParticipantRecordingConfiguration:convertCfnStageAutoParticipantRecordingConfigurationPropertyToCloudFormation(properties.autoParticipantRecordingConfiguration),Name:cdk().stringToCloudFormation(properties.name),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnStagePropsFromCloudFormation(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("autoParticipantRecordingConfiguration","AutoParticipantRecordingConfiguration",properties.AutoParticipantRecordingConfiguration!=null?CfnStageAutoParticipantRecordingConfigurationPropertyFromCloudFormation(properties.AutoParticipantRecordingConfiguration):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 CfnStorageConfiguration extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ivs.CfnStorageConfiguration",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::IVS::StorageConfiguration";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnStorageConfigurationPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnStorageConfiguration(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}static isCfnStorageConfiguration(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnStorageConfiguration.CFN_RESOURCE_TYPE_NAME}static arnForStorageConfiguration(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_ivs_IStorageConfigurationRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForStorageConfiguration),error}return resource.storageConfigurationRef.storageConfigurationArn}cdkTagManager;_name;_s3;_tags;cfnPropertyNames={tags:"Tags",name:"Name",s3:"S3"};constructor(scope,id,props){super(scope,id,{type:CfnStorageConfiguration.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ivs_CfnStorageConfigurationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnStorageConfiguration),error}cdk().requireProperty(props,"s3",this),this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IVS::StorageConfiguration",void 0,{tagPropertyName:"tags"}),this._name=props.name,this._s3=props.s3,this._tags=props.tags}get storageConfigurationRef(){return{storageConfigurationArn:this.ref}}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get s3(){return this._s3}set s3(value){cdk().traceProperty(this.node,"S3"),this._s3=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this._tags),name:this._name,s3:this._s3}}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",CfnStorageConfiguration.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnStorageConfigurationPropsToCloudFormation(props)}}exports.CfnStorageConfiguration=CfnStorageConfiguration;function CfnStorageConfigurationS3StorageConfigurationPropertyValidator(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("bucketName",cdk().requiredValidator)(properties.bucketName)),errors.collect(cdk().propertyValidator("bucketName",cdk().validateString)(properties.bucketName)),errors.wrap('supplied properties not correct for "S3StorageConfigurationProperty"')}function convertCfnStorageConfigurationS3StorageConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnStorageConfigurationS3StorageConfigurationPropertyValidator(properties).assertSuccess(),{BucketName:cdk().stringToCloudFormation(properties.bucketName)}):properties}function CfnStorageConfigurationS3StorageConfigurationPropertyFromCloudFormation(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("bucketName","BucketName",properties.BucketName!=null?cfn_parse().FromCloudFormation.getString(properties.BucketName):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnStorageConfigurationPropsValidator(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().validateString)(properties.name)),errors.collect(cdk().propertyValidator("s3",cdk().requiredValidator)(properties.s3)),errors.collect(cdk().propertyValidator("s3",CfnStorageConfigurationS3StorageConfigurationPropertyValidator)(properties.s3)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnStorageConfigurationProps"')}function convertCfnStorageConfigurationPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnStorageConfigurationPropsValidator(properties).assertSuccess(),{Name:cdk().stringToCloudFormation(properties.name),S3:convertCfnStorageConfigurationS3StorageConfigurationPropertyToCloudFormation(properties.s3),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnStorageConfigurationPropsFromCloudFormation(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.addPropertyResult("s3","S3",properties.S3!=null?CfnStorageConfigurationS3StorageConfigurationPropertyFromCloudFormation(properties.S3):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}