File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tencentcloud/services/cos Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ func ResourceTencentCloudCosBucket() *schema.Resource {
358
358
},
359
359
"filter_prefix" : {
360
360
Type : schema .TypeString ,
361
- Required : true ,
361
+ Optional : true ,
362
362
Description : "Object key prefix identifying one or more objects to which the rule applies." ,
363
363
},
364
364
"transition" : {
Original file line number Diff line number Diff line change @@ -491,9 +491,9 @@ The `expiration` object of `lifecycle_rules` supports the following:
491
491
492
492
The ` lifecycle_rules ` object supports the following:
493
493
494
- * ` filter_prefix ` - (Required, String) Object key prefix identifying one or more objects to which the rule applies.
495
494
* ` abort_incomplete_multipart_upload ` - (Optional, Set) Set the maximum time a multipart upload is allowed to remain running.
496
495
* ` expiration ` - (Optional, Set) Specifies a period in the object's expire (documented below).
496
+ * ` filter_prefix ` - (Optional, String) Object key prefix identifying one or more objects to which the rule applies.
497
497
* ` id ` - (Optional, String) A unique identifier for the rule. It can be up to 255 characters.
498
498
* ` non_current_expiration ` - (Optional, Set) Specifies when non current object versions shall expire.
499
499
* ` non_current_transition ` - (Optional, Set) Specifies a period in the non current object's transitions.
You can’t perform that action at this time.
0 commit comments