UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

2 lines (1 loc) 22.8 kB
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnSyncConfiguration=exports.CfnRepositoryLink=exports.CfnConnection=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 CfnConnection extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_codestarconnections.CfnConnection",version:"2.251.0"};static CFN_RESOURCE_TYPE_NAME="AWS::CodeStarConnections::Connection";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnConnectionPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnConnection(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 isCfnConnection(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnConnection.CFN_RESOURCE_TYPE_NAME}static arnForConnection(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_codestarconnections_IConnectionRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForConnection),error}return resource.connectionRef.connectionArn}_connectionName;_hostArn;_providerType;tags;_tagsRaw;constructor(scope,id,props){super(scope,id,{type:CfnConnection.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_codestarconnections_CfnConnectionProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnConnection),error}cdk().requireProperty(props,"connectionName",this),this._connectionName=props.connectionName,this._hostArn=props.hostArn,this._providerType=props.providerType,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::CodeStarConnections::Connection",props.tags,{tagPropertyName:"tags"}),this._tagsRaw=props.tags}get connectionRef(){return{connectionArn:this.ref}}get connectionName(){return this._connectionName}set connectionName(value){cdk().traceProperty(this.node,"ConnectionName"),this._connectionName=value}get hostArn(){return this._hostArn}set hostArn(value){cdk().traceProperty(this.node,"HostArn"),this._hostArn=value}get providerType(){return this._providerType}set providerType(value){cdk().traceProperty(this.node,"ProviderType"),this._providerType=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get attrConnectionArn(){return cdk().Token.asString(this.getAtt("ConnectionArn",cdk().ResolutionTypeHint.STRING))}get attrConnectionStatus(){return cdk().Token.asString(this.getAtt("ConnectionStatus",cdk().ResolutionTypeHint.STRING))}get attrOwnerAccountId(){return cdk().Token.asString(this.getAtt("OwnerAccountId",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{connectionName:this._connectionName,hostArn:this._hostArn,providerType:this._providerType,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",CfnConnection.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnConnectionPropsToCloudFormation(props)}}exports.CfnConnection=CfnConnection;function CfnConnectionPropsValidator(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("connectionName",cdk().requiredValidator)(properties.connectionName)),errors.collect(cdk().propertyValidator("connectionName",cdk().validateString)(properties.connectionName)),errors.collect(cdk().propertyValidator("hostArn",cdk().validateString)(properties.hostArn)),errors.collect(cdk().propertyValidator("providerType",cdk().validateString)(properties.providerType)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnConnectionProps"')}function convertCfnConnectionPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConnectionPropsValidator(properties).assertSuccess(),{ConnectionName:cdk().stringToCloudFormation(properties.connectionName),HostArn:cdk().stringToCloudFormation(properties.hostArn),ProviderType:cdk().stringToCloudFormation(properties.providerType),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnConnectionPropsFromCloudFormation(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("connectionName","ConnectionName",properties.ConnectionName!=null?cfn_parse().FromCloudFormation.getString(properties.ConnectionName):void 0),ret.addPropertyResult("hostArn","HostArn",properties.HostArn!=null?cfn_parse().FromCloudFormation.getString(properties.HostArn):void 0),ret.addPropertyResult("providerType","ProviderType",properties.ProviderType!=null?cfn_parse().FromCloudFormation.getString(properties.ProviderType):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 CfnRepositoryLink extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_codestarconnections.CfnRepositoryLink",version:"2.251.0"};static CFN_RESOURCE_TYPE_NAME="AWS::CodeStarConnections::RepositoryLink";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnRepositoryLinkPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnRepositoryLink(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 isCfnRepositoryLink(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnRepositoryLink.CFN_RESOURCE_TYPE_NAME}static arnForRepositoryLink(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_codestarconnections_IRepositoryLinkRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForRepositoryLink),error}return resource.repositoryLinkRef.repositoryLinkArn}cdkTagManager;_connectionArn;_encryptionKeyArn;_ownerId;_repositoryName;_tags;constructor(scope,id,props){super(scope,id,{type:CfnRepositoryLink.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_codestarconnections_CfnRepositoryLinkProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnRepositoryLink),error}cdk().requireProperty(props,"connectionArn",this),cdk().requireProperty(props,"ownerId",this),cdk().requireProperty(props,"repositoryName",this),this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::CodeStarConnections::RepositoryLink",void 0,{tagPropertyName:"tags"}),this._connectionArn=props.connectionArn,this._encryptionKeyArn=props.encryptionKeyArn,this._ownerId=props.ownerId,this._repositoryName=props.repositoryName,this._tags=props.tags}get repositoryLinkRef(){return{repositoryLinkArn:this.ref}}get connectionArn(){return this._connectionArn}set connectionArn(value){cdk().traceProperty(this.node,"ConnectionArn"),this._connectionArn=value}get encryptionKeyArn(){return this._encryptionKeyArn}set encryptionKeyArn(value){cdk().traceProperty(this.node,"EncryptionKeyArn"),this._encryptionKeyArn=value}get ownerId(){return this._ownerId}set ownerId(value){cdk().traceProperty(this.node,"OwnerId"),this._ownerId=value}get repositoryName(){return this._repositoryName}set repositoryName(value){cdk().traceProperty(this.node,"RepositoryName"),this._repositoryName=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get attrProviderType(){return cdk().Token.asString(this.getAtt("ProviderType",cdk().ResolutionTypeHint.STRING))}get attrRepositoryLinkArn(){return cdk().Token.asString(this.getAtt("RepositoryLinkArn",cdk().ResolutionTypeHint.STRING))}get attrRepositoryLinkId(){return cdk().Token.asString(this.getAtt("RepositoryLinkId",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this._tags),connectionArn:this._connectionArn,encryptionKeyArn:this._encryptionKeyArn,ownerId:this._ownerId,repositoryName:this._repositoryName}}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",CfnRepositoryLink.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnRepositoryLinkPropsToCloudFormation(props)}}exports.CfnRepositoryLink=CfnRepositoryLink;function CfnRepositoryLinkPropsValidator(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("connectionArn",cdk().requiredValidator)(properties.connectionArn)),errors.collect(cdk().propertyValidator("connectionArn",cdk().validateString)(properties.connectionArn)),errors.collect(cdk().propertyValidator("encryptionKeyArn",cdk().validateString)(properties.encryptionKeyArn)),errors.collect(cdk().propertyValidator("ownerId",cdk().requiredValidator)(properties.ownerId)),errors.collect(cdk().propertyValidator("ownerId",cdk().validateString)(properties.ownerId)),errors.collect(cdk().propertyValidator("repositoryName",cdk().requiredValidator)(properties.repositoryName)),errors.collect(cdk().propertyValidator("repositoryName",cdk().validateString)(properties.repositoryName)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnRepositoryLinkProps"')}function convertCfnRepositoryLinkPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnRepositoryLinkPropsValidator(properties).assertSuccess(),{ConnectionArn:cdk().stringToCloudFormation(properties.connectionArn),EncryptionKeyArn:cdk().stringToCloudFormation(properties.encryptionKeyArn),OwnerId:cdk().stringToCloudFormation(properties.ownerId),RepositoryName:cdk().stringToCloudFormation(properties.repositoryName),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnRepositoryLinkPropsFromCloudFormation(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("connectionArn","ConnectionArn",properties.ConnectionArn!=null?cfn_parse().FromCloudFormation.getString(properties.ConnectionArn):void 0),ret.addPropertyResult("encryptionKeyArn","EncryptionKeyArn",properties.EncryptionKeyArn!=null?cfn_parse().FromCloudFormation.getString(properties.EncryptionKeyArn):void 0),ret.addPropertyResult("ownerId","OwnerId",properties.OwnerId!=null?cfn_parse().FromCloudFormation.getString(properties.OwnerId):void 0),ret.addPropertyResult("repositoryName","RepositoryName",properties.RepositoryName!=null?cfn_parse().FromCloudFormation.getString(properties.RepositoryName):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 CfnSyncConfiguration extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_codestarconnections.CfnSyncConfiguration",version:"2.251.0"};static CFN_RESOURCE_TYPE_NAME="AWS::CodeStarConnections::SyncConfiguration";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnSyncConfigurationPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnSyncConfiguration(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 isCfnSyncConfiguration(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnSyncConfiguration.CFN_RESOURCE_TYPE_NAME}_branch;_configFile;_publishDeploymentStatus;_repositoryLinkId;_resourceName;_roleArn;_syncType;_triggerResourceUpdateOn;constructor(scope,id,props){super(scope,id,{type:CfnSyncConfiguration.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_codestarconnections_CfnSyncConfigurationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnSyncConfiguration),error}cdk().requireProperty(props,"branch",this),cdk().requireProperty(props,"configFile",this),cdk().requireProperty(props,"repositoryLinkId",this),cdk().requireProperty(props,"resourceName",this),cdk().requireProperty(props,"roleArn",this),cdk().requireProperty(props,"syncType",this),this._branch=props.branch,this._configFile=props.configFile,this._publishDeploymentStatus=props.publishDeploymentStatus,this._repositoryLinkId=props.repositoryLinkId,this._resourceName=props.resourceName,this._roleArn=props.roleArn,this._syncType=props.syncType,this._triggerResourceUpdateOn=props.triggerResourceUpdateOn}get syncConfigurationRef(){return{resourceName:cdk().Fn.select(0,cdk().Fn.split("|",this.ref)),syncType:cdk().Fn.select(1,cdk().Fn.split("|",this.ref))}}get branch(){return this._branch}set branch(value){cdk().traceProperty(this.node,"Branch"),this._branch=value}get configFile(){return this._configFile}set configFile(value){cdk().traceProperty(this.node,"ConfigFile"),this._configFile=value}get publishDeploymentStatus(){return this._publishDeploymentStatus}set publishDeploymentStatus(value){cdk().traceProperty(this.node,"PublishDeploymentStatus"),this._publishDeploymentStatus=value}get repositoryLinkId(){return this._repositoryLinkId}set repositoryLinkId(value){cdk().traceProperty(this.node,"RepositoryLinkId"),this._repositoryLinkId=value}get resourceName(){return this._resourceName}set resourceName(value){cdk().traceProperty(this.node,"ResourceName"),this._resourceName=value}get roleArn(){return this._roleArn}set roleArn(value){cdk().traceProperty(this.node,"RoleArn"),this._roleArn=value}get syncType(){return this._syncType}set syncType(value){cdk().traceProperty(this.node,"SyncType"),this._syncType=value}get triggerResourceUpdateOn(){return this._triggerResourceUpdateOn}set triggerResourceUpdateOn(value){cdk().traceProperty(this.node,"TriggerResourceUpdateOn"),this._triggerResourceUpdateOn=value}get attrOwnerId(){return cdk().Token.asString(this.getAtt("OwnerId",cdk().ResolutionTypeHint.STRING))}get attrProviderType(){return cdk().Token.asString(this.getAtt("ProviderType",cdk().ResolutionTypeHint.STRING))}get attrRepositoryName(){return cdk().Token.asString(this.getAtt("RepositoryName",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{branch:this._branch,configFile:this._configFile,publishDeploymentStatus:this._publishDeploymentStatus,repositoryLinkId:this._repositoryLinkId,resourceName:this._resourceName,roleArn:this._roleArn,syncType:this._syncType,triggerResourceUpdateOn:this._triggerResourceUpdateOn}}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",CfnSyncConfiguration.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnSyncConfigurationPropsToCloudFormation(props)}}exports.CfnSyncConfiguration=CfnSyncConfiguration;function CfnSyncConfigurationPropsValidator(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("branch",cdk().requiredValidator)(properties.branch)),errors.collect(cdk().propertyValidator("branch",cdk().validateString)(properties.branch)),errors.collect(cdk().propertyValidator("configFile",cdk().requiredValidator)(properties.configFile)),errors.collect(cdk().propertyValidator("configFile",cdk().validateString)(properties.configFile)),errors.collect(cdk().propertyValidator("publishDeploymentStatus",cdk().validateString)(properties.publishDeploymentStatus)),errors.collect(cdk().propertyValidator("repositoryLinkId",cdk().requiredValidator)(properties.repositoryLinkId)),errors.collect(cdk().propertyValidator("repositoryLinkId",cdk().validateString)(properties.repositoryLinkId)),errors.collect(cdk().propertyValidator("resourceName",cdk().requiredValidator)(properties.resourceName)),errors.collect(cdk().propertyValidator("resourceName",cdk().validateString)(properties.resourceName)),errors.collect(cdk().propertyValidator("roleArn",cdk().requiredValidator)(properties.roleArn)),errors.collect(cdk().propertyValidator("roleArn",cdk().validateString)(properties.roleArn)),errors.collect(cdk().propertyValidator("syncType",cdk().requiredValidator)(properties.syncType)),errors.collect(cdk().propertyValidator("syncType",cdk().validateString)(properties.syncType)),errors.collect(cdk().propertyValidator("triggerResourceUpdateOn",cdk().validateString)(properties.triggerResourceUpdateOn)),errors.wrap('supplied properties not correct for "CfnSyncConfigurationProps"')}function convertCfnSyncConfigurationPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnSyncConfigurationPropsValidator(properties).assertSuccess(),{Branch:cdk().stringToCloudFormation(properties.branch),ConfigFile:cdk().stringToCloudFormation(properties.configFile),PublishDeploymentStatus:cdk().stringToCloudFormation(properties.publishDeploymentStatus),RepositoryLinkId:cdk().stringToCloudFormation(properties.repositoryLinkId),ResourceName:cdk().stringToCloudFormation(properties.resourceName),RoleArn:cdk().stringToCloudFormation(properties.roleArn),SyncType:cdk().stringToCloudFormation(properties.syncType),TriggerResourceUpdateOn:cdk().stringToCloudFormation(properties.triggerResourceUpdateOn)}):properties}function CfnSyncConfigurationPropsFromCloudFormation(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("branch","Branch",properties.Branch!=null?cfn_parse().FromCloudFormation.getString(properties.Branch):void 0),ret.addPropertyResult("configFile","ConfigFile",properties.ConfigFile!=null?cfn_parse().FromCloudFormation.getString(properties.ConfigFile):void 0),ret.addPropertyResult("publishDeploymentStatus","PublishDeploymentStatus",properties.PublishDeploymentStatus!=null?cfn_parse().FromCloudFormation.getString(properties.PublishDeploymentStatus):void 0),ret.addPropertyResult("repositoryLinkId","RepositoryLinkId",properties.RepositoryLinkId!=null?cfn_parse().FromCloudFormation.getString(properties.RepositoryLinkId):void 0),ret.addPropertyResult("resourceName","ResourceName",properties.ResourceName!=null?cfn_parse().FromCloudFormation.getString(properties.ResourceName):void 0),ret.addPropertyResult("roleArn","RoleArn",properties.RoleArn!=null?cfn_parse().FromCloudFormation.getString(properties.RoleArn):void 0),ret.addPropertyResult("syncType","SyncType",properties.SyncType!=null?cfn_parse().FromCloudFormation.getString(properties.SyncType):void 0),ret.addPropertyResult("triggerResourceUpdateOn","TriggerResourceUpdateOn",properties.TriggerResourceUpdateOn!=null?cfn_parse().FromCloudFormation.getString(properties.TriggerResourceUpdateOn):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}