interface DescriptorSourceFromUrlProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AgentRegistry.CfnRegistryRecord.DescriptorSourceFromUrlProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsagentregistry#CfnRegistryRecord_DescriptorSourceFromUrlProperty |
Java | software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.DescriptorSourceFromUrlProperty |
Python | aws_cdk.aws_agentregistry.CfnRegistryRecord.DescriptorSourceFromUrlProperty |
TypeScript | aws-cdk-lib » aws_agentregistry » CfnRegistryRecord » DescriptorSourceFromUrlProperty |
URL-based descriptor source configuration, with credential provider configurations for authenticated URL retrieval.
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 descriptorSourceFromUrlProperty: agentregistry.CfnRegistryRecord.DescriptorSourceFromUrlProperty = {
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 |
|---|---|---|
| url | string | URL source for descriptor content. |
| credential | IResolvable | (IResolvable | Registry)[] | The credential providers used to authenticate when fetching descriptor content from the source URL. |
url
Type:
string
URL source for descriptor content.
credentialProviderConfigurations?
Type:
IResolvable | (IResolvable | Registry)[]
(optional)
The credential providers used to authenticate when fetching descriptor content from the source URL.

.NET
Go
Java
Python
TypeScript