BucketLoggingProps
Properties for defining a BucketLogging.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oss-bucketlogging
Initializer
import { BucketLoggingProps } from '@alicloud/ros-cdk-oss'
const bucketLoggingProps: BucketLoggingProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
bucket | string | @alicloud/ros-cdk-core.IResolvable | Property bucket: The name of the bucket. |
targetBucket | string | @alicloud/ros-cdk-core.IResolvable | Property targetBucket: The bucket that stores access logs. |
loggingRole | string | @alicloud/ros-cdk-core.IResolvable | Property loggingRole: Authorization role used for bucket logging. |
targetPrefix | string | @alicloud/ros-cdk-core.IResolvable | Property targetPrefix: The prefix of the saved log objects. |
bucketRequired
public readonly bucket: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property bucket: The name of the bucket.
targetBucketRequired
public readonly targetBucket: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property targetBucket: The bucket that stores access logs.
loggingRoleOptional
public readonly loggingRole: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property loggingRole: Authorization role used for bucket logging.
targetPrefixOptional
public readonly targetPrefix: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property targetPrefix: The prefix of the saved log objects.
This element can be left empty.