interface CfnTelemetryRuleProps
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_observabilityadmin.CfnTelemetryRuleProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsobservabilityadmin#CfnTelemetryRuleProps |
![]() | software.amazon.awscdk.services.observabilityadmin.CfnTelemetryRuleProps |
![]() | aws_cdk.aws_observabilityadmin.CfnTelemetryRuleProps |
![]() | 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 | The telemetry rule. |
rule | string | The name of the telemetry rule. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
rule
Type:
IResolvable
|
Telemetry
The telemetry rule.
ruleName
Type:
string
The name of the telemetry rule.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.