![JAR search and dependency download from the Maven repository](/logo.png)
io.burkard.cdk.services.dynamodb.CfnGlobalTableProps.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.dynamodb
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnGlobalTableProps {
def apply(
attributeDefinitions: List[_],
replicas: List[_],
keySchema: List[_],
streamSpecification: Option[software.amazon.awscdk.services.dynamodb.CfnGlobalTable.StreamSpecificationProperty] = None,
globalSecondaryIndexes: Option[List[_]] = None,
billingMode: Option[String] = None,
timeToLiveSpecification: Option[software.amazon.awscdk.services.dynamodb.CfnGlobalTable.TimeToLiveSpecificationProperty] = None,
sseSpecification: Option[software.amazon.awscdk.services.dynamodb.CfnGlobalTable.SSESpecificationProperty] = None,
tableName: Option[String] = None,
localSecondaryIndexes: Option[List[_]] = None,
writeProvisionedThroughputSettings: Option[software.amazon.awscdk.services.dynamodb.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty] = None
): software.amazon.awscdk.services.dynamodb.CfnGlobalTableProps =
(new software.amazon.awscdk.services.dynamodb.CfnGlobalTableProps.Builder)
.attributeDefinitions(attributeDefinitions.asJava)
.replicas(replicas.asJava)
.keySchema(keySchema.asJava)
.streamSpecification(streamSpecification.orNull)
.globalSecondaryIndexes(globalSecondaryIndexes.map(_.asJava).orNull)
.billingMode(billingMode.orNull)
.timeToLiveSpecification(timeToLiveSpecification.orNull)
.sseSpecification(sseSpecification.orNull)
.tableName(tableName.orNull)
.localSecondaryIndexes(localSecondaryIndexes.map(_.asJava).orNull)
.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.orNull)
.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy