interface DescriptorSourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AgentRegistry.CfnRegistryRecordPropsMixin.DescriptorSourceProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsagentregistry#CfnRegistryRecordPropsMixin_DescriptorSourceProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.agentregistry.CfnRegistryRecordPropsMixin.DescriptorSourceProperty |
Python | aws_cdk.cfn_property_mixins.aws_agentregistry.CfnRegistryRecordPropsMixin.DescriptorSourceProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_agentregistry » CfnRegistryRecordPropsMixin » 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/cfn-property-mixins';
const descriptorSourceProperty: agentregistry.CfnRegistryRecordPropsMixin.DescriptorSourceProperty = {
fromUrl: {
credentialProviderConfigurations: [{
credentialProvider: {
iamCredentialProvider: {
region: 'region',
roleArn: 'roleArn',
service: 'service',
},
oauthCredentialProvider: {
customParameters: {
customParametersKey: 'customParameters',
},
grantType: 'grantType',
providerArn: 'providerArn',
scopes: ['scopes'],
},
},
credentialProviderType: 'credentialProviderType',
}],
url: 'url',
},
};
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