io.burkard.cdk.services.resiliencehub.cfnResiliencyPolicy.FailurePolicyProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.resiliencehub.cfnResiliencyPolicy
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object FailurePolicyProperty {
def apply(
rpoInSecs: Number,
rtoInSecs: Number
): software.amazon.awscdk.services.resiliencehub.CfnResiliencyPolicy.FailurePolicyProperty =
(new software.amazon.awscdk.services.resiliencehub.CfnResiliencyPolicy.FailurePolicyProperty.Builder)
.rpoInSecs(rpoInSecs)
.rtoInSecs(rtoInSecs)
.build()
}