interface DescriptorSourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AgentRegistry.CfnRegistryRecord.DescriptorSourceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsagentregistry#CfnRegistryRecord_DescriptorSourceProperty |
Java | software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.DescriptorSourceProperty |
Python | aws_cdk.aws_agentregistry.CfnRegistryRecord.DescriptorSourceProperty |
TypeScript | aws-cdk-lib » aws_agentregistry » CfnRegistryRecord » DescriptorSourceProperty |
The source configuration that defines where descriptor content is retrieved from.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_agentregistry as agentregistry } from 'aws-cdk-lib';
const descriptorSourceProperty: agentregistry.CfnRegistryRecord.DescriptorSourceProperty = {
fromUrl: {
url: 'url',
// the properties below are optional
credentialProviderConfigurations: [{
credentialProvider: {
iamCredentialProvider: {
region: 'region',
roleArn: 'roleArn',
service: 'service',
},
oauthCredentialProvider: {
providerArn: 'providerArn',
// the properties below are optional
customParameters: {
customParametersKey: 'customParameters',
},
grantType: 'grantType',
scopes: ['scopes'],
},
},
credentialProviderType: 'credentialProviderType',
}],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| from | IResolvable | Descriptor | URL-based descriptor source configuration, with credential provider configurations for authenticated URL retrieval. |
fromUrl?
Type:
IResolvable | Descriptor
(optional)
URL-based descriptor source configuration, with credential provider configurations for authenticated URL retrieval.

.NET
Go
Java
Python
TypeScript