codebuild:UpdateFleet

Write

codebuild:UpdateFleet is a Write access-level action in the codebuild service. Grants permission to change the settings of an existing compute fleet

Resource types

ARNs that codebuild:UpdateFleet can be scoped to in an IAM policy.

arn:${Partition}:codebuild:${Region}:${Account}:fleet/${FleetName}:${FleetId} required
fleet

Condition keys

Keys you can use in the Condition block of a policy that grants codebuild:UpdateFleet.

aws:RequestTag/${TagKey} String

Filters access by actions based on the presence of tag key-value pairs in the request

aws:TagKeys ArrayOfString

Filters access by actions based on the presence of tag keys in the request

codebuild:computeConfiguration Bool

Filters access by the API corresponding argument value

codebuild:computeConfiguration.disk Numeric

Filters access by the API corresponding argument value

codebuild:computeConfiguration.instanceType String

Filters access by the API corresponding argument value

codebuild:computeConfiguration.machineType String

Filters access by the API corresponding argument value

codebuild:computeConfiguration.memory Numeric

Filters access by the API corresponding argument value

codebuild:computeConfiguration.vCpu Numeric

Filters access by the API corresponding argument value

codebuild:computeType String

Filters access by the API corresponding argument value

codebuild:environmentType String

Filters access by the API corresponding argument value

codebuild:fleetServiceRole String

Filters access by the API corresponding argument value

codebuild:imageId String

Filters access by the API corresponding argument value

codebuild:vpcConfig Bool

Filters access by the API corresponding argument value

codebuild:vpcConfig.securityGroupIds ArrayOfString

Filters access by the API corresponding argument value

codebuild:vpcConfig.subnets ArrayOfString

Filters access by the API corresponding argument value

codebuild:vpcConfig.vpcId String

Filters access by the API corresponding argument value

Example IAM policy

A minimal policy that allows codebuild:UpdateFleet. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodebuildUpdateFleet",
      "Effect": "Allow",
      "Action": "codebuild:UpdateFleet",
      "Resource": "*"
    }
  ]
}

Related actions in codebuild

View all codebuild actions →