Class GitHubEnterpriseSourceCredentials
The source credentials used when contacting the GitHub Enterprise API.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GitHubEnterpriseSourceCredentials : Resource, IResource
Syntax (vb)
Public Class GitHubEnterpriseSourceCredentials
Inherits Resource
Implements IResource
Remarks
Note: CodeBuild only allows a single credential for GitHub Enterprise to be saved in a given AWS account in a given region - any attempt to add more than one will result in an error.
Resource: AWS::CodeBuild::SourceCredential
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.CodeBuild;
SecretValue secretValue;
var gitHubEnterpriseSourceCredentials = new GitHubEnterpriseSourceCredentials(this, "MyGitHubEnterpriseSourceCredentials", new GitHubEnterpriseSourceCredentialsProps {
AccessToken = secretValue
});
Synopsis
Constructors
GitHubEnterpriseSourceCredentials(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
GitHubEnterpriseSourceCredentials(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
GitHubEnterpriseSourceCredentials(Construct, String, IGitHubEnterpriseSourceCredentialsProps) |
Constructors
GitHubEnterpriseSourceCredentials(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected GitHubEnterpriseSourceCredentials(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
GitHubEnterpriseSourceCredentials(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected GitHubEnterpriseSourceCredentials(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
GitHubEnterpriseSourceCredentials(Construct, String, IGitHubEnterpriseSourceCredentialsProps)
public GitHubEnterpriseSourceCredentials(Construct scope, string id, IGitHubEnterpriseSourceCredentialsProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IGitHubEnterpriseSourceCredentialsProps
Implements
Constructs.IConstruct
Constructs.IDependable