interface CfnTelemetryRuleProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ObservabilityAdmin.CfnTelemetryRuleProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsobservabilityadmin#CfnTelemetryRuleProps |
Java | software.amazon.awscdk.services.observabilityadmin.CfnTelemetryRuleProps |
Python | aws_cdk.aws_observabilityadmin.CfnTelemetryRuleProps |
TypeScript | aws-cdk-lib » aws_observabilityadmin » CfnTelemetryRuleProps |
Properties for defining a CfnTelemetryRule.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const cfnTelemetryRuleProps: observabilityadmin.CfnTelemetryRuleProps = {
rule: {
resourceType: 'resourceType',
telemetryType: 'telemetryType',
// the properties below are optional
destinationConfiguration: {
destinationPattern: 'destinationPattern',
destinationType: 'destinationType',
retentionInDays: 123,
vpcFlowLogParameters: {
logFormat: 'logFormat',
maxAggregationInterval: 123,
trafficType: 'trafficType',
},
},
selectionCriteria: 'selectionCriteria',
},
ruleName: 'ruleName',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| rule | IResolvable | Telemetry | Retrieves the details of a specific telemetry rule in your account. |
| rule | string | The name of the telemetry rule. |
| tags? | Cfn[] | Lists all tags attached to the specified telemetry rule resource. |
rule
Type:
IResolvable | Telemetry
Retrieves the details of a specific telemetry rule in your account.
ruleName
Type:
string
The name of the telemetry rule.
tags?
Type:
Cfn[]
(optional)
Lists all tags attached to the specified telemetry rule resource.

.NET
Go
Java
Python
TypeScript