interface TelemetryRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ObservabilityAdmin.Mixins.CfnTelemetryRulePropsMixin.TelemetryRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsobservabilityadmin/mixins#CfnTelemetryRulePropsMixin_TelemetryRuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.observabilityadmin.mixins.CfnTelemetryRulePropsMixin.TelemetryRuleProperty |
Python | aws_cdk.mixins_preview.aws_observabilityadmin.mixins.CfnTelemetryRulePropsMixin.TelemetryRuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_observabilityadmin » mixins » CfnTelemetryRulePropsMixin » TelemetryRuleProperty |
Defines how telemetry should be configured for specific AWS resources.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as observabilityadmin_mixins } from '@aws-cdk/mixins-preview/aws-observabilityadmin';
const telemetryRuleProperty: observabilityadmin_mixins.CfnTelemetryRulePropsMixin.TelemetryRuleProperty = {
destinationConfiguration: {
cloudtrailParameters: {
advancedEventSelectors: [{
fieldSelectors: [{
endsWith: ['endsWith'],
equalTo: ['equalTo'],
field: 'field',
notEndsWith: ['notEndsWith'],
notEquals: ['notEquals'],
notStartsWith: ['notStartsWith'],
startsWith: ['startsWith'],
}],
name: 'name',
}],
},
destinationPattern: 'destinationPattern',
destinationType: 'destinationType',
elbLoadBalancerLoggingParameters: {
fieldDelimiter: 'fieldDelimiter',
outputFormat: 'outputFormat',
},
logDeliveryParameters: {
logTypes: ['logTypes'],
},
retentionInDays: 123,
vpcFlowLogParameters: {
logFormat: 'logFormat',
maxAggregationInterval: 123,
trafficType: 'trafficType',
},
wafLoggingParameters: {
loggingFilter: {
defaultBehavior: 'defaultBehavior',
filters: [{
behavior: 'behavior',
conditions: [{
actionCondition: {
action: 'action',
},
labelNameCondition: {
labelName: 'labelName',
},
}],
requirement: 'requirement',
}],
},
logType: 'logType',
redactedFields: [{
method: 'method',
queryString: 'queryString',
singleHeader: {
name: 'name',
},
uriPath: 'uriPath',
}],
},
},
resourceType: 'resourceType',
selectionCriteria: 'selectionCriteria',
telemetrySourceTypes: ['telemetrySourceTypes'],
telemetryType: 'telemetryType',
};
Properties
| Name | Type | Description |
|---|---|---|
| destination | IResolvable | Telemetry | Configuration specifying where and how the telemetry data should be delivered. |
| resource | string | The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC", "AWS::EKS::Cluster", "AWS::WAFv2::WebACL"). |
| selection | string | Criteria for selecting which resources the rule applies to, such as resource tags. |
| telemetry | string[] | The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS. |
| telemetry | string | The type of telemetry to collect (Logs, Metrics, or Traces). |
destinationConfiguration?
Type:
IResolvable | Telemetry
(optional)
Configuration specifying where and how the telemetry data should be delivered.
resourceType?
Type:
string
(optional)
The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC", "AWS::EKS::Cluster", "AWS::WAFv2::WebACL").
selectionCriteria?
Type:
string
(optional)
Criteria for selecting which resources the rule applies to, such as resource tags.
telemetrySourceTypes?
Type:
string[]
(optional)
The specific telemetry source types to configure for the resource, such as VPC_FLOW_LOGS or EKS_AUDIT_LOGS.
TelemetrySourceTypes must be correlated with the specific resource type.
telemetryType?
Type:
string
(optional)
The type of telemetry to collect (Logs, Metrics, or Traces).

.NET
Go
Java
Python
TypeScript