Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ActionDeclaration = ActionDeclaration' {
- outputArtifacts :: Maybe [OutputArtifact]
- namespace :: Maybe Text
- runOrder :: Maybe Natural
- region :: Maybe Text
- configuration :: Maybe (HashMap Text Text)
- inputArtifacts :: Maybe [InputArtifact]
- roleArn :: Maybe Text
- name :: Text
- actionTypeId :: ActionTypeId
- newActionDeclaration :: Text -> ActionTypeId -> ActionDeclaration
- actionDeclaration_outputArtifacts :: Lens' ActionDeclaration (Maybe [OutputArtifact])
- actionDeclaration_namespace :: Lens' ActionDeclaration (Maybe Text)
- actionDeclaration_runOrder :: Lens' ActionDeclaration (Maybe Natural)
- actionDeclaration_region :: Lens' ActionDeclaration (Maybe Text)
- actionDeclaration_configuration :: Lens' ActionDeclaration (Maybe (HashMap Text Text))
- actionDeclaration_inputArtifacts :: Lens' ActionDeclaration (Maybe [InputArtifact])
- actionDeclaration_roleArn :: Lens' ActionDeclaration (Maybe Text)
- actionDeclaration_name :: Lens' ActionDeclaration Text
- actionDeclaration_actionTypeId :: Lens' ActionDeclaration ActionTypeId
Documentation
data ActionDeclaration Source #
Represents information about an action declaration.
See: newActionDeclaration
smart constructor.
ActionDeclaration' | |
|
Instances
:: Text | |
-> ActionTypeId | |
-> ActionDeclaration |
Create a value of ActionDeclaration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:outputArtifacts:ActionDeclaration'
, actionDeclaration_outputArtifacts
- The name or ID of the result of the action declaration, such as a test
or build artifact.
$sel:namespace:ActionDeclaration'
, actionDeclaration_namespace
- The variable namespace associated with the action. All variables
produced as output by this action fall under this namespace.
$sel:runOrder:ActionDeclaration'
, actionDeclaration_runOrder
- The order in which actions are run.
$sel:region:ActionDeclaration'
, actionDeclaration_region
- The action declaration's AWS Region, such as us-east-1.
$sel:configuration:ActionDeclaration'
, actionDeclaration_configuration
- 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 AWS CloudFormation
action type in CodePipeline, see
Configuration Properties Reference
in the AWS CloudFormation User Guide. For template snippets with
examples, see
Using Parameter Override Functions with CodePipeline Pipelines
in the AWS 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 },
$sel:inputArtifacts:ActionDeclaration'
, actionDeclaration_inputArtifacts
- The name or ID of the artifact consumed by the action, such as a test or
build artifact.
$sel:roleArn:ActionDeclaration'
, actionDeclaration_roleArn
- The ARN of the IAM service role that performs the declared action. This
is assumed through the roleArn for the pipeline.
$sel:name:ActionDeclaration'
, actionDeclaration_name
- The action declaration's name.
$sel:actionTypeId:ActionDeclaration'
, actionDeclaration_actionTypeId
- Specifies the action type and the provider of the action.
actionDeclaration_outputArtifacts :: Lens' ActionDeclaration (Maybe [OutputArtifact]) Source #
The name or ID of the result of the action declaration, such as a test or build artifact.
actionDeclaration_namespace :: Lens' ActionDeclaration (Maybe Text) Source #
The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.
actionDeclaration_runOrder :: Lens' ActionDeclaration (Maybe Natural) Source #
The order in which actions are run.
actionDeclaration_region :: Lens' ActionDeclaration (Maybe Text) Source #
The action declaration's AWS Region, such as us-east-1.
actionDeclaration_configuration :: Lens' ActionDeclaration (Maybe (HashMap Text Text)) Source #
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 AWS CloudFormation action type in CodePipeline, see Configuration Properties Reference in the AWS CloudFormation User Guide. For template snippets with examples, see Using Parameter Override Functions with CodePipeline Pipelines in the AWS 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 },
actionDeclaration_inputArtifacts :: Lens' ActionDeclaration (Maybe [InputArtifact]) Source #
The name or ID of the artifact consumed by the action, such as a test or build artifact.
actionDeclaration_roleArn :: Lens' ActionDeclaration (Maybe Text) Source #
The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.
actionDeclaration_name :: Lens' ActionDeclaration Text Source #
The action declaration's name.
actionDeclaration_actionTypeId :: Lens' ActionDeclaration ActionTypeId Source #
Specifies the action type and the provider of the action.