Class CfnTelemetryPipelines
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,ITelemetryPipelinesRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
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.services.observabilityadmin.*;
CfnTelemetryPipelines cfnTelemetryPipelines = CfnTelemetryPipelines.Builder.create(this, "MyCfnTelemetryPipelines")
.configuration(TelemetryPipelineConfigurationProperty.builder()
.body("body")
.build())
// the properties below are optional
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnTelemetryPipelines.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.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.observabilityadmin.ITelemetryPipelinesRef
ITelemetryPipelinesRef.Jsii$Default, ITelemetryPipelinesRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnTelemetryPipelines(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTelemetryPipelines(software.amazon.jsii.JsiiObjectRef objRef) CfnTelemetryPipelines(software.constructs.Construct scope, String id, CfnTelemetryPipelinesProps props) Create a newAWS::ObservabilityAdmin::TelemetryPipelines. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe Amazon Resource Name (ARN) of the created telemetry pipeline.The Amazon Resource Name (ARN) of the telemetry pipeline.The current status of the telemetry pipeline.Tag Manager which manages the tags for this resource.The configuration that defines how the telemetry pipeline processes data, including sources, processors, and destinations.getName()The name of the telemetry pipeline to create.getTags()The key-value pairs to associate with the telemetry pipeline resource for categorization and management purposes.A reference to a TelemetryPipelines resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnTelemetryPipelines.renderProperties(Map<String, Object> props) voidsetConfiguration(IResolvable value) The configuration that defines how the telemetry pipeline processes data, including sources, processors, and destinations.voidThe configuration that defines how the telemetry pipeline processes data, including sources, processors, and destinations.voidThe name of the telemetry pipeline to create.voidThe key-value pairs to associate with the telemetry pipeline resource for categorization and management purposes.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnTelemetryPipelines
protected CfnTelemetryPipelines(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTelemetryPipelines
protected CfnTelemetryPipelines(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTelemetryPipelines
@Stability(Stable) public CfnTelemetryPipelines(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTelemetryPipelinesProps props) Create a newAWS::ObservabilityAdmin::TelemetryPipelines.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForTelemetryPipelines
@Stability(Stable) @NotNull public static String arnForTelemetryPipelines(@NotNull ITelemetryPipelinesRef resource) - Parameters:
resource- This parameter is required.
-
isCfnTelemetryPipelines
Checks whether the given object is a CfnTelemetryPipelines.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the created telemetry pipeline. -
getAttrPipeline
-
getAttrPipelineIdentifier
The Amazon Resource Name (ARN) of the telemetry pipeline. -
getAttrStatus
The current status of the telemetry pipeline. -
getAttrStatusReason
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTelemetryPipelinesRef
A reference to a TelemetryPipelines resource.- Specified by:
getTelemetryPipelinesRefin interfaceITelemetryPipelinesRef
-
getConfiguration
The configuration that defines how the telemetry pipeline processes data, including sources, processors, and destinations.Returns union: either
IResolvableorCfnTelemetryPipelines.TelemetryPipelineConfigurationProperty -
setConfiguration
The configuration that defines how the telemetry pipeline processes data, including sources, processors, and destinations. -
setConfiguration
@Stability(Stable) public void setConfiguration(@NotNull CfnTelemetryPipelines.TelemetryPipelineConfigurationProperty value) The configuration that defines how the telemetry pipeline processes data, including sources, processors, and destinations. -
getName
The name of the telemetry pipeline to create. -
setName
The name of the telemetry pipeline to create. -
getTags
The key-value pairs to associate with the telemetry pipeline resource for categorization and management purposes. -
setTags
The key-value pairs to associate with the telemetry pipeline resource for categorization and management purposes.
-