# danubedata.StorageBucket
Manages an S3-compatible object storage bucket.
Example Usage
Basic Bucket
import * as pulumi from "@pulumi/pulumi";
import * as danubedata from "@danubedata/pulumi";
const assets = new danubedata.StorageBucket("assets", {region: "fsn1"});
export const bucketEndpoint = assets.endpointUrl;
import pulumi
import pulumi_danubedata as danubedata
assets = danubedata.StorageBucket("assets", region="fsn1")
pulumi.export("bucketEndpoint", assets.endpoint_url)
package main
import (
"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
assets, err := danubedata.NewStorageBucket(ctx, "assets", &danubedata.StorageBucketArgs{
Region: pulumi.String("fsn1"),
})
if err != nil {
return err
}
ctx.Export("bucketEndpoint", assets.EndpointUrl)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DanubeData = DanubeData.DanubeData;
return await Deployment.RunAsync(() =>
{
var assets = new DanubeData.StorageBucket("assets", new()
{
Region = "fsn1",
});
return new Dictionary<string, object?>
{
["bucketEndpoint"] = assets.EndpointUrl,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.danubedata.StorageBucket;
import com.pulumi.danubedata.StorageBucketArgs;
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 assets = new StorageBucket("assets", StorageBucketArgs.builder()
.region("fsn1")
.build());
ctx.export("bucketEndpoint", assets.endpointUrl());
}
}
resources:
assets:
type: danubedata:StorageBucket
properties:
region: fsn1
outputs:
bucketEndpoint: ${assets.endpointUrl}
Bucket with Versioning
import * as pulumi from "@pulumi/pulumi";
import * as danubedata from "@danubedata/pulumi";
const backups = new danubedata.StorageBucket("backups", {
region: "fsn1",
versioningEnabled: true,
});
import pulumi
import pulumi_danubedata as danubedata
backups = danubedata.StorageBucket("backups",
region="fsn1",
versioning_enabled=True)
package main
import (
"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := danubedata.NewStorageBucket(ctx, "backups", &danubedata.StorageBucketArgs{
Region: pulumi.String("fsn1"),
VersioningEnabled: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DanubeData = DanubeData.DanubeData;
return await Deployment.RunAsync(() =>
{
var backups = new DanubeData.StorageBucket("backups", new()
{
Region = "fsn1",
VersioningEnabled = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.danubedata.StorageBucket;
import com.pulumi.danubedata.StorageBucketArgs;
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 backups = new StorageBucket("backups", StorageBucketArgs.builder()
.region("fsn1")
.versioningEnabled(true)
.build());
}
}
resources:
backups:
type: danubedata:StorageBucket
properties:
region: fsn1
versioningEnabled: true
Public Bucket
import * as pulumi from "@pulumi/pulumi";
import * as danubedata from "@danubedata/pulumi";
const _public = new danubedata.StorageBucket("public", {
publicAccess: true,
region: "fsn1",
});
import pulumi
import pulumi_danubedata as danubedata
public = danubedata.StorageBucket("public",
public_access=True,
region="fsn1")
package main
import (
"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := danubedata.NewStorageBucket(ctx, "public", &danubedata.StorageBucketArgs{
PublicAccess: pulumi.Bool(true),
Region: pulumi.String("fsn1"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DanubeData = DanubeData.DanubeData;
return await Deployment.RunAsync(() =>
{
var @public = new DanubeData.StorageBucket("public", new()
{
PublicAccess = true,
Region = "fsn1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.danubedata.StorageBucket;
import com.pulumi.danubedata.StorageBucketArgs;
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 public_ = new StorageBucket("public", StorageBucketArgs.builder()
.publicAccess(true)
.region("fsn1")
.build());
}
}
resources:
public:
type: danubedata:StorageBucket
properties:
publicAccess: true
region: fsn1
Complete Configuration
import * as pulumi from "@pulumi/pulumi";
import * as danubedata from "@danubedata/pulumi";
const data = new danubedata.StorageBucket("data", {
displayName: "Application Data",
encryptionEnabled: true,
publicAccess: false,
region: "fsn1",
versioningEnabled: true,
});
import pulumi
import pulumi_danubedata as danubedata
data = danubedata.StorageBucket("data",
display_name="Application Data",
encryption_enabled=True,
public_access=False,
region="fsn1",
versioning_enabled=True)
package main
import (
"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := danubedata.NewStorageBucket(ctx, "data", &danubedata.StorageBucketArgs{
DisplayName: pulumi.String("Application Data"),
EncryptionEnabled: pulumi.Bool(true),
PublicAccess: pulumi.Bool(false),
Region: pulumi.String("fsn1"),
VersioningEnabled: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DanubeData = DanubeData.DanubeData;
return await Deployment.RunAsync(() =>
{
var data = new DanubeData.StorageBucket("data", new()
{
DisplayName = "Application Data",
EncryptionEnabled = true,
PublicAccess = false,
Region = "fsn1",
VersioningEnabled = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.danubedata.StorageBucket;
import com.pulumi.danubedata.StorageBucketArgs;
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 data = new StorageBucket("data", StorageBucketArgs.builder()
.displayName("Application Data")
.encryptionEnabled(true)
.publicAccess(false)
.region("fsn1")
.versioningEnabled(true)
.build());
}
}
resources:
data:
type: danubedata:StorageBucket
properties:
displayName: Application Data
encryptionEnabled: true
publicAccess: false
region: fsn1
versioningEnabled: true
Pricing
- Base: EUR 3.99/month
- Includes: 1TB storage + 1TB egress traffic
- Overage: EUR 0.01/GB for storage, EUR 0.01/GB for egress
Create StorageBucket Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StorageBucket(name: string, args: StorageBucketArgs, opts?: CustomResourceOptions);@overload
def StorageBucket(resource_name: str,
args: StorageBucketArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StorageBucket(resource_name: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
display_name: Optional[str] = None,
encryption_enabled: Optional[bool] = None,
encryption_type: Optional[str] = None,
name: Optional[str] = None,
public_access: Optional[bool] = None,
timeouts: Optional[StorageBucketTimeoutsArgs] = None,
versioning_enabled: Optional[bool] = None)func NewStorageBucket(ctx *Context, name string, args StorageBucketArgs, opts ...ResourceOption) (*StorageBucket, error)public StorageBucket(string name, StorageBucketArgs args, CustomResourceOptions? opts = null)
public StorageBucket(String name, StorageBucketArgs args)
public StorageBucket(String name, StorageBucketArgs args, CustomResourceOptions options)
type: danubedata:StorageBucket
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args StorageBucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StorageBucketArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StorageBucketArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StorageBucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StorageBucketArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var storageBucketResource = new DanubeData.StorageBucket("storageBucketResource", new()
{
Region = "string",
DisplayName = "string",
EncryptionEnabled = false,
EncryptionType = "string",
Name = "string",
PublicAccess = false,
Timeouts = new DanubeData.Inputs.StorageBucketTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
VersioningEnabled = false,
});
example, err := danubedata.NewStorageBucket(ctx, "storageBucketResource", &danubedata.StorageBucketArgs{
Region: pulumi.String("string"),
DisplayName: pulumi.String("string"),
EncryptionEnabled: pulumi.Bool(false),
EncryptionType: pulumi.String("string"),
Name: pulumi.String("string"),
PublicAccess: pulumi.Bool(false),
Timeouts: &danubedata.StorageBucketTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
VersioningEnabled: pulumi.Bool(false),
})
var storageBucketResource = new StorageBucket("storageBucketResource", StorageBucketArgs.builder()
.region("string")
.displayName("string")
.encryptionEnabled(false)
.encryptionType("string")
.name("string")
.publicAccess(false)
.timeouts(StorageBucketTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.versioningEnabled(false)
.build());
storage_bucket_resource = danubedata.StorageBucket("storageBucketResource",
region="string",
display_name="string",
encryption_enabled=False,
encryption_type="string",
name="string",
public_access=False,
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
versioning_enabled=False)
const storageBucketResource = new danubedata.StorageBucket("storageBucketResource", {
region: "string",
displayName: "string",
encryptionEnabled: false,
encryptionType: "string",
name: "string",
publicAccess: false,
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
versioningEnabled: false,
});
type: danubedata:StorageBucket
properties:
displayName: string
encryptionEnabled: false
encryptionType: string
name: string
publicAccess: false
region: string
timeouts:
create: string
delete: string
update: string
versioningEnabled: false
StorageBucket Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StorageBucket resource accepts the following input properties:
- Region string
- Region for the storage bucket (fsn1).
- Display
Name string - Human-readable display name for the bucket.
- Encryption
Enabled bool - Whether server-side encryption is enabled.
- Encryption
Type string - Encryption type (none, sse-s3, sse-kms).
- Name string
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- Public
Access bool - Whether the bucket has public read access enabled.
- Timeouts
Danube
Data. Danube Data. Inputs. Storage Bucket Timeouts - Versioning
Enabled bool - Whether object versioning is enabled.
- Region string
- Region for the storage bucket (fsn1).
- Display
Name string - Human-readable display name for the bucket.
- Encryption
Enabled bool - Whether server-side encryption is enabled.
- Encryption
Type string - Encryption type (none, sse-s3, sse-kms).
- Name string
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- Public
Access bool - Whether the bucket has public read access enabled.
- Timeouts
Storage
Bucket Timeouts Args - Versioning
Enabled bool - Whether object versioning is enabled.
- region String
- Region for the storage bucket (fsn1).
- display
Name String - Human-readable display name for the bucket.
- encryption
Enabled Boolean - Whether server-side encryption is enabled.
- encryption
Type String - Encryption type (none, sse-s3, sse-kms).
- name String
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- public
Access Boolean - Whether the bucket has public read access enabled.
- timeouts
Storage
Bucket Timeouts - versioning
Enabled Boolean - Whether object versioning is enabled.
- region string
- Region for the storage bucket (fsn1).
- display
Name string - Human-readable display name for the bucket.
- encryption
Enabled boolean - Whether server-side encryption is enabled.
- encryption
Type string - Encryption type (none, sse-s3, sse-kms).
- name string
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- public
Access boolean - Whether the bucket has public read access enabled.
- timeouts
Storage
Bucket Timeouts - versioning
Enabled boolean - Whether object versioning is enabled.
- region str
- Region for the storage bucket (fsn1).
- display_
name str - Human-readable display name for the bucket.
- encryption_
enabled bool - Whether server-side encryption is enabled.
- encryption_
type str - Encryption type (none, sse-s3, sse-kms).
- name str
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- public_
access bool - Whether the bucket has public read access enabled.
- timeouts
Storage
Bucket Timeouts Args - versioning_
enabled bool - Whether object versioning is enabled.
- region String
- Region for the storage bucket (fsn1).
- display
Name String - Human-readable display name for the bucket.
- encryption
Enabled Boolean - Whether server-side encryption is enabled.
- encryption
Type String - Encryption type (none, sse-s3, sse-kms).
- name String
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- public
Access Boolean - Whether the bucket has public read access enabled.
- timeouts Property Map
- versioning
Enabled Boolean - Whether object versioning is enabled.
Outputs
All input properties are implicitly available as output properties. Additionally, the StorageBucket resource produces the following output properties:
- Created
At string - Creation timestamp.
- Endpoint
Url string - S3-compatible endpoint URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Minio
Bucket stringName - Internal bucket name.
- Monthly
Cost double - Estimated monthly cost.
- Monthly
Cost intCents - Monthly cost in cents.
- Object
Count int - Number of objects.
- Size
Bytes int - Current size in bytes.
- Status string
- Current status.
- Updated
At string - Timestamp when the bucket was last updated.
- Created
At string - Creation timestamp.
- Endpoint
Url string - S3-compatible endpoint URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Minio
Bucket stringName - Internal bucket name.
- Monthly
Cost float64 - Estimated monthly cost.
- Monthly
Cost intCents - Monthly cost in cents.
- Object
Count int - Number of objects.
- Size
Bytes int - Current size in bytes.
- Status string
- Current status.
- Updated
At string - Timestamp when the bucket was last updated.
- created
At String - Creation timestamp.
- endpoint
Url String - S3-compatible endpoint URL.
- id String
- The provider-assigned unique ID for this managed resource.
- minio
Bucket StringName - Internal bucket name.
- monthly
Cost Double - Estimated monthly cost.
- monthly
Cost IntegerCents - Monthly cost in cents.
- object
Count Integer - Number of objects.
- size
Bytes Integer - Current size in bytes.
- status String
- Current status.
- updated
At String - Timestamp when the bucket was last updated.
- created
At string - Creation timestamp.
- endpoint
Url string - S3-compatible endpoint URL.
- id string
- The provider-assigned unique ID for this managed resource.
- minio
Bucket stringName - Internal bucket name.
- monthly
Cost number - Estimated monthly cost.
- monthly
Cost numberCents - Monthly cost in cents.
- object
Count number - Number of objects.
- size
Bytes number - Current size in bytes.
- status string
- Current status.
- updated
At string - Timestamp when the bucket was last updated.
- created_
at str - Creation timestamp.
- endpoint_
url str - S3-compatible endpoint URL.
- id str
- The provider-assigned unique ID for this managed resource.
- minio_
bucket_ strname - Internal bucket name.
- monthly_
cost float - Estimated monthly cost.
- monthly_
cost_ intcents - Monthly cost in cents.
- object_
count int - Number of objects.
- size_
bytes int - Current size in bytes.
- status str
- Current status.
- updated_
at str - Timestamp when the bucket was last updated.
- created
At String - Creation timestamp.
- endpoint
Url String - S3-compatible endpoint URL.
- id String
- The provider-assigned unique ID for this managed resource.
- minio
Bucket StringName - Internal bucket name.
- monthly
Cost Number - Estimated monthly cost.
- monthly
Cost NumberCents - Monthly cost in cents.
- object
Count Number - Number of objects.
- size
Bytes Number - Current size in bytes.
- status String
- Current status.
- updated
At String - Timestamp when the bucket was last updated.
Look up Existing StorageBucket Resource
Get an existing StorageBucket resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: StorageBucketState, opts?: CustomResourceOptions): StorageBucket@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
display_name: Optional[str] = None,
encryption_enabled: Optional[bool] = None,
encryption_type: Optional[str] = None,
endpoint_url: Optional[str] = None,
minio_bucket_name: Optional[str] = None,
monthly_cost: Optional[float] = None,
monthly_cost_cents: Optional[int] = None,
name: Optional[str] = None,
object_count: Optional[int] = None,
public_access: Optional[bool] = None,
region: Optional[str] = None,
size_bytes: Optional[int] = None,
status: Optional[str] = None,
timeouts: Optional[StorageBucketTimeoutsArgs] = None,
updated_at: Optional[str] = None,
versioning_enabled: Optional[bool] = None) -> StorageBucketfunc GetStorageBucket(ctx *Context, name string, id IDInput, state *StorageBucketState, opts ...ResourceOption) (*StorageBucket, error)public static StorageBucket Get(string name, Input<string> id, StorageBucketState? state, CustomResourceOptions? opts = null)public static StorageBucket get(String name, Output<String> id, StorageBucketState state, CustomResourceOptions options)resources: _: type: danubedata:StorageBucket get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
At string - Creation timestamp.
- Display
Name string - Human-readable display name for the bucket.
- Encryption
Enabled bool - Whether server-side encryption is enabled.
- Encryption
Type string - Encryption type (none, sse-s3, sse-kms).
- Endpoint
Url string - S3-compatible endpoint URL.
- Minio
Bucket stringName - Internal bucket name.
- Monthly
Cost double - Estimated monthly cost.
- Monthly
Cost intCents - Monthly cost in cents.
- Name string
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- Object
Count int - Number of objects.
- Public
Access bool - Whether the bucket has public read access enabled.
- Region string
- Region for the storage bucket (fsn1).
- Size
Bytes int - Current size in bytes.
- Status string
- Current status.
- Timeouts
Danube
Data. Danube Data. Inputs. Storage Bucket Timeouts - Updated
At string - Timestamp when the bucket was last updated.
- Versioning
Enabled bool - Whether object versioning is enabled.
- Created
At string - Creation timestamp.
- Display
Name string - Human-readable display name for the bucket.
- Encryption
Enabled bool - Whether server-side encryption is enabled.
- Encryption
Type string - Encryption type (none, sse-s3, sse-kms).
- Endpoint
Url string - S3-compatible endpoint URL.
- Minio
Bucket stringName - Internal bucket name.
- Monthly
Cost float64 - Estimated monthly cost.
- Monthly
Cost intCents - Monthly cost in cents.
- Name string
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- Object
Count int - Number of objects.
- Public
Access bool - Whether the bucket has public read access enabled.
- Region string
- Region for the storage bucket (fsn1).
- Size
Bytes int - Current size in bytes.
- Status string
- Current status.
- Timeouts
Storage
Bucket Timeouts Args - Updated
At string - Timestamp when the bucket was last updated.
- Versioning
Enabled bool - Whether object versioning is enabled.
- created
At String - Creation timestamp.
- display
Name String - Human-readable display name for the bucket.
- encryption
Enabled Boolean - Whether server-side encryption is enabled.
- encryption
Type String - Encryption type (none, sse-s3, sse-kms).
- endpoint
Url String - S3-compatible endpoint URL.
- minio
Bucket StringName - Internal bucket name.
- monthly
Cost Double - Estimated monthly cost.
- monthly
Cost IntegerCents - Monthly cost in cents.
- name String
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- object
Count Integer - Number of objects.
- public
Access Boolean - Whether the bucket has public read access enabled.
- region String
- Region for the storage bucket (fsn1).
- size
Bytes Integer - Current size in bytes.
- status String
- Current status.
- timeouts
Storage
Bucket Timeouts - updated
At String - Timestamp when the bucket was last updated.
- versioning
Enabled Boolean - Whether object versioning is enabled.
- created
At string - Creation timestamp.
- display
Name string - Human-readable display name for the bucket.
- encryption
Enabled boolean - Whether server-side encryption is enabled.
- encryption
Type string - Encryption type (none, sse-s3, sse-kms).
- endpoint
Url string - S3-compatible endpoint URL.
- minio
Bucket stringName - Internal bucket name.
- monthly
Cost number - Estimated monthly cost.
- monthly
Cost numberCents - Monthly cost in cents.
- name string
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- object
Count number - Number of objects.
- public
Access boolean - Whether the bucket has public read access enabled.
- region string
- Region for the storage bucket (fsn1).
- size
Bytes number - Current size in bytes.
- status string
- Current status.
- timeouts
Storage
Bucket Timeouts - updated
At string - Timestamp when the bucket was last updated.
- versioning
Enabled boolean - Whether object versioning is enabled.
- created_
at str - Creation timestamp.
- display_
name str - Human-readable display name for the bucket.
- encryption_
enabled bool - Whether server-side encryption is enabled.
- encryption_
type str - Encryption type (none, sse-s3, sse-kms).
- endpoint_
url str - S3-compatible endpoint URL.
- minio_
bucket_ strname - Internal bucket name.
- monthly_
cost float - Estimated monthly cost.
- monthly_
cost_ intcents - Monthly cost in cents.
- name str
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- object_
count int - Number of objects.
- public_
access bool - Whether the bucket has public read access enabled.
- region str
- Region for the storage bucket (fsn1).
- size_
bytes int - Current size in bytes.
- status str
- Current status.
- timeouts
Storage
Bucket Timeouts Args - updated_
at str - Timestamp when the bucket was last updated.
- versioning_
enabled bool - Whether object versioning is enabled.
- created
At String - Creation timestamp.
- display
Name String - Human-readable display name for the bucket.
- encryption
Enabled Boolean - Whether server-side encryption is enabled.
- encryption
Type String - Encryption type (none, sse-s3, sse-kms).
- endpoint
Url String - S3-compatible endpoint URL.
- minio
Bucket StringName - Internal bucket name.
- monthly
Cost Number - Estimated monthly cost.
- monthly
Cost NumberCents - Monthly cost in cents.
- name String
- Name of the storage bucket. Must follow S3 bucket naming rules (3-63 chars, lowercase alphanumeric with hyphens).
- object
Count Number - Number of objects.
- public
Access Boolean - Whether the bucket has public read access enabled.
- region String
- Region for the storage bucket (fsn1).
- size
Bytes Number - Current size in bytes.
- status String
- Current status.
- timeouts Property Map
- updated
At String - Timestamp when the bucket was last updated.
- versioning
Enabled Boolean - Whether object versioning is enabled.
Supporting Types
StorageBucketTimeouts, StorageBucketTimeoutsArgs
Import
Storage buckets can be imported using their ID:
bash
$ pulumi import danubedata:index/storageBucket:StorageBucket example bucket-abc123
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- danubedata AdrianSilaghi/pulumi-danubedata
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
danubedataTerraform Provider.
