All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.rds.CfnGlobalCluster.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.rds

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnGlobalCluster {

  def apply(
    internalResourceId: String,
    sourceDbClusterIdentifier: Option[String] = None,
    storageEncrypted: Option[Boolean] = None,
    globalClusterIdentifier: Option[String] = None,
    deletionProtection: Option[Boolean] = None,
    engineVersion: Option[String] = None,
    engine: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.rds.CfnGlobalCluster =
    software.amazon.awscdk.services.rds.CfnGlobalCluster.Builder
      .create(stackCtx, internalResourceId)
      .sourceDbClusterIdentifier(sourceDbClusterIdentifier.orNull)
      .storageEncrypted(storageEncrypted.map(Boolean.box).orNull)
      .globalClusterIdentifier(globalClusterIdentifier.orNull)
      .deletionProtection(deletionProtection.map(Boolean.box).orNull)
      .engineVersion(engineVersion.orNull)
      .engine(engine.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy