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