io.burkard.cdk.services.codepipeline.cfnPipeline.ArtifactStoreProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.codepipeline.cfnPipeline
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ArtifactStoreProperty {
def apply(
`type`: String,
location: String,
encryptionKey: Option[software.amazon.awscdk.services.codepipeline.CfnPipeline.EncryptionKeyProperty] = None
): software.amazon.awscdk.services.codepipeline.CfnPipeline.ArtifactStoreProperty =
(new software.amazon.awscdk.services.codepipeline.CfnPipeline.ArtifactStoreProperty.Builder)
.`type`(`type`)
.location(location)
.encryptionKey(encryptionKey.orNull)
.build()
}