import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages AWS CloudWatch OTel enrichment. This is a singleton resource that enables OTel enrichment at the account level. * * > **NOTE:** This resource requires the `aws.observabilityadmin.TelemetryEnrichment` resource to be configured first. Without telemetry enrichment enabled, OTel enrichment will not function properly even if the API accepts the configuration. * * ## Example Usage * * ### Enable OTel Enrichment * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.observabilityadmin.TelemetryEnrichment("example", {}); * const exampleOtelEnrichment = new aws.cloudwatch.OtelEnrichment("example", {}, { * dependsOn: [example], * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * No required attributes for singleton identity. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import CloudWatch OTel Enrichment using the region. For example: * * ```sh * $ pulumi import aws:cloudwatch/otelEnrichment:OtelEnrichment example us-west-2 * ``` */ export declare class OtelEnrichment extends pulumi.CustomResource { /** * Get an existing OtelEnrichment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OtelEnrichmentState, opts?: pulumi.CustomResourceOptions): OtelEnrichment; /** * Returns true if the given object is an instance of OtelEnrichment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OtelEnrichment; /** * AWS region where this resource is managed. */ readonly region: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a OtelEnrichment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: OtelEnrichmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OtelEnrichment resources. */ export interface OtelEnrichmentState { /** * AWS region where this resource is managed. */ region?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a OtelEnrichment resource. */ export interface OtelEnrichmentArgs { /** * AWS region where this resource is managed. */ region?: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=otelEnrichment.d.ts.map