interface MCPServerAuthorizationConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.DevOpsAgent.CfnService.MCPServerAuthorizationConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdevopsagent#CfnService_MCPServerAuthorizationConfigProperty |
Java | software.amazon.awscdk.services.devopsagent.CfnService.MCPServerAuthorizationConfigProperty |
Python | aws_cdk.aws_devopsagent.CfnService.MCPServerAuthorizationConfigProperty |
TypeScript | aws-cdk-lib » aws_devopsagent » CfnService » MCPServerAuthorizationConfigProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
declare const exchangeParameters: any;
const mCPServerAuthorizationConfigProperty: devopsagent.CfnService.MCPServerAuthorizationConfigProperty = {
apiKey: {
apiKeyHeader: 'apiKeyHeader',
apiKeyName: 'apiKeyName',
apiKeyValue: 'apiKeyValue',
},
oAuthClientCredentials: {
clientId: 'clientId',
clientSecret: 'clientSecret',
exchangeUrl: 'exchangeUrl',
// the properties below are optional
clientName: 'clientName',
exchangeParameters: exchangeParameters,
scopes: ['scopes'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| api | IResolvable | Api | API key authentication details. |
| o | IResolvable | MCPServer | MCP server OAuth client credentials configuration. |
apiKey?
Type:
IResolvable | Api
(optional)
API key authentication details.
oAuthClientCredentials?
Type:
IResolvable | MCPServer
(optional)
MCP server OAuth client credentials configuration.

.NET
Go
Java
Python
TypeScript