CfnTelemetryPipelinesProps Struct
Properties for defining a CfnTelemetryPipelines.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 cfnTelemetryPipelinesProps: observabilityadmin.CfnTelemetryPipelinesProps = {
configuration: {
body: 'body',
},
// the properties below are optional
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_observabilityadmin as observabilityadmin
cfn_telemetry_pipelines_props = observabilityadmin.CfnTelemetryPipelinesProps(
configuration=observabilityadmin.CfnTelemetryPipelines.TelemetryPipelineConfigurationProperty(
body="body"
),
# the properties below are optional
name="name",
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// 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.*;
CfnTelemetryPipelinesProps cfnTelemetryPipelinesProps = CfnTelemetryPipelinesProps.builder()
.configuration(TelemetryPipelineConfigurationProperty.builder()
.body("body")
.build())
// the properties below are optional
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ObservabilityAdmin;
var cfnTelemetryPipelinesProps = new CfnTelemetryPipelinesProps {
Configuration = new TelemetryPipelineConfigurationProperty {
Body = "body"
},
// the properties below are optional
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnTelemetryPipelinesProps := &CfnTelemetryPipelinesProps{
Configuration: &TelemetryPipelineConfigurationProperty{
Body: jsii.String("body"),
},
// the properties below are optional
Name: jsii.String("name"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
configurationIResolvable | CfnTelemetryPipelines.configurationtyping.Union[IResolvable, TelemetryPipelineConfigurationProperty]configurationIResolvableConfigurationIResolvableConfigurationinterface{} required #The configuration that defines how the telemetry pipeline processes data, including sources, processors, and destinations.
For more information, see the Amazon CloudWatch User Guide .
The name of the telemetry pipeline to create.
The name must be unique within your account.