pulumi_wasm_providers_aws_mini::s3

Module directory_bucket

source
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§

Functions§

  • Registers a new resource with the given unique name and arguments