. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 52.223.31.75  /  Your IP : 172.31.6.220   [ Reverse IP ]
Web Server : Apache/2.4.66 () OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux ip-172-31-14-81.eu-central-1.compute.internal 4.14.281-212.502.amzn2.x86_64 #1 SMP Thu May 26 09:52:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
Domains : 4 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python2.7/site-packages/awscli/examples/codebuild/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python2.7/site-packages/awscli/examples/codebuild/update-project.rst
**To change an AWS CodeBuild build project's settings.**

The following ``update-project`` example changes the settings of the specified CodeBuild build project named my-demo-project. ::

    aws codebuild update-project --name "my-demo-project" \
        --description "This project is updated" \
        --source "{\"type\": \"S3\",\"location\": \"codebuild-us-west-2-123456789012-input-bucket/my-source-2.zip\"}" \
        --artifacts {"\"type\": \"S3\",\"location\": \"codebuild-us-west-2-123456789012-output-bucket-2\""} \
        --environment "{\"type\": \"LINUX_CONTAINER\",\"image\": \"aws/codebuild/standard:1.0\",\"computeType\": \"BUILD_GENERAL1_MEDIUM\"}" \
        --service-role "arn:aws:iam::123456789012:role/service-role/my-codebuild-service-role"

The output displays the updated settings. ::

    {
        "project": {
            "arn": "arn:aws:codebuild:us-west-2:123456789012:project/my-demo-project",
            "environment": {
                "privilegedMode": false,
                "environmentVariables": [],
                "type": "LINUX_CONTAINER",
                "image": "aws/codebuild/standard:1.0",
                "computeType": "BUILD_GENERAL1_MEDIUM",
                "imagePullCredentialsType": "CODEBUILD"
            },
            "queuedTimeoutInMinutes": 480,
            "description": "This project is updated",
            "artifacts": {
                "packaging": "NONE",
                "name": "my-demo-project",
                "type": "S3",
                "namespaceType": "NONE",
                "encryptionDisabled": false,
                "location": "codebuild-us-west-2-123456789012-output-bucket-2"
            },
            "encryptionKey": "arn:aws:kms:us-west-2:123456789012:alias/aws/s3",
            "badge": {
                "badgeEnabled": false
            },
            "serviceRole": "arn:aws:iam::123456789012:role/service-role/my-codebuild-service-role",
            "lastModified": 1556840545.967,
            "tags": [],
            "timeoutInMinutes": 60,
            "created": 1556839783.274,
            "name": "my-demo-project",
            "cache": {
                "type": "NO_CACHE"
            },
            "source": {
                "type": "S3",
                "insecureSsl": false,
                "location": "codebuild-us-west-2-123456789012-input-bucket/my-source-2.zip"
            }
        }
    }

For more information, see `Change a Build Project's Settings (AWS CLI) <https://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-cli>`_ in the *AWS CodeBuild User Guide*

Anon7 - 2022
AnonSec Team