Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.codepipeline.kotlin.inputs
import com.pulumi.awsnative.codepipeline.inputs.PipelineActionDeclarationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Represents information about an action declaration.
* @property actionTypeId Specifies the action type and the provider of the action.
* @property configuration The action's configuration. These are key-value pairs that specify input values for an action.
* @property inputArtifacts The name or ID of the artifact consumed by the action, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of input artifacts. To refer to the action configuration specification by action provider, see the [Action structure reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) in the *AWS CodePipeline User Guide* .
* > For a CodeBuild action with multiple input artifacts, one of your input sources must be designated the PrimarySource. For more information, see the [CodeBuild action reference page](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodeBuild.html) in the *AWS CodePipeline User Guide* .
* @property name The action declaration's name.
* @property namespace The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.
* @property outputArtifacts The name or ID of the result of the action declaration, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of output artifacts. To refer to the action configuration specification by action provider, see the [Action structure reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) in the *AWS CodePipeline User Guide* .
* @property region The action declaration's AWS Region, such as us-east-1.
* @property roleArn The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.
* @property runOrder The order in which actions are run.
* @property timeoutInMinutes A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for AWS CodePipeline. This attribute is available only to the manual approval ActionType.
*/
public data class PipelineActionDeclarationArgs(
public val actionTypeId: Output,
public val configuration: Output? = null,
public val inputArtifacts: Output>? = null,
public val name: Output,
public val namespace: Output? = null,
public val outputArtifacts: Output>? = null,
public val region: Output? = null,
public val roleArn: Output? = null,
public val runOrder: Output? = null,
public val timeoutInMinutes: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.codepipeline.inputs.PipelineActionDeclarationArgs =
com.pulumi.awsnative.codepipeline.inputs.PipelineActionDeclarationArgs.builder()
.actionTypeId(actionTypeId.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.configuration(configuration?.applyValue({ args0 -> args0 }))
.inputArtifacts(
inputArtifacts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.name(name.applyValue({ args0 -> args0 }))
.namespace(namespace?.applyValue({ args0 -> args0 }))
.outputArtifacts(
outputArtifacts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.region(region?.applyValue({ args0 -> args0 }))
.roleArn(roleArn?.applyValue({ args0 -> args0 }))
.runOrder(runOrder?.applyValue({ args0 -> args0 }))
.timeoutInMinutes(timeoutInMinutes?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PipelineActionDeclarationArgs].
*/
@PulumiTagMarker
public class PipelineActionDeclarationArgsBuilder internal constructor() {
private var actionTypeId: Output? = null
private var configuration: Output? = null
private var inputArtifacts: Output>? = null
private var name: Output? = null
private var namespace: Output? = null
private var outputArtifacts: Output>? = null
private var region: Output? = null
private var roleArn: Output? = null
private var runOrder: Output? = null
private var timeoutInMinutes: Output? = null
/**
* @param value Specifies the action type and the provider of the action.
*/
@JvmName("vbvscknhacvlbuhx")
public suspend fun actionTypeId(`value`: Output) {
this.actionTypeId = value
}
/**
* @param value The action's configuration. These are key-value pairs that specify input values for an action.
*/
@JvmName("nfpsgjtxbmkqtisn")
public suspend fun configuration(`value`: Output) {
this.configuration = value
}
/**
* @param value The name or ID of the artifact consumed by the action, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of input artifacts. To refer to the action configuration specification by action provider, see the [Action structure reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) in the *AWS CodePipeline User Guide* .
* > For a CodeBuild action with multiple input artifacts, one of your input sources must be designated the PrimarySource. For more information, see the [CodeBuild action reference page](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodeBuild.html) in the *AWS CodePipeline User Guide* .
*/
@JvmName("svdlijvhtpjuosbm")
public suspend fun inputArtifacts(`value`: Output>) {
this.inputArtifacts = value
}
@JvmName("obmcqfqovpnbmrvb")
public suspend fun inputArtifacts(vararg values: Output) {
this.inputArtifacts = Output.all(values.asList())
}
/**
* @param values The name or ID of the artifact consumed by the action, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of input artifacts. To refer to the action configuration specification by action provider, see the [Action structure reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) in the *AWS CodePipeline User Guide* .
* > For a CodeBuild action with multiple input artifacts, one of your input sources must be designated the PrimarySource. For more information, see the [CodeBuild action reference page](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodeBuild.html) in the *AWS CodePipeline User Guide* .
*/
@JvmName("glpxhaevqkkhxnyp")
public suspend fun inputArtifacts(values: List