Class BucketArgs
Inheritance
System.Object
BucketArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class BucketArgs : ResourceArgs
Constructors
View Source
BucketArgs()
Declaration
Properties
View Source
BucketPolicyOnly
Declaration
public Input<bool> BucketPolicyOnly { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Cors
Declaration
public InputList<BucketCorArgs> Cors { get; set; }
Property Value
View Source
DefaultEventBasedHold
Declaration
public Input<bool> DefaultEventBasedHold { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Encryption
The bucket's encryption configuration.
Declaration
public Input<BucketEncryptionArgs> Encryption { get; set; }
Property Value
View Source
ForceDestroy
When deleting a bucket, this
boolean option will delete all contained objects. If you try to delete a
bucket that contains objects, the provider will fail that run.
Declaration
public Input<bool> ForceDestroy { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Labels
A set of key/value label pairs to assign to the bucket.
Declaration
public InputMap<string> Labels { get; set; }
Property Value
| Type |
Description |
| InputMap<System.String> |
|
View Source
LifecycleRules
The bucket's Lifecycle Rules configuration. Multiple blocks of this type are permitted. Structure is documented below.
Declaration
public InputList<BucketLifecycleRuleArgs> LifecycleRules { get; set; }
Property Value
View Source
Location
Declaration
public Input<string> Location { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Logging
Declaration
public Input<BucketLoggingArgs> Logging { get; set; }
Property Value
View Source
Name
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Project
The ID of the project in which the resource belongs. If it
is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
RequesterPays
Declaration
public Input<bool> RequesterPays { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
RetentionPolicy
Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.
Declaration
public Input<BucketRetentionPolicyArgs> RetentionPolicy { get; set; }
Property Value
View Source
StorageClass
The target Storage Class of objects affected by this Lifecycle Rule. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE.
Declaration
public Input<string> StorageClass { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Versioning
Declaration
public Input<BucketVersioningArgs> Versioning { get; set; }
Property Value
View Source
Website
Configuration if the bucket acts as a website. Structure is documented below.
Declaration
public Input<BucketWebsiteArgs> Website { get; set; }
Property Value