404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.217.203.133: ~ $
**To create a pipeline**

This example creates a pipeline in AWS CodePipeline using an already-created JSON file (here named MySecondPipeline.json) that contains the structure of the pipeline. For more information about the requirements for creating a pipeline, including the structure of the file, see the AWS CodePipeline User Guide.

Command::

  aws codepipeline create-pipeline --cli-input-json file://MySecondPipeline.json
  
JSON file sample contents::
  
  {
   "pipeline": {
    "roleArn": "arn:aws:iam::111111111111:role/AWS-CodePipeline-Service",
    "stages": [
      {
        "name": "Source",
        "actions": [
          {
            "inputArtifacts": [],
            "name": "Source",
            "actionTypeId": {
              "category": "Source",
              "owner": "AWS",
              "version": "1",
              "provider": "S3"
            },
            "outputArtifacts": [
              {
                "name": "MyApp"
              }
            ],
            "configuration": {
              "S3Bucket": "awscodepipeline-demo-bucket",
              "S3ObjectKey": "aws-codepipeline-s3-aws-codedeploy_linux.zip"
            },
            "runOrder": 1
          }
        ]
      },
      {
        "name": "Beta",
        "actions": [
          {
            "inputArtifacts": [
              {
                "name": "MyApp"
              }
            ],
            "name": "CodePipelineDemoFleet",
            "actionTypeId": {
              "category": "Deploy",
              "owner": "AWS",
              "version": "1",
              "provider": "CodeDeploy"
            },
            "outputArtifacts": [],
            "configuration": {
              "ApplicationName": "CodePipelineDemoApplication",
              "DeploymentGroupName": "CodePipelineDemoFleet"
            },
            "runOrder": 1
          }
        ]
      }
    ],
    "artifactStore": {
      "type": "S3",
      "location": "codepipeline-us-east-1-11EXAMPLE11"
    },
    "name": "MySecondPipeline",
    "version": 1
   }
  }

Output::

  This command returns the structure of the pipeline.

Filemanager

Name Type Size Permission Actions
acknowledge-job.rst File 425 B 0644
create-custom-action-type.rst File 1.5 KB 0644
create-pipeline.rst File 2.07 KB 0644
delete-custom-action-type.rst File 609 B 0644
delete-pipeline.rst File 287 B 0644
delete-webhook.rst File 569 B 0644
deregister-webhook-with-third-party.rst File 564 B 0644
disable-stage-transition.rst File 314 B 0644
enable-stage-transition.rst File 311 B 0644
get-job-details.rst File 2.67 KB 0644
get-pipeline-state.rst File 1.36 KB 0644
get-pipeline.rst File 2.36 KB 0644
list-action-executions.rst File 5.02 KB 0644
list-action-types.rst File 2.31 KB 0644
list-pipeline-executions.rst File 1.22 KB 0644
list-pipelines.rst File 536 B 0644
list-tags-for-resource.rst File 611 B 0644
list-webhooks.rst File 1.32 KB 0644
poll-for-jobs.rst File 3.17 KB 0644
put-webhook.rst File 2 KB 0644
retry-stage-execution.rst File 614 B 0644
start-pipeline-execution.rst File 326 B 0644
stop-pipeline-execution.rst File 786 B 0644
tag-resource.rst File 587 B 0644
untag-resource.rst File 552 B 0644
update-pipeline.rst File 4.09 KB 0644