Class SourceCredentialArgs


  • public final class SourceCredentialArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • authType

        public com.pulumi.core.Output<java.lang.String> authType()
        Returns:
        The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. Valid values are `BASIC_AUTH`, `PERSONAL_ACCESS_TOKEN`, `CODECONNECTIONS`, and `SECRETS_MANAGER`. An OAuth connection is not supported by the API.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • serverType

        public com.pulumi.core.Output<java.lang.String> serverType()
        Returns:
        The source provider used for this project.
      • token

        public com.pulumi.core.Output<java.lang.String> token()
        Returns:
        For a GitHub and GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password. When using an AWS CodeStar connection (`authType = "CODECONNECTIONS")`, this is an AWS CodeStar Connection ARN.
      • userName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> userName()
        Returns:
        The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.