class CfnTelemetryPipelinesPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ObservabilityAdmin.Mixins.CfnTelemetryPipelinesPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsobservabilityadmin/mixins#CfnTelemetryPipelinesPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.observabilityadmin.mixins.CfnTelemetryPipelinesPropsMixin |
Python | aws_cdk.mixins_preview.aws_observabilityadmin.mixins.CfnTelemetryPipelinesPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_observabilityadmin » mixins » CfnTelemetryPipelinesPropsMixin |
Implements
IMixin
Extends
Mixin
Creates a telemetry pipeline for processing and transforming telemetry data.
The pipeline defines how data flows from sources through processors to destinations, enabling data transformation and delivering capabilities.
Using CloudWatch as a pipeline source The following is an example of a Body property value for the Configuration object. { "Type": "AWS::ObservabilityAdmin::TelemetryPipelines", "Properties": { "Configuration": { "Body": "pipeline:\n source:\n cloudwatch_logs:\n log_event_metadata:\n data_source_name: "my_data_source"\n data_source_type: "default"\n aws:\n sts_role_arn: "arn:aws:iam::123456789012:role/MyPipelineAccessRole"\n processor:\n - parse_json: {}\n sink:\n - cloudwatch_logs:\n log_group: "@original"" } }
} Type: AWS::ObservabilityAdmin::TelemetryPipelines
Properties: Configuration: Body: | pipeline: source: cloudwatch_logs: log_event_metadata: data_source_name: "my_data_source" data_source_type: "default" aws: sts_role_arn: "arn:aws:iam::123456789012:role/MyPipelineAccessRole" processor: - parse_json: {} sink: - cloudwatch_logs: log_group: "@original" Using Amazon S3 as a pipeline source The following is an example of a Body property value for the Configuration object. { "Type": "AWS::ObservabilityAdmin::TelemetryPipelines", "Properties": { "Configuration": { "Body": "pipeline:\n source:\n s3:\n sqs:\n visibility_timeout: "PT60S"\n visibility_duplication_protection: true\n maximum_messages: 10\n queue_url: "https://sqs.us-east-1.amazonaws.com/123456789012/my-sqs-queue"\n notification_type: "sqs"\n codec:\n ndjson: {}\n aws:\n region: "us-east-1"\n sts_role_arn: "arn:aws:iam::123456789012:role/MyAccessRole"\n data_source_name: "crowdstrike_falcon"\n processor:\n - ocsf:\n version: "1.5"\n mapping_version: "1.5.0"\n schema:\n crowdstrike_falcon:\n sink:\n - cloudwatch_logs:\n log_group: "my-log-group"" } }
} Type: AWS::ObservabilityAdmin::TelemetryPipelines
Properties: Configuration: Body: | pipeline: source: s3: sqs: visibility_timeout: "PT60S" visibility_duplication_protection: true maximum_messages: 10 queue_url: "https://sqs.us-east-1.amazonaws.com/123456789012/my-sqs-queue" notification_type: "sqs" codec: ndjson: {} aws: region: "us-east-1" sts_role_arn: "arn:aws:iam::123456789012:role/MyAccessRole" data_source_name: "crowdstrike_falcon" processor: - ocsf: version: "1.5" mapping_version: "1.5.0" schema: crowdstrike_falcon: sink: - cloudwatch_logs: log_group: "my-log-group"
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as observabilityadmin_mixins } from '@aws-cdk/mixins-preview/aws-observabilityadmin';
const cfnTelemetryPipelinesPropsMixin = new observabilityadmin_mixins.CfnTelemetryPipelinesPropsMixin({
configuration: {
body: 'body',
},
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnTelemetryPipelinesPropsMixin(props: CfnTelemetryPipelinesMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Telemetry Pipelines Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::ObservabilityAdmin::TelemetryPipelines.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript