Show / Hide Table of Contents

Class BucketArgs

Inheritance
System.Object
InputArgs
ResourceArgs
BucketArgs
Inherited Members
ResourceArgs.Empty
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()
Namespace: Pulumi.AliCloud.Oss
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class BucketArgs : ResourceArgs

Constructors

View Source

BucketArgs()

Declaration
public BucketArgs()

Properties

View Source

Acl

The canned ACL to apply. Can be "private", "public-read" and "public-read-write". Defaults to "private".

Declaration
public Input<string> Acl { get; set; }
Property Value
Type Description
Input<System.String>
View Source

BucketName

Declaration
public Input<string> BucketName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

CorsRules

A rule of Cross-Origin Resource Sharing (documented below). The items of core rule are no more than 10 for every OSS bucket.

Declaration
public InputList<BucketCorsRuleArgs> CorsRules { get; set; }
Property Value
Type Description
InputList<BucketCorsRuleArgs>
View Source

ForceDestroy

A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. Defaults to "false".

Declaration
public Input<bool> ForceDestroy { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

LifecycleRules

A configuration of object lifecycle management (documented below).

Declaration
public InputList<BucketLifecycleRuleArgs> LifecycleRules { get; set; }
Property Value
Type Description
InputList<BucketLifecycleRuleArgs>
View Source

Logging

A Settings of bucket logging (documented below).

Declaration
public Input<BucketLoggingArgs> Logging { get; set; }
Property Value
Type Description
Input<BucketLoggingArgs>
View Source

LoggingIsenable

The flag of using logging enable container. Defaults true.

Declaration
public Input<bool> LoggingIsenable { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Policy

Json format text of bucket policy bucket policy management.

Declaration
public Input<string> Policy { get; set; }
Property Value
Type Description
Input<System.String>
View Source

RefererConfig

The configuration of referer (documented below).

Declaration
public Input<BucketRefererConfigArgs> RefererConfig { get; set; }
Property Value
Type Description
Input<BucketRefererConfigArgs>
View Source

ServerSideEncryptionRule

A configuration of server-side encryption (documented below).

Declaration
public Input<BucketServerSideEncryptionRuleArgs> ServerSideEncryptionRule { get; set; }
Property Value
Type Description
Input<BucketServerSideEncryptionRuleArgs>
View Source

StorageClass

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

Declaration
public Input<string> StorageClass { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Tags

A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

Versioning

A state of versioning (documented below).

Declaration
public Input<BucketVersioningArgs> Versioning { get; set; }
Property Value
Type Description
Input<BucketVersioningArgs>
View Source

Website

A website object(documented below).

Declaration
public Input<BucketWebsiteArgs> Website { get; set; }
Property Value
Type Description
Input<BucketWebsiteArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.