Class SourceCredentialState


  • public final class SourceCredentialState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SourceCredentialState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> authType()  
      static SourceCredentialState.Builder builder()  
      static SourceCredentialState.Builder builder​(SourceCredentialState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> serverType()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> token()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> userName()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        The ARN of Source Credential.
      • authType

        public java.util.Optional<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 java.util.Optional<com.pulumi.core.Output<java.lang.String>> serverType()
        Returns:
        The source provider used for this project.
      • token

        public java.util.Optional<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.