Class CfnTelemetryPipelinesPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
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 software.amazon.awscdk.cfnpropertymixins.services.observabilityadmin.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnTelemetryPipelinesPropsMixin cfnTelemetryPipelinesPropsMixin = CfnTelemetryPipelinesPropsMixin.Builder.create(CfnTelemetryPipelinesMixinProps.builder()
.configuration(TelemetryPipelineConfigurationProperty.builder()
.body("body")
.build())
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnTelemetryPipelinesPropsMixin.static interfaceDefines the configuration for a pipeline, including how data flows from sources through processors to destinations.static interfaceRepresents a complete telemetry pipeline resource with configuration, status, and metadata for data processing and transformation.static interfaceProvides detailed information about the status of a telemetry pipeline, including reasons for specific states.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::ObservabilityAdmin::TelemetryPipelines.CfnTelemetryPipelinesPropsMixin(CfnTelemetryPipelinesMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::ObservabilityAdmin::TelemetryPipelines.protectedCfnTelemetryPipelinesPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTelemetryPipelinesPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnTelemetryPipelinesMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnTelemetryPipelinesPropsMixin
protected CfnTelemetryPipelinesPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTelemetryPipelinesPropsMixin
protected CfnTelemetryPipelinesPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTelemetryPipelinesPropsMixin
@Stability(Stable) public CfnTelemetryPipelinesPropsMixin(@NotNull CfnTelemetryPipelinesMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::ObservabilityAdmin::TelemetryPipelines.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnTelemetryPipelinesPropsMixin
@Stability(Stable) public CfnTelemetryPipelinesPropsMixin(@NotNull CfnTelemetryPipelinesMixinProps props) Create a mixin to apply properties toAWS::ObservabilityAdmin::TelemetryPipelines.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-