io.burkard.cdk.services.appsync.CfnResolver.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.appsync
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnResolver {
def apply(
internalResourceId: String,
typeName: String,
fieldName: String,
apiId: String,
pipelineConfig: Option[software.amazon.awscdk.services.appsync.CfnResolver.PipelineConfigProperty] = None,
responseMappingTemplate: Option[String] = None,
requestMappingTemplate: Option[String] = None,
syncConfig: Option[software.amazon.awscdk.services.appsync.CfnResolver.SyncConfigProperty] = None,
requestMappingTemplateS3Location: Option[String] = None,
dataSourceName: Option[String] = None,
maxBatchSize: Option[Number] = None,
responseMappingTemplateS3Location: Option[String] = None,
kind: Option[String] = None,
cachingConfig: Option[software.amazon.awscdk.services.appsync.CfnResolver.CachingConfigProperty] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.appsync.CfnResolver =
software.amazon.awscdk.services.appsync.CfnResolver.Builder
.create(stackCtx, internalResourceId)
.typeName(typeName)
.fieldName(fieldName)
.apiId(apiId)
.pipelineConfig(pipelineConfig.orNull)
.responseMappingTemplate(responseMappingTemplate.orNull)
.requestMappingTemplate(requestMappingTemplate.orNull)
.syncConfig(syncConfig.orNull)
.requestMappingTemplateS3Location(requestMappingTemplateS3Location.orNull)
.dataSourceName(dataSourceName.orNull)
.maxBatchSize(maxBatchSize.orNull)
.responseMappingTemplateS3Location(responseMappingTemplateS3Location.orNull)
.kind(kind.orNull)
.cachingConfig(cachingConfig.orNull)
.build()
}