MCPServerGrafanaConfigurationProperty Struct
Grafana MCP server configuration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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';
const mCPServerGrafanaConfigurationProperty: devopsagent.CfnAssociation.MCPServerGrafanaConfigurationProperty = {
endpoint: 'endpoint',
// the properties below are optional
enabledElevatedTools: ['enabledElevatedTools'],
enableWebhookUpdates: false,
tools: ['tools'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent
m_cp_server_grafana_configuration_property = devopsagent.CfnAssociation.MCPServerGrafanaConfigurationProperty(
endpoint="endpoint",
# the properties below are optional
enabled_elevated_tools=["enabledElevatedTools"],
enable_webhook_updates=False,
tools=["tools"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsagent.*;
MCPServerGrafanaConfigurationProperty mCPServerGrafanaConfigurationProperty = MCPServerGrafanaConfigurationProperty.builder()
.endpoint("endpoint")
// the properties below are optional
.enabledElevatedTools(List.of("enabledElevatedTools"))
.enableWebhookUpdates(false)
.tools(List.of("tools"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsAgent;
var mCPServerGrafanaConfigurationProperty = new MCPServerGrafanaConfigurationProperty {
Endpoint = "endpoint",
// the properties below are optional
EnabledElevatedTools = new [] { "enabledElevatedTools" },
EnableWebhookUpdates = false,
Tools = new [] { "tools" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
mCPServerGrafanaConfigurationProperty := &MCPServerGrafanaConfigurationProperty{
Endpoint: jsii.String("endpoint"),
// the properties below are optional
EnabledElevatedTools: []*string{
jsii.String("enabledElevatedTools"),
},
EnableWebhookUpdates: jsii.Boolean(false),
Tools: []*string{
jsii.String("tools"),
},
}
Properties
enabledElevatedToolsoptionalstring[]enabled_elevated_toolsoptionaltyping.List[str]enabledElevatedToolsoptionalList<String>EnabledElevatedToolsoptionalstring[]EnabledElevatedToolsoptional*[]*string #The mutative MCP tools enabled for this integration, by tool name.
notes
Only tools the service classifies as MUTATIVE may be listed; other names are rejected. Tool names can be found in the console or from the association's current configuration. The list fully replaces the stored value on update: removing a name disables that tool, and removing the property disables all elevated tools. Independent of Tools, which selects the toolsets available to the agent.
enableWebhookUpdatesoptionalboolean | IResolvableenable_webhook_updatesoptionaltyping.Union[bool, IResolvable]enableWebhookUpdatesoptionalBooleanEnableWebhookUpdatesoptionalboolEnableWebhookUpdatesoptionalinterface{} #When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
MCP server endpoint URL.
toolsoptionalstring[]toolsoptionaltyping.List[str]toolsoptionalList<String>Toolsoptionalstring[]Toolsoptional*[]*string #List of tool categories to enable for the Grafana MCP server.