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