Expand description
Provides a resource for copying an S3 object.
§Example Usage
ⓘ
use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};
#[pulumi_main]
fn test_main() -> Result<(), Error> {
let test = object_copy::create(
"test",
ObjectCopyArgs::builder()
.bucket("destination_bucket")
.grants(
vec![
ObjectCopyGrant::builder().permissions(vec!["READ",]). type ("Group")
.uri("http://acs.amazonaws.com/groups/global/AllUsers")
.build_struct(),
],
)
.key("destination_key")
.source("source_bucket/source_key")
.build_struct(),
);
}
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments