BucketLoggingProps
Properties for defining a BucketLogging.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oss-bucketlogging
Initializer
import ros_cdk_oss
ros_cdk_oss.BucketLoggingProps(
bucket: typing.Union[str, IResolvable],
target_bucket: typing.Union[str, IResolvable],
logging_role: typing.Union[str, IResolvable] = None,
target_prefix: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
bucket | typing.Union[str, ros_cdk_core.IResolvable] | Property bucket: The name of the bucket. |
target_bucket | typing.Union[str, ros_cdk_core.IResolvable] | Property targetBucket: The bucket that stores access logs. |
logging_role | typing.Union[str, ros_cdk_core.IResolvable] | Property loggingRole: Authorization role used for bucket logging. |
target_prefix | typing.Union[str, ros_cdk_core.IResolvable] | Property targetPrefix: The prefix of the saved log objects. |
bucketRequired
bucket: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property bucket: The name of the bucket.
target_bucketRequired
target_bucket: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property targetBucket: The bucket that stores access logs.
logging_roleOptional
logging_role: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property loggingRole: Authorization role used for bucket logging.
target_prefixOptional
target_prefix: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property targetPrefix: The prefix of the saved log objects.
This element can be left empty.