AWS::CodeBuild::SourceCredential

CodeBuild SourceCredential

Resource Type definition for AWS::CodeBuild::SourceCredential

Properties

4 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
AuthType
string
Required
ServerType
string
RequiredCreate-only
Token
string
RequiredWrite-only
Username
string
Write-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe ARN of the SourceCredential resource.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeBuild::SourceCredential

Resources:
  MyResource:
    Type: AWS::CodeBuild::SourceCredential
    Properties:
      ServerType: "value"
      Token: "value"
      AuthType: "value"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

codebuild:ImportSourceCredentialscodebuild:ListSourceCredentials

read

codebuild:ListSourceCredentials

update

codebuild:ImportSourceCredentialscodebuild:ListSourceCredentials

delete

codebuild:DeleteSourceCredentials

list

codebuild:ListSourceCredentials

Get the CodeBuild Cheat Sheet

Everything you need to know about CodeBuild on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceCodeBuild
Properties5
Required3
TaggingNot supported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ServerType

Related Resources

External Links