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