This message was deleted.
# aws
s
This message was deleted.
d
hmm what’s the difference between aws.s3.BucketLifecycleConfigurationV2 and aws.s3control.BucketLifecycleConfiguration
weird that one takes the bucket.id and the other the arn
l
Neither takes the ID, V2 takes the name, I think?
l
Yes. That link says
bucket Changes to this property will trigger replacement. string
The name of the source S3 bucket you want Amazon S3 to monitor.
d
heh, well the example usage uses
.id
🤷
l
I've never understood why the old types are still in the .d.ts files, and actively used...
Huh, so it does. I've never looked at a bucket id, maybe it is the name?
b
I tried swapping the arn for the bucket ID earlier but that threw an error right away with
pulumi preview
I just discovered the
lifecycleRules
property on aws.s3.Bucket… aaand it worked lol. Not sure why there’s all of Bucket.lifecycleRules, BucketLifecycleConfiguration, and BucketLifecycleConfigurationV2
🙃 1
👍 2