Expand description
Provides an Amazon S3 Express directory bucket resource.
§Example Usage
ⓘ
use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};
#[pulumi_main]
fn test_main() -> Result<(), Error> {
let example = directory_bucket::create(
"example",
DirectoryBucketArgs::builder()
.bucket("example--usw2-az1--x-s3")
.location(DirectoryBucketLocation::builder().name("usw2-az1").build_struct())
.build_struct(),
);
}
§Import
Using pulumi import
, import S3 bucket using bucket
. For example:
$ pulumi import aws:s3/directoryBucket:DirectoryBucket example example--usw2-az1--x-s3
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