ActionDeclaration
¶
Source code in docs_src/capo_codepipeline/types/action_declaration.py
action_type_id
instance-attribute
¶
action_type_id: ActionTypeId
Specifies the action type and the provider of the action.
commands
instance-attribute
¶
commands: NotRequired[CommandList]
The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.
Using compute time for this action will incur separate charges in CodeBuild.
configuration
instance-attribute
¶
configuration: NotRequired[ActionConfigurationMap]
The action's configuration. These are key-value pairs that specify input values for an action. For more information, see Action Structure Requirements in CodePipeline. For the list of configuration properties for the CloudFormation action type in CodePipeline, see Configuration Properties Reference in the CloudFormation User Guide. For template snippets with examples, see Using Parameter Override Functions with CodePipeline Pipelines in the CloudFormation User Guide.
The values can be represented in either JSON or YAML format. For example, the JSON configuration item format is as follows:
JSON:
"Configuration" : { Key : Value },
environment_variables
instance-attribute
¶
environment_variables: NotRequired[EnvironmentVariableList]
The environment variables for the action.
input_artifacts
instance-attribute
¶
input_artifacts: NotRequired[InputArtifactList]
The name or ID of the artifact consumed by the action, such as a test or build artifact.
namespace
instance-attribute
¶
namespace: NotRequired[ActionNamespace]
The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.
output_artifacts
instance-attribute
¶
output_artifacts: NotRequired[OutputArtifactList]
The name or ID of the result of the action declaration, such as a test or build artifact.
output_variables
instance-attribute
¶
output_variables: NotRequired[OutputVariableList]
The list of variables that are to be exported from the compute action. This is specifically CodeBuild environment variables as used for that action.
region
instance-attribute
¶
region: NotRequired[AWSRegionName]
The action declaration's Amazon Web Services Region, such as us-east-1.
role_arn
instance-attribute
¶
role_arn: NotRequired[RoleArn]
The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.
run_order
instance-attribute
¶
run_order: NotRequired[ActionRunOrder]
The order in which actions are run.
timeout_in_minutes
instance-attribute
¶
timeout_in_minutes: NotRequired[ActionTimeout]
A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for CodePipeline . This attribute is available only to the manual approval ActionType.