interface HarnessSkillGitAuthProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnHarness.HarnessSkillGitAuthProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnHarness_HarnessSkillGitAuthProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnHarness.HarnessSkillGitAuthProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnHarness.HarnessSkillGitAuthProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnHarness » HarnessSkillGitAuthProperty |
Authentication configuration for accessing a private git repository.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const harnessSkillGitAuthProperty: bedrockagentcore.CfnHarness.HarnessSkillGitAuthProperty = {
credentialArn: 'credentialArn',
// the properties below are optional
username: 'username',
};
Properties
| Name | Type | Description |
|---|---|---|
| credential | string | The ARN of the credential in AgentCore Identity containing the password or personal access token. |
| username? | string | Username for authentication. |
credentialArn
Type:
string
The ARN of the credential in AgentCore Identity containing the password or personal access token.
username?
Type:
string
(optional)
Username for authentication.
Defaults to 'oauth2' if not specified.

.NET
Go
Java
Python
TypeScript