io.burkard.cdk.services.redshift.CfnScheduledAction.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.redshift
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnScheduledAction {
def apply(
internalResourceId: String,
scheduledActionName: String,
enable: Option[Boolean] = None,
scheduledActionDescription: Option[String] = None,
startTime: Option[String] = None,
iamRole: Option[String] = None,
endTime: Option[String] = None,
schedule: Option[String] = None,
targetAction: Option[software.amazon.awscdk.services.redshift.CfnScheduledAction.ScheduledActionTypeProperty] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.redshift.CfnScheduledAction =
software.amazon.awscdk.services.redshift.CfnScheduledAction.Builder
.create(stackCtx, internalResourceId)
.scheduledActionName(scheduledActionName)
.enable(enable.map(Boolean.box).orNull)
.scheduledActionDescription(scheduledActionDescription.orNull)
.startTime(startTime.orNull)
.iamRole(iamRole.orNull)
.endTime(endTime.orNull)
.schedule(schedule.orNull)
.targetAction(targetAction.orNull)
.build()
}