interface HarnessSkillGitAuthProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore.CfnHarnessPropsMixin.HarnessSkillGitAuthProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrockagentcore#CfnHarnessPropsMixin_HarnessSkillGitAuthProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillGitAuthProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillGitAuthProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrockagentcore » CfnHarnessPropsMixin » 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/cfn-property-mixins';
const harnessSkillGitAuthProperty: bedrockagentcore.CfnHarnessPropsMixin.HarnessSkillGitAuthProperty = {
credentialArn: 'credentialArn',
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
(optional)
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