DynatraceConfigurationProperty Struct
Configuration for Dynatrace monitoring integration.
Defines the Dynatrace environment ID, list of resources to monitor, and webhook update settings required for the Agent Space to access metrics, traces, and logs from Dynatrace.
| 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 dynatraceConfigurationProperty: devopsagent.CfnAssociation.DynatraceConfigurationProperty = {
envId: 'envId',
// the properties below are optional
enableWebhookUpdates: false,
resources: ['resources'],
};
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
dynatrace_configuration_property = devopsagent.CfnAssociation.DynatraceConfigurationProperty(
env_id="envId",
# the properties below are optional
enable_webhook_updates=False,
resources=["resources"]
)
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.*;
DynatraceConfigurationProperty dynatraceConfigurationProperty = DynatraceConfigurationProperty.builder()
.envId("envId")
// the properties below are optional
.enableWebhookUpdates(false)
.resources(List.of("resources"))
.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 dynatraceConfigurationProperty = new DynatraceConfigurationProperty {
EnvId = "envId",
// the properties below are optional
EnableWebhookUpdates = false,
Resources = new [] { "resources" }
};
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"
dynatraceConfigurationProperty := &DynatraceConfigurationProperty{
EnvId: jsii.String("envId"),
// the properties below are optional
EnableWebhookUpdates: jsii.Boolean(false),
Resources: []*string{
jsii.String("resources"),
},
}
Properties
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.
Dynatrace environment id.
resourcesoptionalstring[]resourcesoptionaltyping.List[str]resourcesoptionalList<String>Resourcesoptionalstring[]Resourcesoptional*[]*string #List of Dynatrace resources to monitor.