NAME

Paws::CodePipeline::CreatePipeline - Arguments for method CreatePipeline on Paws::CodePipeline

DESCRIPTION

This class represents the parameters used for calling the method CreatePipeline on the AWS CodePipeline service. Use the attributes of this class as arguments to method CreatePipeline.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePipeline.

SYNOPSIS

my $codepipeline = Paws->service('CodePipeline');
my $CreatePipelineOutput = $codepipeline->CreatePipeline(
  Pipeline => {
    Name    => 'MyPipelineName',    # min: 1, max: 100
    RoleArn => 'MyRoleArn',         # max: 1024
    Stages  => [
      {
        Actions => [
          {
            ActionTypeId => {
              Category => 'Source'
              ,    # values: Source, Build, Deploy, Test, Invoke, Approval
              Owner    => 'AWS',    # values: AWS, ThirdParty, Custom
              Provider => 'MyActionProvider',    # min: 1, max: 35
              Version  => 'MyVersion',           # min: 1, max: 9

            },
            Name          => 'MyActionName',     # min: 1, max: 100
            Configuration => {
              'MyActionConfigurationKey' => 'MyActionConfigurationValue'
              ,    # key: min: 1, max: 50, value: min: 1, max: 1000
            },    # OPTIONAL
            InputArtifacts => [
              {
                Name => 'MyArtifactName',    # min: 1, max: 100

              },
              ...
            ],    # OPTIONAL
            Namespace => 'MyActionNamespace',   # min: 1, max: 100; OPTIONAL
            OutputArtifacts => [
              {
                Name => 'MyArtifactName',       # min: 1, max: 100

              },
              ...
            ],    # OPTIONAL
            Region   => 'MyAWSRegionName',    # min: 4, max: 30; OPTIONAL
            RoleArn  => 'MyRoleArn',          # max: 1024
            RunOrder => 1,                    # min: 1, max: 999; OPTIONAL
          },
          ...
        ],
        Name     => 'MyStageName',            # min: 1, max: 100
        Blockers => [
          {
            Name => 'MyBlockerName',    # min: 1, max: 100
            Type => 'Schedule',         # values: Schedule

          },
          ...
        ],    # OPTIONAL
      },
      ...
    ],
    ArtifactStore => {
      Location      => 'MyArtifactStoreLocation',    # min: 3, max: 63
      Type          => 'S3',                         # values: S3
      EncryptionKey => {
        Id   => 'MyEncryptionKeyId',                 # min: 1, max: 400
        Type => 'KMS',                               # values: KMS

      },    # OPTIONAL
    },    # OPTIONAL
    ArtifactStores => {
      'MyAWSRegionName' => {
        Location      => 'MyArtifactStoreLocation',    # min: 3, max: 63
        Type          => 'S3',                         # values: S3
        EncryptionKey => {
          Id   => 'MyEncryptionKeyId',                 # min: 1, max: 400
          Type => 'KMS',                               # values: KMS

        },    # OPTIONAL
      },    # key: min: 4, max: 30; OPTIONAL, value: OPTIONAL
    },    # OPTIONAL
    Version => 1,    # min: 1; OPTIONAL
  },
  Tags => [
    {
      Key   => 'MyTagKey',      # min: 1, max: 128
      Value => 'MyTagValue',    # max: 256

    },
    ...
  ],    # OPTIONAL
);

# Results:
my $Pipeline = $CreatePipelineOutput->Pipeline;
my $Tags     = $CreatePipelineOutput->Tags;

# Returns a L<Paws::CodePipeline::CreatePipelineOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/codepipeline/CreatePipeline

ATTRIBUTES

REQUIRED Pipeline => Paws::CodePipeline::PipelineDeclaration

Represents the structure of actions and stages to be performed in the pipeline.

Tags => ArrayRef[Paws::CodePipeline::Tag]

The tags for the pipeline.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreatePipeline in Paws::CodePipeline

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues