io.burkard.cdk.services.appsync.cfnGraphQLApi.LogConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.appsync.cfnGraphQLApi
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object LogConfigProperty {
def apply(
cloudWatchLogsRoleArn: Option[String] = None,
excludeVerboseContent: Option[Boolean] = None,
fieldLogLevel: Option[String] = None
): software.amazon.awscdk.services.appsync.CfnGraphQLApi.LogConfigProperty =
(new software.amazon.awscdk.services.appsync.CfnGraphQLApi.LogConfigProperty.Builder)
.cloudWatchLogsRoleArn(cloudWatchLogsRoleArn.orNull)
.excludeVerboseContent(excludeVerboseContent.map(Boolean.box).orNull)
.fieldLogLevel(fieldLogLevel.orNull)
.build()
}