
com.pulumi.aws.codebuild.SourceCredentialArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.codebuild;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class SourceCredentialArgs extends com.pulumi.resources.ResourceArgs {
public static final SourceCredentialArgs Empty = new SourceCredentialArgs();
/**
* The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.
*
*/
@Import(name="authType", required=true)
private Output authType;
/**
* @return The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.
*
*/
public Output authType() {
return this.authType;
}
/**
* The source provider used for this project.
*
*/
@Import(name="serverType", required=true)
private Output serverType;
/**
* @return The source provider used for this project.
*
*/
public Output serverType() {
return this.serverType;
}
/**
* For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.
*
*/
@Import(name="token", required=true)
private Output token;
/**
* @return For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.
*
*/
public Output token() {
return this.token;
}
/**
* The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.
*
*/
@Import(name="userName")
private @Nullable Output userName;
/**
* @return The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy