io.burkard.cdk.services.appsync.cfnDataSource.HttpConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.appsync.cfnDataSource
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object HttpConfigProperty {
def apply(
endpoint: String,
authorizationConfig: Option[software.amazon.awscdk.services.appsync.CfnDataSource.AuthorizationConfigProperty] = None
): software.amazon.awscdk.services.appsync.CfnDataSource.HttpConfigProperty =
(new software.amazon.awscdk.services.appsync.CfnDataSource.HttpConfigProperty.Builder)
.endpoint(endpoint)
.authorizationConfig(authorizationConfig.orNull)
.build()
}