io.burkard.cdk.services.apigateway.CfnDocumentationVersion.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.apigateway
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnDocumentationVersion {
def apply(
internalResourceId: String,
restApiId: String,
documentationVersion: String,
description: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.apigateway.CfnDocumentationVersion =
software.amazon.awscdk.services.apigateway.CfnDocumentationVersion.Builder
.create(stackCtx, internalResourceId)
.restApiId(restApiId)
.documentationVersion(documentationVersion)
.description(description.orNull)
.build()
}