Skip to content

TrailLoggingProps

Properties for defining a TrailLogging.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-actiontrail-traillogging

Initializer

import com.aliyun.ros.cdk.actiontrail.TrailLoggingProps;
TrailLoggingProps.builder()
    .enable(java.lang.Boolean)
    .enable(IResolvable)
    .name(java.lang.String)
    .name(IResolvable)
    .build();

Properties

Name Type Description
enable java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property enable: Whether to enable the trail logging.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the trail.\ The name must be 6 to 36 characters in length and can contain lowercase letters, digits, hyphens (-), and underscores (_). It must start with a lowercase letter. > The name must be unique within an account.

enableRequired

public java.lang.Object getEnable();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property enable: Whether to enable the trail logging.


nameRequired

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: The name of the trail.\ The name must be 6 to 36 characters in length and can contain lowercase letters, digits, hyphens (-), and underscores (_). It must start with a lowercase letter. > The name must be unique within an account.