interface RegistryRecordCredentialProviderConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AgentRegistry.CfnRegistryRecord.RegistryRecordCredentialProviderConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsagentregistry#CfnRegistryRecord_RegistryRecordCredentialProviderConfigurationProperty |
Java | software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.RegistryRecordCredentialProviderConfigurationProperty |
Python | aws_cdk.aws_agentregistry.CfnRegistryRecord.RegistryRecordCredentialProviderConfigurationProperty |
TypeScript | aws-cdk-lib » aws_agentregistry » CfnRegistryRecord » RegistryRecordCredentialProviderConfigurationProperty |
A credential provider configuration used for authenticated descriptor 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 registryRecordCredentialProviderConfigurationProperty: agentregistry.CfnRegistryRecord.RegistryRecordCredentialProviderConfigurationProperty = {
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 |
|---|---|---|
| credential | IResolvable | Registry | The credential provider details. |
| credential | string |
credentialProvider
Type:
IResolvable | Registry
The credential provider details.
Specify exactly one member.
credentialProviderType
Type:
string

.NET
Go
Java
Python
TypeScript