io.burkard.cdk.services.kms.CfnAlias.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.kms
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnAlias {
def apply(
internalResourceId: String,
aliasName: String,
targetKeyId: String
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.kms.CfnAlias =
software.amazon.awscdk.services.kms.CfnAlias.Builder
.create(stackCtx, internalResourceId)
.aliasName(aliasName)
.targetKeyId(targetKeyId)
.build()
}