Sink

class Sink : KotlinCustomResource

Resource for managing an AWS CloudWatch Observability Access Manager Sink.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.oam.Sink;
import com.pulumi.aws.oam.SinkArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Sink("example", SinkArgs.builder()
.tags(Map.of("Env", "prod"))
.build());
}
}

Import

CloudWatch Observability Access Manager Sink can be imported using the arn, e.g.,

$ pulumi import aws:oam/sink:Sink example arn:aws:oam:us-west-2:123456789012:sink/sink-id

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the Sink.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Name for the sink. The following arguments are optional:

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sinkId: Output<String>

ID string that AWS generated as part of the sink ARN.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard
val urn: Output<String>