CollectionPolicy

class CollectionPolicy : KotlinCustomResource

Provides a SLS Collection Policy resource. Orchestration policies for cloud product log collection. For information about SLS Collection Policy and how to use it, see What is Collection Policy.

NOTE: Available since v1.232.0.

Import

SLS Collection Policy can be imported using the id, e.g.

$ pulumi import alicloud:sls/collectionPolicy:CollectionPolicy example <id>

Properties

Link copied to clipboard

Centralized transfer configuration. See centralize_config below.

Link copied to clipboard

Whether to enable centralized Conversion. The default value is false.

Link copied to clipboard
val dataCode: Output<String>

Log type encoding.

Link copied to clipboard

The configuration is supported only when the log type is global. For example, if the productCode is sls, global logs will be collected to the corresponding region during the first configuration. See data_config below.

Link copied to clipboard
val enabled: Output<Boolean>

Whether to open.

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

Collection rule configuration. See policy_config below.

Link copied to clipboard
val policyName: Output<String>

The name of the rule, with a minimum of 3 characters and a maximum of 63 characters, must start with a letter.

Link copied to clipboard
val productCode: Output<String>

Product code.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

For Resource Directory configuration, the account must have opened the resource directory and be an administrator or a delegated administrator. See resource_directory below.

Link copied to clipboard
val urn: Output<String>