class Aws::CodePipeline::Types::CreatePipelineInput

Represents the input of a `CreatePipeline` action.

@note When making an API call, you may pass CreatePipelineInput

data as a hash:

    {
      pipeline: { # required
        name: "PipelineName", # required
        role_arn: "RoleArn", # required
        artifact_store: {
          type: "S3", # required, accepts S3
          location: "ArtifactStoreLocation", # required
          encryption_key: {
            id: "EncryptionKeyId", # required
            type: "KMS", # required, accepts KMS
          },
        },
        artifact_stores: {
          "AWSRegionName" => {
            type: "S3", # required, accepts S3
            location: "ArtifactStoreLocation", # required
            encryption_key: {
              id: "EncryptionKeyId", # required
              type: "KMS", # required, accepts KMS
            },
          },
        },
        stages: [ # required
          {
            name: "StageName", # required
            blockers: [
              {
                name: "BlockerName", # required
                type: "Schedule", # required, accepts Schedule
              },
            ],
            actions: [ # required
              {
                name: "ActionName", # required
                action_type_id: { # required
                  category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
                  owner: "AWS", # required, accepts AWS, ThirdParty, Custom
                  provider: "ActionProvider", # required
                  version: "Version", # required
                },
                run_order: 1,
                configuration: {
                  "ActionConfigurationKey" => "ActionConfigurationValue",
                },
                output_artifacts: [
                  {
                    name: "ArtifactName", # required
                  },
                ],
                input_artifacts: [
                  {
                    name: "ArtifactName", # required
                  },
                ],
                role_arn: "RoleArn",
                region: "AWSRegionName",
                namespace: "ActionNamespace",
              },
            ],
          },
        ],
        version: 1,
      },
      tags: [
        {
          key: "TagKey", # required
          value: "TagValue", # required
        },
      ],
    }

@!attribute [rw] pipeline

Represents the structure of actions and stages to be performed in
the pipeline.
@return [Types::PipelineDeclaration]

@!attribute [rw] tags

The tags for the pipeline.
@return [Array<Types::Tag>]

@see docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipelineInput AWS API Documentation

Constants

SENSITIVE