interface RegistryRecordCredentialProviderUnionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AgentRegistry.CfnRegistryRecord.RegistryRecordCredentialProviderUnionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsagentregistry#CfnRegistryRecord_RegistryRecordCredentialProviderUnionProperty |
Java | software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.RegistryRecordCredentialProviderUnionProperty |
Python | aws_cdk.aws_agentregistry.CfnRegistryRecord.RegistryRecordCredentialProviderUnionProperty |
TypeScript | aws-cdk-lib » aws_agentregistry » CfnRegistryRecord » RegistryRecordCredentialProviderUnionProperty |
The credential provider details.
Specify exactly one member.
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 registryRecordCredentialProviderUnionProperty: agentregistry.CfnRegistryRecord.RegistryRecordCredentialProviderUnionProperty = {
iamCredentialProvider: {
region: 'region',
roleArn: 'roleArn',
service: 'service',
},
oauthCredentialProvider: {
providerArn: 'providerArn',
// the properties below are optional
customParameters: {
customParametersKey: 'customParameters',
},
grantType: 'grantType',
scopes: ['scopes'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| iam | IResolvable | Registry | IAM credential provider configuration. |
| oauth | IResolvable | Registry | OAuth credential provider configuration. |
iamCredentialProvider?
Type:
IResolvable | Registry
(optional)
IAM credential provider configuration.
oauthCredentialProvider?
Type:
IResolvable | Registry
(optional)
OAuth credential provider configuration.

.NET
Go
Java
Python
TypeScript