interface RegistryRecordOAuthCredentialProviderProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AgentRegistry.CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsagentregistry#CfnRegistryRecord_RegistryRecordOAuthCredentialProviderProperty |
Java | software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty |
Python | aws_cdk.aws_agentregistry.CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty |
TypeScript | aws-cdk-lib » aws_agentregistry » CfnRegistryRecord » RegistryRecordOAuthCredentialProviderProperty |
OAuth credential provider configuration.
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 registryRecordOAuthCredentialProviderProperty: agentregistry.CfnRegistryRecord.RegistryRecordOAuthCredentialProviderProperty = {
providerArn: 'providerArn',
// the properties below are optional
customParameters: {
customParametersKey: 'customParameters',
},
grantType: 'grantType',
scopes: ['scopes'],
};
Properties
| Name | Type | Description |
|---|---|---|
| provider | string | The ARN of the OAuth credential provider. |
| custom | IResolvable | { [string]: string } | Additional custom parameters for the OAuth flow. |
| grant | string | |
| scopes? | string[] | OAuth scopes to request. |
providerArn
Type:
string
The ARN of the OAuth credential provider.
customParameters?
Type:
IResolvable | { [string]: string }
(optional)
Additional custom parameters for the OAuth flow.
grantType?
Type:
string
(optional)
scopes?
Type:
string[]
(optional)
OAuth scopes to request.

.NET
Go
Java
Python
TypeScript