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

io.burkard.cdk.services.sam.cfnStateMachine.SAMPolicyTemplateProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.sam.cfnStateMachine

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

  def apply(
    lambdaInvokePolicy: Option[software.amazon.awscdk.services.sam.CfnStateMachine.FunctionSAMPTProperty] = None,
    stepFunctionsExecutionPolicy: Option[software.amazon.awscdk.services.sam.CfnStateMachine.StateMachineSAMPTProperty] = None
  ): software.amazon.awscdk.services.sam.CfnStateMachine.SAMPolicyTemplateProperty =
    (new software.amazon.awscdk.services.sam.CfnStateMachine.SAMPolicyTemplateProperty.Builder)
      .lambdaInvokePolicy(lambdaInvokePolicy.orNull)
      .stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy