CustomEventsProperty Struct
This structure specifies whether this app monitor allows the web client to define and send custom events.
| 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_rum as rum } from 'aws-cdk-lib';
const customEventsProperty: rum.CfnAppMonitor.CustomEventsProperty = {
status: 'status',
};
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_rum as rum
custom_events_property = rum.CfnAppMonitor.CustomEventsProperty(
status="status"
)
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.rum.*;
CustomEventsProperty customEventsProperty = CustomEventsProperty.builder()
.status("status")
.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.RUM;
var customEventsProperty = new CustomEventsProperty {
Status = "status"
};
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"
customEventsProperty := &CustomEventsProperty{
Status: jsii.String("status"),
}
Properties
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #Set this to `ENABLED` to allow the web client to send custom events for this app monitor.
Valid values are ENABLED and DISABLED .