Class TelemetryPipeline
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.observabilityadmin.TelemetryPipeline
-
public class TelemetryPipeline extends com.pulumi.resources.CustomResourceManages an AWS CloudWatch Observability Admin Telemetry Pipeline. Telemetry pipelines allow you to collect, transform, and route telemetry data from AWS services. Each pipeline defines a source, optional processors, and one or more sinks for the telemetry data. For more information, see the [AWS CloudWatch Observability Admin Telemetry Pipelines documentation](https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/what-is-observabilityadmin.html). > **NOTE:** Only one telemetry pipeline per data source type is allowed per account. For example, you can have one pipeline for `amazon_api_gateway/access` and another for `amazon_vpc/flow`, but not two pipelines for the same data source type. ## Example Usage #### Required - `arn` (String) ARN of the telemetry pipeline. Using `pulumi import`, import CloudWatch Observability Admin Telemetry Pipelines using the `arn`. For example: ```sh $ pulumi import aws:observabilityadmin/telemetryPipeline:TelemetryPipeline example arn:aws:observabilityadmin:us-west-2:1234567890:telemetry-pipeline/id ```
-
-
Constructor Summary
Constructors Constructor Description TelemetryPipeline(java.lang.String name)TelemetryPipeline(java.lang.String name, TelemetryPipelineArgs args)TelemetryPipeline(java.lang.String name, TelemetryPipelineArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>arn()com.pulumi.core.Output<TelemetryPipelineConfiguration>configuration()static TelemetryPipelineget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, TelemetryPipelineState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>name()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>tags()com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>tagsAll()com.pulumi.core.Output<java.util.Optional<TelemetryPipelineTimeouts>>timeouts()
-
-
-
Constructor Detail
-
TelemetryPipeline
public TelemetryPipeline(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
TelemetryPipeline
public TelemetryPipeline(java.lang.String name, TelemetryPipelineArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
TelemetryPipeline
public TelemetryPipeline(java.lang.String name, TelemetryPipelineArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- ARN of the telemetry pipeline.
-
configuration
public com.pulumi.core.Output<TelemetryPipelineConfiguration> configuration()
- Returns:
- Configuration block for the telemetry pipeline. See `configuration` below. The following arguments are optional:
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Name of the telemetry pipeline. Must be between 3 and 28 characters, start with a lowercase letter, and contain only lowercase letters, digits, and hyphens.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
- Returns:
- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
-
timeouts
public com.pulumi.core.Output<java.util.Optional<TelemetryPipelineTimeouts>> timeouts()
-
get
public static TelemetryPipeline get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable TelemetryPipelineState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-