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

io.burkard.cdk.services.dlm.cfnLifecyclePolicy.CrossRegionCopyActionProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.dlm.cfnLifecyclePolicy

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

  def apply(
    target: String,
    encryptionConfiguration: software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.EncryptionConfigurationProperty,
    retainRule: Option[software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty] = None
  ): software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.CrossRegionCopyActionProperty =
    (new software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.CrossRegionCopyActionProperty.Builder)
      .target(target)
      .encryptionConfiguration(encryptionConfiguration)
      .retainRule(retainRule.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy