ActionDeclaration

public struct ActionDeclaration : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Specifies the action type and the provider of the action.

    Declaration

    Swift

    public let actionTypeId: ActionTypeId
  • 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 },

    Declaration

    Swift

    public let configuration: [String : String]?
  • The name or ID of the artifact consumed by the action, such as a test or build artifact.

    Declaration

    Swift

    public let inputArtifacts: [InputArtifact]?
  • The action declaration’s name.

    Declaration

    Swift

    public let name: String
  • The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.

    Declaration

    Swift

    public let namespace: String?
  • The name or ID of the result of the action declaration, such as a test or build artifact.

    Declaration

    Swift

    public let outputArtifacts: [OutputArtifact]?
  • The action declaration’s AWS Region, such as us-east-1.

    Declaration

    Swift

    public let region: String?
  • The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.

    Declaration

    Swift

    public let roleArn: String?
  • The order in which actions are run.

    Declaration

    Swift

    public let runOrder: Int?
  • Undocumented

    Declaration

    Swift

    public init(actionTypeId: ActionTypeId, configuration: [String : String]? = nil, inputArtifacts: [InputArtifact]? = nil, name: String, namespace: String? = nil, outputArtifacts: [OutputArtifact]? = nil, region: String? = nil, roleArn: String? = nil, runOrder: Int? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws