TrailDeprecated

class TrailDeprecated : KotlinCustomResource

Deprecated

Resource renamed to `Trail`

DEPRECATED: This resource has been renamed to alicloud.actiontrail.Trail from version 1.95.0. Provides a new resource to manage Action Trail. NOTE: Available in 1.35.0+

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.actiontrail.TrailDeprecated;
import com.pulumi.alicloud.actiontrail.TrailDeprecatedArgs;
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 foo = new TrailDeprecated("foo", TrailDeprecatedArgs.builder()
.eventRw("Write-test")
.ossBucketName(alicloud_oss_bucket.bucket().id())
.roleName(alicloud_ram_role_policy_attachment.attach().role_name())
.ossKeyPrefix("at-product-account-audit-B")
.build());
}
}

Import

Action trail can be imported using the id, e.g.

$ pulumi import alicloud:actiontrail/trailDeprecated:TrailDeprecated foo abc12345678

Properties

Link copied to clipboard
val eventRw: Output<String>?

Indicates whether the event is a read or a write event. Valid values: Read, Write, and All. Default value: Write.

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

The name of the trail to be created, which must be unique for an account.

Link copied to clipboard
val ossBucketName: Output<String>?

The OSS bucket to which the trail delivers logs. Ensure that this is an existing OSS bucket.

Link copied to clipboard
val ossKeyPrefix: Output<String>?

The prefix of the specified OSS bucket name. This parameter can be left empty.

Link copied to clipboard
val ossWriteRoleArn: Output<String>?
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val roleName: Output<String>

The RAM role in ActionTrail permitted by the user.

Link copied to clipboard
val slsProjectArn: Output<String>?

The unique ARN of the Log Service project.

Link copied to clipboard
val slsWriteRoleArn: Output<String>

The unique ARN of the Log Service role.

Link copied to clipboard
val status: Output<String>?
Link copied to clipboard
val trailName: Output<String>
Link copied to clipboard
val trailRegion: Output<String>
Link copied to clipboard
val urn: Output<String>