io.burkard.cdk.services.ssm.CfnParameter.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ssm
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnParameter {
def apply(
internalResourceId: String,
`type`: String,
value: String,
name: Option[String] = None,
tier: Option[String] = None,
description: Option[String] = None,
tags: Option[AnyRef] = None,
dataType: Option[String] = None,
allowedPattern: Option[String] = None,
policies: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.ssm.CfnParameter =
software.amazon.awscdk.services.ssm.CfnParameter.Builder
.create(stackCtx, internalResourceId)
.`type`(`type`)
.value(value)
.name(name.orNull)
.tier(tier.orNull)
.description(description.orNull)
.tags(tags.orNull)
.dataType(dataType.orNull)
.allowedPattern(allowedPattern.orNull)
.policies(policies.orNull)
.build()
}