![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.events.kotlin.outputs.RuleBatchParameters.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.events.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property arrayProperties The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.
* @property jobDefinition The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.
* @property jobName The name to use for this execution of the job, if the target is an AWS Batch job.
* @property retryStrategy The retry strategy to use for failed jobs, if the target is an AWS Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
*/
public data class RuleBatchParameters(
public val arrayProperties: RuleBatchArrayProperties? = null,
public val jobDefinition: String,
public val jobName: String,
public val retryStrategy: RuleBatchRetryStrategy? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.events.outputs.RuleBatchParameters): RuleBatchParameters = RuleBatchParameters(
arrayProperties = javaType.arrayProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.events.kotlin.outputs.RuleBatchArrayProperties.Companion.toKotlin(args0)
})
}).orElse(null),
jobDefinition = javaType.jobDefinition(),
jobName = javaType.jobName(),
retryStrategy = javaType.retryStrategy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.events.kotlin.outputs.RuleBatchRetryStrategy.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy