RealTimeLogDelivery

Provides a CDN Real Time Log Delivery resource. For information about CDN Real Time Log Delivery and how to use it, see What is Real Time Log Delivery.

NOTE: Available in v1.134.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cdn.RealTimeLogDelivery;
import com.pulumi.alicloud.cdn.RealTimeLogDeliveryArgs;
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 RealTimeLogDelivery("example", RealTimeLogDeliveryArgs.builder()
.domain("example_value")
.logstore("example_value")
.project("example_value")
.slsRegion("cn-hanghzou")
.build());
}
}

Import

CDN Real Time Log Delivery can be imported using the id, e.g.

$ pulumi import alicloud:cdn/realTimeLogDelivery:RealTimeLogDelivery example <domain>

Properties

Link copied to clipboard
val domain: Output<String>

The accelerated domain name for which you want to configure real-time log delivery. You can specify multiple domain names and separate them with commas (,).

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

The name of the Logstore that collects log data from Alibaba Cloud Content Delivery Network (CDN) in real time.

Link copied to clipboard
val project: Output<String>

The name of the Log Service project that is used for real-time log delivery.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val slsRegion: Output<String>

The region where the Log Service project is deployed.

Link copied to clipboard
val status: Output<String>

The status of the real-time log delivery feature. Valid Values: online and offline.

Link copied to clipboard
val urn: Output<String>