Bucket
Provides a lightsail bucket.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lightsail.Bucket;
import com.pulumi.aws.lightsail.BucketArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new Bucket("test", BucketArgs.builder()
.bundleId("small_1_0")
.build());
}
}
Content copied to clipboard
Import
aws_lightsail_bucket
can be imported by using the name
attribute, e.g.,
$ pulumi import aws:lightsail/bucket:Bucket test example-bucket
Content copied to clipboard
Properties
Link copied to clipboard
The resource Availability Zone. Follows the format us-east-2a (case-sensitive).
Link copied to clipboard
The ID of the bundle to use for the bucket. A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. Use the get-bucket-bundles cli command to get a list of bundle IDs that you can specify.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The support code for the resource. Include this code in your email to support when you have questions about a resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
Link copied to clipboard