SourceCredentialState class
Input properties used for looking up and filtering SourceCredential resources.
Constructors
-
SourceCredentialState({Input<
String?> ? arn, Input<String?> ? authType, Input<String?> ? region, Input<String?> ? serverType, Input<String?> ? token, Input<String?> ? userName}) -
Creates a new SourceCredentialState.
arnThe ARN of Source Credential.authTypeThe type of authentication used to connect to a GitHub, GitHub Enterprise, or BitbucketregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.serverTypeThe source provider used for this project.tokenFor a GitHub and GitHub Enterprise, this is the personal access token. For Bitbucket, this is theuserNameThe Bitbucket username when the authType isBASIC_AUTH. This parameter is not valid forconst -
SourceCredentialState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
The ARN of Source Credential.
final
-
authType
→ Input<
String?> ? -
The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket
repository. Valid values are
BASIC_AUTH,PERSONAL_ACCESS_TOKEN,CODECONNECTIONS, andSECRETS_MANAGER. An OAUTH connection is not supported by the API.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serverType
→ Input<
String?> ? -
The source provider used for this project.
final
-
token
→ Input<
String?> ? -
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.final -
userName
→ Input<
String?> ? -
The Bitbucket username when the authType is
BASIC_AUTH. This parameter is not valid for other types of source providers or connections.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited