oss

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Bucket

type Bucket struct {
	pulumi.CustomResourceState

	// The [canned ACL](https://www.alibabacloud.com/help/doc-detail/31898.htm) to apply. Can be "private", "public-read" and "public-read-write". Defaults to "private".
	Acl    pulumi.StringPtrOutput `pulumi:"acl"`
	Bucket pulumi.StringPtrOutput `pulumi:"bucket"`
	// A rule of [Cross-Origin Resource Sharing](https://www.alibabacloud.com/help/doc-detail/31903.htm) (documented below). The items of core rule are no more than 10 for every OSS bucket.
	CorsRules BucketCorsRuleArrayOutput `pulumi:"corsRules"`
	// The creation date of the bucket.
	CreationDate pulumi.StringOutput `pulumi:"creationDate"`
	// The extranet access endpoint of the bucket.
	ExtranetEndpoint pulumi.StringOutput `pulumi:"extranetEndpoint"`
	// 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".
	ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"`
	// The intranet access endpoint of the bucket.
	IntranetEndpoint pulumi.StringOutput `pulumi:"intranetEndpoint"`
	// A configuration of [object lifecycle management](https://www.alibabacloud.com/help/doc-detail/31904.htm) (documented below).
	LifecycleRules BucketLifecycleRuleArrayOutput `pulumi:"lifecycleRules"`
	// The location of the bucket.
	Location pulumi.StringOutput `pulumi:"location"`
	// A Settings of [bucket logging](https://www.alibabacloud.com/help/doc-detail/31900.htm) (documented below).
	Logging BucketLoggingPtrOutput `pulumi:"logging"`
	// The flag of using logging enable container. Defaults true.
	//
	// Deprecated: Deprecated from 1.37.0. When `logging` is set, the bucket logging will be able.
	LoggingIsenable pulumi.BoolPtrOutput `pulumi:"loggingIsenable"`
	// The bucket owner.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// Json format text of bucket policy [bucket policy management](https://www.alibabacloud.com/help/doc-detail/100680.htm).
	Policy pulumi.StringPtrOutput `pulumi:"policy"`
	// The [redundancy type](https://www.alibabacloud.com/help/doc-detail/90589.htm) to enable. Can be "LRS", and "ZRS". Defaults to "LRS".
	RedundancyType pulumi.StringPtrOutput `pulumi:"redundancyType"`
	// The configuration of [referer](https://www.alibabacloud.com/help/doc-detail/31901.htm) (documented below).
	RefererConfig BucketRefererConfigPtrOutput `pulumi:"refererConfig"`
	// A configuration of server-side encryption (documented below).
	ServerSideEncryptionRule BucketServerSideEncryptionRulePtrOutput `pulumi:"serverSideEncryptionRule"`
	// 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`.
	StorageClass pulumi.StringPtrOutput `pulumi:"storageClass"`
	// A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// A transfer acceleration status of a bucket (documented below).
	TransferAcceleration BucketTransferAccelerationPtrOutput `pulumi:"transferAcceleration"`
	// A state of versioning (documented below).
	Versioning BucketVersioningPtrOutput `pulumi:"versioning"`
	// A website object(documented below).
	Website BucketWebsitePtrOutput `pulumi:"website"`
}

Provides a resource to create a oss bucket and set its attribution.

> **NOTE:** The bucket namespace is shared by all users of the OSS system. Please set bucket name as unique as possible.

## Example Usage

Private Bucket

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-acl", &oss.BucketArgs{
			Acl:    pulumi.String("private"),
			Bucket: pulumi.String("bucket-170309-acl"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Static Website

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-website", &oss.BucketArgs{
			Bucket: pulumi.String("bucket-170309-website"),
			Website: &oss.BucketWebsiteArgs{
				ErrorDocument: pulumi.String("error.html"),
				IndexDocument: pulumi.String("index.html"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Enable Logging

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-target", &oss.BucketArgs{
			Bucket: pulumi.String("bucket-170309-acl"),
			Acl:    pulumi.String("public-read"),
		})
		if err != nil {
			return err
		}
		_, err = oss.NewBucket(ctx, "bucket-logging", &oss.BucketArgs{
			Bucket: pulumi.String("bucket-170309-logging"),
			Logging: &oss.BucketLoggingArgs{
				TargetBucket: bucket_target.ID(),
				TargetPrefix: pulumi.String("log/"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Referer configuration

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-referer", &oss.BucketArgs{
			Acl:    pulumi.String("private"),
			Bucket: pulumi.String("bucket-170309-referer"),
			RefererConfig: &oss.BucketRefererConfigArgs{
				AllowEmpty: pulumi.Bool(false),
				Referers: pulumi.StringArray{
					pulumi.String("http://www.aliyun.com"),
					pulumi.String("https://www.aliyun.com"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Set lifecycle rule

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-lifecycle", &oss.BucketArgs{
			Acl:    pulumi.String("public-read"),
			Bucket: pulumi.String("bucket-170309-lifecycle"),
			LifecycleRules: oss.BucketLifecycleRuleArray{
				&oss.BucketLifecycleRuleArgs{
					AbortMultipartUploads: oss.BucketLifecycleRuleAbortMultipartUploadArray{
						&oss.BucketLifecycleRuleAbortMultipartUploadArgs{
							Days: pulumi.Int(128),
						},
					},
					Enabled: pulumi.Bool(true),
					Id:      pulumi.String("rule-abort-multipart-upload"),
					Prefix:  pulumi.String("path3/"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = oss.NewBucket(ctx, "bucket-versioning-lifecycle", &oss.BucketArgs{
			Acl:    pulumi.String("private"),
			Bucket: pulumi.String("bucket-170309-lifecycle"),
			LifecycleRules: oss.BucketLifecycleRuleArray{
				&oss.BucketLifecycleRuleArgs{
					Enabled: pulumi.Bool(true),
					Expirations: oss.BucketLifecycleRuleExpirationArray{
						&oss.BucketLifecycleRuleExpirationArgs{
							ExpiredObjectDeleteMarker: pulumi.Bool(true),
						},
					},
					Id: pulumi.String("rule-versioning"),
					NoncurrentVersionExpirations: oss.BucketLifecycleRuleNoncurrentVersionExpirationArray{
						&oss.BucketLifecycleRuleNoncurrentVersionExpirationArgs{
							Days: pulumi.Int(240),
						},
					},
					NoncurrentVersionTransitions: oss.BucketLifecycleRuleNoncurrentVersionTransitionArray{
						&oss.BucketLifecycleRuleNoncurrentVersionTransitionArgs{
							Days:         pulumi.Int(180),
							StorageClass: pulumi.String("Archive"),
						},
						&oss.BucketLifecycleRuleNoncurrentVersionTransitionArgs{
							Days:         pulumi.Int(60),
							StorageClass: pulumi.String("IA"),
						},
					},
					Prefix: pulumi.String("path1/"),
				},
			},
			Versioning: &oss.BucketVersioningArgs{
				Status: pulumi.String("Enabled"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Set bucket policy

```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-policy", &oss.BucketArgs{
			Acl:    pulumi.String("private"),
			Bucket: pulumi.String("bucket-170309-policy"),
			Policy: pulumi.String(fmt.Sprintf(`  {"Statement":
      [{"Action":
          ["oss:PutObject", "oss:GetObject", "oss:DeleteBucket"],
        "Effect":"Allow",
        "Resource":
            ["acs:oss:*:*:*"]}],
   "Version":"1"}

`)),

		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

IA Bucket

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-storageclass", &oss.BucketArgs{
			Bucket:       pulumi.String("bucket-170309-storageclass"),
			StorageClass: pulumi.String("IA"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Set bucket server-side encryption rule

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-sserule", &oss.BucketArgs{
			Acl:    pulumi.String("private"),
			Bucket: pulumi.String("bucket-170309-sserule"),
			ServerSideEncryptionRule: &oss.BucketServerSideEncryptionRuleArgs{
				KmsMasterKeyId: pulumi.String("your kms key id"),
				SseAlgorithm:   pulumi.String("KMS"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Set bucket tags

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-tags", &oss.BucketArgs{
			Acl:    pulumi.String("private"),
			Bucket: pulumi.String("bucket-170309-tags"),
			Tags: pulumi.AnyMap{
				"key1": pulumi.Any("value1"),
				"key2": pulumi.Any("value2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Enable bucket versioning

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-versioning", &oss.BucketArgs{
			Acl:    pulumi.String("private"),
			Bucket: pulumi.String("bucket-170309-versioning"),
			Versioning: &oss.BucketVersioningArgs{
				Status: pulumi.String("Enabled"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Set bucket redundancy type

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-redundancytype", &oss.BucketArgs{
			Bucket:         pulumi.String("bucket_name"),
			RedundancyType: pulumi.String("ZRS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Set bucket accelerate configuration

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucket(ctx, "bucket-accelerate", &oss.BucketArgs{
			Bucket: pulumi.String("bucket_name"),
			TransferAcceleration: &oss.BucketTransferAccelerationArgs{
				Enabled: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OSS bucket can be imported using the bucket name, e.g.

```sh

$ pulumi import alicloud:oss/bucket:Bucket bucket bucket-12345678

```

func GetBucket

func GetBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketState, opts ...pulumi.ResourceOption) (*Bucket, error)

GetBucket gets an existing Bucket resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBucket

func NewBucket(ctx *pulumi.Context,
	name string, args *BucketArgs, opts ...pulumi.ResourceOption) (*Bucket, error)

NewBucket registers a new resource with the given unique name, arguments, and options.

func (*Bucket) ElementType

func (*Bucket) ElementType() reflect.Type

func (*Bucket) ToBucketOutput

func (i *Bucket) ToBucketOutput() BucketOutput

func (*Bucket) ToBucketOutputWithContext

func (i *Bucket) ToBucketOutputWithContext(ctx context.Context) BucketOutput

type BucketArgs

type BucketArgs struct {
	// The [canned ACL](https://www.alibabacloud.com/help/doc-detail/31898.htm) to apply. Can be "private", "public-read" and "public-read-write". Defaults to "private".
	Acl    pulumi.StringPtrInput
	Bucket pulumi.StringPtrInput
	// A rule of [Cross-Origin Resource Sharing](https://www.alibabacloud.com/help/doc-detail/31903.htm) (documented below). The items of core rule are no more than 10 for every OSS bucket.
	CorsRules BucketCorsRuleArrayInput
	// 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".
	ForceDestroy pulumi.BoolPtrInput
	// A configuration of [object lifecycle management](https://www.alibabacloud.com/help/doc-detail/31904.htm) (documented below).
	LifecycleRules BucketLifecycleRuleArrayInput
	// A Settings of [bucket logging](https://www.alibabacloud.com/help/doc-detail/31900.htm) (documented below).
	Logging BucketLoggingPtrInput
	// The flag of using logging enable container. Defaults true.
	//
	// Deprecated: Deprecated from 1.37.0. When `logging` is set, the bucket logging will be able.
	LoggingIsenable pulumi.BoolPtrInput
	// Json format text of bucket policy [bucket policy management](https://www.alibabacloud.com/help/doc-detail/100680.htm).
	Policy pulumi.StringPtrInput
	// The [redundancy type](https://www.alibabacloud.com/help/doc-detail/90589.htm) to enable. Can be "LRS", and "ZRS". Defaults to "LRS".
	RedundancyType pulumi.StringPtrInput
	// The configuration of [referer](https://www.alibabacloud.com/help/doc-detail/31901.htm) (documented below).
	RefererConfig BucketRefererConfigPtrInput
	// A configuration of server-side encryption (documented below).
	ServerSideEncryptionRule BucketServerSideEncryptionRulePtrInput
	// 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`.
	StorageClass pulumi.StringPtrInput
	// A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.
	Tags pulumi.MapInput
	// A transfer acceleration status of a bucket (documented below).
	TransferAcceleration BucketTransferAccelerationPtrInput
	// A state of versioning (documented below).
	Versioning BucketVersioningPtrInput
	// A website object(documented below).
	Website BucketWebsitePtrInput
}

The set of arguments for constructing a Bucket resource.

func (BucketArgs) ElementType

func (BucketArgs) ElementType() reflect.Type

type BucketArray

type BucketArray []BucketInput

func (BucketArray) ElementType

func (BucketArray) ElementType() reflect.Type

func (BucketArray) ToBucketArrayOutput

func (i BucketArray) ToBucketArrayOutput() BucketArrayOutput

func (BucketArray) ToBucketArrayOutputWithContext

func (i BucketArray) ToBucketArrayOutputWithContext(ctx context.Context) BucketArrayOutput

type BucketArrayInput

type BucketArrayInput interface {
	pulumi.Input

	ToBucketArrayOutput() BucketArrayOutput
	ToBucketArrayOutputWithContext(context.Context) BucketArrayOutput
}

BucketArrayInput is an input type that accepts BucketArray and BucketArrayOutput values. You can construct a concrete instance of `BucketArrayInput` via:

BucketArray{ BucketArgs{...} }

type BucketArrayOutput

type BucketArrayOutput struct{ *pulumi.OutputState }

func (BucketArrayOutput) ElementType

func (BucketArrayOutput) ElementType() reflect.Type

func (BucketArrayOutput) Index

func (BucketArrayOutput) ToBucketArrayOutput

func (o BucketArrayOutput) ToBucketArrayOutput() BucketArrayOutput

func (BucketArrayOutput) ToBucketArrayOutputWithContext

func (o BucketArrayOutput) ToBucketArrayOutputWithContext(ctx context.Context) BucketArrayOutput

type BucketCorsRule

type BucketCorsRule struct {
	// Specifies which headers are allowed.
	AllowedHeaders []string `pulumi:"allowedHeaders"`
	// Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
	AllowedMethods []string `pulumi:"allowedMethods"`
	// Specifies which origins are allowed.
	AllowedOrigins []string `pulumi:"allowedOrigins"`
	// Specifies expose header in the response.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// Specifies time in seconds that browser can cache the response for a preflight request.
	MaxAgeSeconds *int `pulumi:"maxAgeSeconds"`
}

type BucketCorsRuleArgs

type BucketCorsRuleArgs struct {
	// Specifies which headers are allowed.
	AllowedHeaders pulumi.StringArrayInput `pulumi:"allowedHeaders"`
	// Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
	AllowedMethods pulumi.StringArrayInput `pulumi:"allowedMethods"`
	// Specifies which origins are allowed.
	AllowedOrigins pulumi.StringArrayInput `pulumi:"allowedOrigins"`
	// Specifies expose header in the response.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// Specifies time in seconds that browser can cache the response for a preflight request.
	MaxAgeSeconds pulumi.IntPtrInput `pulumi:"maxAgeSeconds"`
}

func (BucketCorsRuleArgs) ElementType

func (BucketCorsRuleArgs) ElementType() reflect.Type

func (BucketCorsRuleArgs) ToBucketCorsRuleOutput

func (i BucketCorsRuleArgs) ToBucketCorsRuleOutput() BucketCorsRuleOutput

func (BucketCorsRuleArgs) ToBucketCorsRuleOutputWithContext

func (i BucketCorsRuleArgs) ToBucketCorsRuleOutputWithContext(ctx context.Context) BucketCorsRuleOutput

type BucketCorsRuleArray

type BucketCorsRuleArray []BucketCorsRuleInput

func (BucketCorsRuleArray) ElementType

func (BucketCorsRuleArray) ElementType() reflect.Type

func (BucketCorsRuleArray) ToBucketCorsRuleArrayOutput

func (i BucketCorsRuleArray) ToBucketCorsRuleArrayOutput() BucketCorsRuleArrayOutput

func (BucketCorsRuleArray) ToBucketCorsRuleArrayOutputWithContext

func (i BucketCorsRuleArray) ToBucketCorsRuleArrayOutputWithContext(ctx context.Context) BucketCorsRuleArrayOutput

type BucketCorsRuleArrayInput

type BucketCorsRuleArrayInput interface {
	pulumi.Input

	ToBucketCorsRuleArrayOutput() BucketCorsRuleArrayOutput
	ToBucketCorsRuleArrayOutputWithContext(context.Context) BucketCorsRuleArrayOutput
}

BucketCorsRuleArrayInput is an input type that accepts BucketCorsRuleArray and BucketCorsRuleArrayOutput values. You can construct a concrete instance of `BucketCorsRuleArrayInput` via:

BucketCorsRuleArray{ BucketCorsRuleArgs{...} }

type BucketCorsRuleArrayOutput

type BucketCorsRuleArrayOutput struct{ *pulumi.OutputState }

func (BucketCorsRuleArrayOutput) ElementType

func (BucketCorsRuleArrayOutput) ElementType() reflect.Type

func (BucketCorsRuleArrayOutput) Index

func (BucketCorsRuleArrayOutput) ToBucketCorsRuleArrayOutput

func (o BucketCorsRuleArrayOutput) ToBucketCorsRuleArrayOutput() BucketCorsRuleArrayOutput

func (BucketCorsRuleArrayOutput) ToBucketCorsRuleArrayOutputWithContext

func (o BucketCorsRuleArrayOutput) ToBucketCorsRuleArrayOutputWithContext(ctx context.Context) BucketCorsRuleArrayOutput

type BucketCorsRuleInput

type BucketCorsRuleInput interface {
	pulumi.Input

	ToBucketCorsRuleOutput() BucketCorsRuleOutput
	ToBucketCorsRuleOutputWithContext(context.Context) BucketCorsRuleOutput
}

BucketCorsRuleInput is an input type that accepts BucketCorsRuleArgs and BucketCorsRuleOutput values. You can construct a concrete instance of `BucketCorsRuleInput` via:

BucketCorsRuleArgs{...}

type BucketCorsRuleOutput

type BucketCorsRuleOutput struct{ *pulumi.OutputState }

func (BucketCorsRuleOutput) AllowedHeaders

func (o BucketCorsRuleOutput) AllowedHeaders() pulumi.StringArrayOutput

Specifies which headers are allowed.

func (BucketCorsRuleOutput) AllowedMethods

func (o BucketCorsRuleOutput) AllowedMethods() pulumi.StringArrayOutput

Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.

func (BucketCorsRuleOutput) AllowedOrigins

func (o BucketCorsRuleOutput) AllowedOrigins() pulumi.StringArrayOutput

Specifies which origins are allowed.

func (BucketCorsRuleOutput) ElementType

func (BucketCorsRuleOutput) ElementType() reflect.Type

func (BucketCorsRuleOutput) ExposeHeaders

func (o BucketCorsRuleOutput) ExposeHeaders() pulumi.StringArrayOutput

Specifies expose header in the response.

func (BucketCorsRuleOutput) MaxAgeSeconds

func (o BucketCorsRuleOutput) MaxAgeSeconds() pulumi.IntPtrOutput

Specifies time in seconds that browser can cache the response for a preflight request.

func (BucketCorsRuleOutput) ToBucketCorsRuleOutput

func (o BucketCorsRuleOutput) ToBucketCorsRuleOutput() BucketCorsRuleOutput

func (BucketCorsRuleOutput) ToBucketCorsRuleOutputWithContext

func (o BucketCorsRuleOutput) ToBucketCorsRuleOutputWithContext(ctx context.Context) BucketCorsRuleOutput

type BucketInput

type BucketInput interface {
	pulumi.Input

	ToBucketOutput() BucketOutput
	ToBucketOutputWithContext(ctx context.Context) BucketOutput
}

type BucketLifecycleRule

type BucketLifecycleRule struct {
	// Specifies the number of days after initiating a multipart upload when the multipart upload must be completed (documented below).
	AbortMultipartUploads []BucketLifecycleRuleAbortMultipartUpload `pulumi:"abortMultipartUploads"`
	// Specifies the accelerate status of a bucket.
	Enabled bool `pulumi:"enabled"`
	// Specifies a period in the object's expire (documented below).
	Expirations []BucketLifecycleRuleExpiration `pulumi:"expirations"`
	// Unique identifier for the rule. If omitted, OSS bucket will assign a unique name.
	Id *string `pulumi:"id"`
	// Specifies when noncurrent object versions expire (documented below).
	NoncurrentVersionExpirations []BucketLifecycleRuleNoncurrentVersionExpiration `pulumi:"noncurrentVersionExpirations"`
	// Specifies when noncurrent object versions transitions (documented below).
	NoncurrentVersionTransitions []BucketLifecycleRuleNoncurrentVersionTransition `pulumi:"noncurrentVersionTransitions"`
	// Object key prefix identifying one or more objects to which the rule applies. Default value is null, the rule applies to all objects in a bucket.
	Prefix *string `pulumi:"prefix"`
	// Specifies the time when an object is converted to the IA or archive storage class during a valid life cycle. (documented below).
	Transitions []BucketLifecycleRuleTransition `pulumi:"transitions"`
}

type BucketLifecycleRuleAbortMultipartUpload

type BucketLifecycleRuleAbortMultipartUpload struct {
	// Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
	CreatedBeforeDate *string `pulumi:"createdBeforeDate"`
	// Specifies the number of days noncurrent object versions transition.
	Days *int `pulumi:"days"`
}

type BucketLifecycleRuleAbortMultipartUploadArgs

type BucketLifecycleRuleAbortMultipartUploadArgs struct {
	// Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
	CreatedBeforeDate pulumi.StringPtrInput `pulumi:"createdBeforeDate"`
	// Specifies the number of days noncurrent object versions transition.
	Days pulumi.IntPtrInput `pulumi:"days"`
}

func (BucketLifecycleRuleAbortMultipartUploadArgs) ElementType

func (BucketLifecycleRuleAbortMultipartUploadArgs) ToBucketLifecycleRuleAbortMultipartUploadOutput

func (i BucketLifecycleRuleAbortMultipartUploadArgs) ToBucketLifecycleRuleAbortMultipartUploadOutput() BucketLifecycleRuleAbortMultipartUploadOutput

func (BucketLifecycleRuleAbortMultipartUploadArgs) ToBucketLifecycleRuleAbortMultipartUploadOutputWithContext

func (i BucketLifecycleRuleAbortMultipartUploadArgs) ToBucketLifecycleRuleAbortMultipartUploadOutputWithContext(ctx context.Context) BucketLifecycleRuleAbortMultipartUploadOutput

type BucketLifecycleRuleAbortMultipartUploadArray

type BucketLifecycleRuleAbortMultipartUploadArray []BucketLifecycleRuleAbortMultipartUploadInput

func (BucketLifecycleRuleAbortMultipartUploadArray) ElementType

func (BucketLifecycleRuleAbortMultipartUploadArray) ToBucketLifecycleRuleAbortMultipartUploadArrayOutput

func (i BucketLifecycleRuleAbortMultipartUploadArray) ToBucketLifecycleRuleAbortMultipartUploadArrayOutput() BucketLifecycleRuleAbortMultipartUploadArrayOutput

func (BucketLifecycleRuleAbortMultipartUploadArray) ToBucketLifecycleRuleAbortMultipartUploadArrayOutputWithContext

func (i BucketLifecycleRuleAbortMultipartUploadArray) ToBucketLifecycleRuleAbortMultipartUploadArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleAbortMultipartUploadArrayOutput

type BucketLifecycleRuleAbortMultipartUploadArrayInput

type BucketLifecycleRuleAbortMultipartUploadArrayInput interface {
	pulumi.Input

	ToBucketLifecycleRuleAbortMultipartUploadArrayOutput() BucketLifecycleRuleAbortMultipartUploadArrayOutput
	ToBucketLifecycleRuleAbortMultipartUploadArrayOutputWithContext(context.Context) BucketLifecycleRuleAbortMultipartUploadArrayOutput
}

BucketLifecycleRuleAbortMultipartUploadArrayInput is an input type that accepts BucketLifecycleRuleAbortMultipartUploadArray and BucketLifecycleRuleAbortMultipartUploadArrayOutput values. You can construct a concrete instance of `BucketLifecycleRuleAbortMultipartUploadArrayInput` via:

BucketLifecycleRuleAbortMultipartUploadArray{ BucketLifecycleRuleAbortMultipartUploadArgs{...} }

type BucketLifecycleRuleAbortMultipartUploadArrayOutput

type BucketLifecycleRuleAbortMultipartUploadArrayOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleAbortMultipartUploadArrayOutput) ElementType

func (BucketLifecycleRuleAbortMultipartUploadArrayOutput) Index

func (BucketLifecycleRuleAbortMultipartUploadArrayOutput) ToBucketLifecycleRuleAbortMultipartUploadArrayOutput

func (o BucketLifecycleRuleAbortMultipartUploadArrayOutput) ToBucketLifecycleRuleAbortMultipartUploadArrayOutput() BucketLifecycleRuleAbortMultipartUploadArrayOutput

func (BucketLifecycleRuleAbortMultipartUploadArrayOutput) ToBucketLifecycleRuleAbortMultipartUploadArrayOutputWithContext

func (o BucketLifecycleRuleAbortMultipartUploadArrayOutput) ToBucketLifecycleRuleAbortMultipartUploadArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleAbortMultipartUploadArrayOutput

type BucketLifecycleRuleAbortMultipartUploadInput

type BucketLifecycleRuleAbortMultipartUploadInput interface {
	pulumi.Input

	ToBucketLifecycleRuleAbortMultipartUploadOutput() BucketLifecycleRuleAbortMultipartUploadOutput
	ToBucketLifecycleRuleAbortMultipartUploadOutputWithContext(context.Context) BucketLifecycleRuleAbortMultipartUploadOutput
}

BucketLifecycleRuleAbortMultipartUploadInput is an input type that accepts BucketLifecycleRuleAbortMultipartUploadArgs and BucketLifecycleRuleAbortMultipartUploadOutput values. You can construct a concrete instance of `BucketLifecycleRuleAbortMultipartUploadInput` via:

BucketLifecycleRuleAbortMultipartUploadArgs{...}

type BucketLifecycleRuleAbortMultipartUploadOutput

type BucketLifecycleRuleAbortMultipartUploadOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleAbortMultipartUploadOutput) CreatedBeforeDate

Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

func (BucketLifecycleRuleAbortMultipartUploadOutput) Days

Specifies the number of days noncurrent object versions transition.

func (BucketLifecycleRuleAbortMultipartUploadOutput) ElementType

func (BucketLifecycleRuleAbortMultipartUploadOutput) ToBucketLifecycleRuleAbortMultipartUploadOutput

func (o BucketLifecycleRuleAbortMultipartUploadOutput) ToBucketLifecycleRuleAbortMultipartUploadOutput() BucketLifecycleRuleAbortMultipartUploadOutput

func (BucketLifecycleRuleAbortMultipartUploadOutput) ToBucketLifecycleRuleAbortMultipartUploadOutputWithContext

func (o BucketLifecycleRuleAbortMultipartUploadOutput) ToBucketLifecycleRuleAbortMultipartUploadOutputWithContext(ctx context.Context) BucketLifecycleRuleAbortMultipartUploadOutput

type BucketLifecycleRuleArgs

type BucketLifecycleRuleArgs struct {
	// Specifies the number of days after initiating a multipart upload when the multipart upload must be completed (documented below).
	AbortMultipartUploads BucketLifecycleRuleAbortMultipartUploadArrayInput `pulumi:"abortMultipartUploads"`
	// Specifies the accelerate status of a bucket.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Specifies a period in the object's expire (documented below).
	Expirations BucketLifecycleRuleExpirationArrayInput `pulumi:"expirations"`
	// Unique identifier for the rule. If omitted, OSS bucket will assign a unique name.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Specifies when noncurrent object versions expire (documented below).
	NoncurrentVersionExpirations BucketLifecycleRuleNoncurrentVersionExpirationArrayInput `pulumi:"noncurrentVersionExpirations"`
	// Specifies when noncurrent object versions transitions (documented below).
	NoncurrentVersionTransitions BucketLifecycleRuleNoncurrentVersionTransitionArrayInput `pulumi:"noncurrentVersionTransitions"`
	// Object key prefix identifying one or more objects to which the rule applies. Default value is null, the rule applies to all objects in a bucket.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// Specifies the time when an object is converted to the IA or archive storage class during a valid life cycle. (documented below).
	Transitions BucketLifecycleRuleTransitionArrayInput `pulumi:"transitions"`
}

func (BucketLifecycleRuleArgs) ElementType

func (BucketLifecycleRuleArgs) ElementType() reflect.Type

func (BucketLifecycleRuleArgs) ToBucketLifecycleRuleOutput

func (i BucketLifecycleRuleArgs) ToBucketLifecycleRuleOutput() BucketLifecycleRuleOutput

func (BucketLifecycleRuleArgs) ToBucketLifecycleRuleOutputWithContext

func (i BucketLifecycleRuleArgs) ToBucketLifecycleRuleOutputWithContext(ctx context.Context) BucketLifecycleRuleOutput

type BucketLifecycleRuleArray

type BucketLifecycleRuleArray []BucketLifecycleRuleInput

func (BucketLifecycleRuleArray) ElementType

func (BucketLifecycleRuleArray) ElementType() reflect.Type

func (BucketLifecycleRuleArray) ToBucketLifecycleRuleArrayOutput

func (i BucketLifecycleRuleArray) ToBucketLifecycleRuleArrayOutput() BucketLifecycleRuleArrayOutput

func (BucketLifecycleRuleArray) ToBucketLifecycleRuleArrayOutputWithContext

func (i BucketLifecycleRuleArray) ToBucketLifecycleRuleArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleArrayOutput

type BucketLifecycleRuleArrayInput

type BucketLifecycleRuleArrayInput interface {
	pulumi.Input

	ToBucketLifecycleRuleArrayOutput() BucketLifecycleRuleArrayOutput
	ToBucketLifecycleRuleArrayOutputWithContext(context.Context) BucketLifecycleRuleArrayOutput
}

BucketLifecycleRuleArrayInput is an input type that accepts BucketLifecycleRuleArray and BucketLifecycleRuleArrayOutput values. You can construct a concrete instance of `BucketLifecycleRuleArrayInput` via:

BucketLifecycleRuleArray{ BucketLifecycleRuleArgs{...} }

type BucketLifecycleRuleArrayOutput

type BucketLifecycleRuleArrayOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleArrayOutput) ElementType

func (BucketLifecycleRuleArrayOutput) Index

func (BucketLifecycleRuleArrayOutput) ToBucketLifecycleRuleArrayOutput

func (o BucketLifecycleRuleArrayOutput) ToBucketLifecycleRuleArrayOutput() BucketLifecycleRuleArrayOutput

func (BucketLifecycleRuleArrayOutput) ToBucketLifecycleRuleArrayOutputWithContext

func (o BucketLifecycleRuleArrayOutput) ToBucketLifecycleRuleArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleArrayOutput

type BucketLifecycleRuleExpiration

type BucketLifecycleRuleExpiration struct {
	// Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
	CreatedBeforeDate *string `pulumi:"createdBeforeDate"`
	// Specifies the date after which you want the corresponding action to take effect. The value obeys ISO8601 format like `2017-03-09`.
	Date *string `pulumi:"date"`
	// Specifies the number of days noncurrent object versions transition.
	Days *int `pulumi:"days"`
	// On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.
	ExpiredObjectDeleteMarker *bool `pulumi:"expiredObjectDeleteMarker"`
}

type BucketLifecycleRuleExpirationArgs

type BucketLifecycleRuleExpirationArgs struct {
	// Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
	CreatedBeforeDate pulumi.StringPtrInput `pulumi:"createdBeforeDate"`
	// Specifies the date after which you want the corresponding action to take effect. The value obeys ISO8601 format like `2017-03-09`.
	Date pulumi.StringPtrInput `pulumi:"date"`
	// Specifies the number of days noncurrent object versions transition.
	Days pulumi.IntPtrInput `pulumi:"days"`
	// On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.
	ExpiredObjectDeleteMarker pulumi.BoolPtrInput `pulumi:"expiredObjectDeleteMarker"`
}

func (BucketLifecycleRuleExpirationArgs) ElementType

func (BucketLifecycleRuleExpirationArgs) ToBucketLifecycleRuleExpirationOutput

func (i BucketLifecycleRuleExpirationArgs) ToBucketLifecycleRuleExpirationOutput() BucketLifecycleRuleExpirationOutput

func (BucketLifecycleRuleExpirationArgs) ToBucketLifecycleRuleExpirationOutputWithContext

func (i BucketLifecycleRuleExpirationArgs) ToBucketLifecycleRuleExpirationOutputWithContext(ctx context.Context) BucketLifecycleRuleExpirationOutput

type BucketLifecycleRuleExpirationArray

type BucketLifecycleRuleExpirationArray []BucketLifecycleRuleExpirationInput

func (BucketLifecycleRuleExpirationArray) ElementType

func (BucketLifecycleRuleExpirationArray) ToBucketLifecycleRuleExpirationArrayOutput

func (i BucketLifecycleRuleExpirationArray) ToBucketLifecycleRuleExpirationArrayOutput() BucketLifecycleRuleExpirationArrayOutput

func (BucketLifecycleRuleExpirationArray) ToBucketLifecycleRuleExpirationArrayOutputWithContext

func (i BucketLifecycleRuleExpirationArray) ToBucketLifecycleRuleExpirationArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleExpirationArrayOutput

type BucketLifecycleRuleExpirationArrayInput

type BucketLifecycleRuleExpirationArrayInput interface {
	pulumi.Input

	ToBucketLifecycleRuleExpirationArrayOutput() BucketLifecycleRuleExpirationArrayOutput
	ToBucketLifecycleRuleExpirationArrayOutputWithContext(context.Context) BucketLifecycleRuleExpirationArrayOutput
}

BucketLifecycleRuleExpirationArrayInput is an input type that accepts BucketLifecycleRuleExpirationArray and BucketLifecycleRuleExpirationArrayOutput values. You can construct a concrete instance of `BucketLifecycleRuleExpirationArrayInput` via:

BucketLifecycleRuleExpirationArray{ BucketLifecycleRuleExpirationArgs{...} }

type BucketLifecycleRuleExpirationArrayOutput

type BucketLifecycleRuleExpirationArrayOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleExpirationArrayOutput) ElementType

func (BucketLifecycleRuleExpirationArrayOutput) Index

func (BucketLifecycleRuleExpirationArrayOutput) ToBucketLifecycleRuleExpirationArrayOutput

func (o BucketLifecycleRuleExpirationArrayOutput) ToBucketLifecycleRuleExpirationArrayOutput() BucketLifecycleRuleExpirationArrayOutput

func (BucketLifecycleRuleExpirationArrayOutput) ToBucketLifecycleRuleExpirationArrayOutputWithContext

func (o BucketLifecycleRuleExpirationArrayOutput) ToBucketLifecycleRuleExpirationArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleExpirationArrayOutput

type BucketLifecycleRuleExpirationInput

type BucketLifecycleRuleExpirationInput interface {
	pulumi.Input

	ToBucketLifecycleRuleExpirationOutput() BucketLifecycleRuleExpirationOutput
	ToBucketLifecycleRuleExpirationOutputWithContext(context.Context) BucketLifecycleRuleExpirationOutput
}

BucketLifecycleRuleExpirationInput is an input type that accepts BucketLifecycleRuleExpirationArgs and BucketLifecycleRuleExpirationOutput values. You can construct a concrete instance of `BucketLifecycleRuleExpirationInput` via:

BucketLifecycleRuleExpirationArgs{...}

type BucketLifecycleRuleExpirationOutput

type BucketLifecycleRuleExpirationOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleExpirationOutput) CreatedBeforeDate

Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

func (BucketLifecycleRuleExpirationOutput) Date

Specifies the date after which you want the corresponding action to take effect. The value obeys ISO8601 format like `2017-03-09`.

func (BucketLifecycleRuleExpirationOutput) Days

Specifies the number of days noncurrent object versions transition.

func (BucketLifecycleRuleExpirationOutput) ElementType

func (BucketLifecycleRuleExpirationOutput) ExpiredObjectDeleteMarker

func (o BucketLifecycleRuleExpirationOutput) ExpiredObjectDeleteMarker() pulumi.BoolPtrOutput

On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.

func (BucketLifecycleRuleExpirationOutput) ToBucketLifecycleRuleExpirationOutput

func (o BucketLifecycleRuleExpirationOutput) ToBucketLifecycleRuleExpirationOutput() BucketLifecycleRuleExpirationOutput

func (BucketLifecycleRuleExpirationOutput) ToBucketLifecycleRuleExpirationOutputWithContext

func (o BucketLifecycleRuleExpirationOutput) ToBucketLifecycleRuleExpirationOutputWithContext(ctx context.Context) BucketLifecycleRuleExpirationOutput

type BucketLifecycleRuleInput

type BucketLifecycleRuleInput interface {
	pulumi.Input

	ToBucketLifecycleRuleOutput() BucketLifecycleRuleOutput
	ToBucketLifecycleRuleOutputWithContext(context.Context) BucketLifecycleRuleOutput
}

BucketLifecycleRuleInput is an input type that accepts BucketLifecycleRuleArgs and BucketLifecycleRuleOutput values. You can construct a concrete instance of `BucketLifecycleRuleInput` via:

BucketLifecycleRuleArgs{...}

type BucketLifecycleRuleNoncurrentVersionExpiration

type BucketLifecycleRuleNoncurrentVersionExpiration struct {
	// Specifies the number of days noncurrent object versions transition.
	Days int `pulumi:"days"`
}

type BucketLifecycleRuleNoncurrentVersionExpirationArgs

type BucketLifecycleRuleNoncurrentVersionExpirationArgs struct {
	// Specifies the number of days noncurrent object versions transition.
	Days pulumi.IntInput `pulumi:"days"`
}

func (BucketLifecycleRuleNoncurrentVersionExpirationArgs) ElementType

func (BucketLifecycleRuleNoncurrentVersionExpirationArgs) ToBucketLifecycleRuleNoncurrentVersionExpirationOutput

func (i BucketLifecycleRuleNoncurrentVersionExpirationArgs) ToBucketLifecycleRuleNoncurrentVersionExpirationOutput() BucketLifecycleRuleNoncurrentVersionExpirationOutput

func (BucketLifecycleRuleNoncurrentVersionExpirationArgs) ToBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext

func (i BucketLifecycleRuleNoncurrentVersionExpirationArgs) ToBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext(ctx context.Context) BucketLifecycleRuleNoncurrentVersionExpirationOutput

type BucketLifecycleRuleNoncurrentVersionExpirationArray

type BucketLifecycleRuleNoncurrentVersionExpirationArray []BucketLifecycleRuleNoncurrentVersionExpirationInput

func (BucketLifecycleRuleNoncurrentVersionExpirationArray) ElementType

func (BucketLifecycleRuleNoncurrentVersionExpirationArray) ToBucketLifecycleRuleNoncurrentVersionExpirationArrayOutput

func (i BucketLifecycleRuleNoncurrentVersionExpirationArray) ToBucketLifecycleRuleNoncurrentVersionExpirationArrayOutput() BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput

func (BucketLifecycleRuleNoncurrentVersionExpirationArray) ToBucketLifecycleRuleNoncurrentVersionExpirationArrayOutputWithContext

func (i BucketLifecycleRuleNoncurrentVersionExpirationArray) ToBucketLifecycleRuleNoncurrentVersionExpirationArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput

type BucketLifecycleRuleNoncurrentVersionExpirationArrayInput

type BucketLifecycleRuleNoncurrentVersionExpirationArrayInput interface {
	pulumi.Input

	ToBucketLifecycleRuleNoncurrentVersionExpirationArrayOutput() BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput
	ToBucketLifecycleRuleNoncurrentVersionExpirationArrayOutputWithContext(context.Context) BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput
}

BucketLifecycleRuleNoncurrentVersionExpirationArrayInput is an input type that accepts BucketLifecycleRuleNoncurrentVersionExpirationArray and BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput values. You can construct a concrete instance of `BucketLifecycleRuleNoncurrentVersionExpirationArrayInput` via:

BucketLifecycleRuleNoncurrentVersionExpirationArray{ BucketLifecycleRuleNoncurrentVersionExpirationArgs{...} }

type BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput

type BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput) ElementType

func (BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput) Index

func (BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput) ToBucketLifecycleRuleNoncurrentVersionExpirationArrayOutput

func (BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput) ToBucketLifecycleRuleNoncurrentVersionExpirationArrayOutputWithContext

func (o BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput) ToBucketLifecycleRuleNoncurrentVersionExpirationArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleNoncurrentVersionExpirationArrayOutput

type BucketLifecycleRuleNoncurrentVersionExpirationInput

type BucketLifecycleRuleNoncurrentVersionExpirationInput interface {
	pulumi.Input

	ToBucketLifecycleRuleNoncurrentVersionExpirationOutput() BucketLifecycleRuleNoncurrentVersionExpirationOutput
	ToBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext(context.Context) BucketLifecycleRuleNoncurrentVersionExpirationOutput
}

BucketLifecycleRuleNoncurrentVersionExpirationInput is an input type that accepts BucketLifecycleRuleNoncurrentVersionExpirationArgs and BucketLifecycleRuleNoncurrentVersionExpirationOutput values. You can construct a concrete instance of `BucketLifecycleRuleNoncurrentVersionExpirationInput` via:

BucketLifecycleRuleNoncurrentVersionExpirationArgs{...}

type BucketLifecycleRuleNoncurrentVersionExpirationOutput

type BucketLifecycleRuleNoncurrentVersionExpirationOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleNoncurrentVersionExpirationOutput) Days

Specifies the number of days noncurrent object versions transition.

func (BucketLifecycleRuleNoncurrentVersionExpirationOutput) ElementType

func (BucketLifecycleRuleNoncurrentVersionExpirationOutput) ToBucketLifecycleRuleNoncurrentVersionExpirationOutput

func (BucketLifecycleRuleNoncurrentVersionExpirationOutput) ToBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext

func (o BucketLifecycleRuleNoncurrentVersionExpirationOutput) ToBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext(ctx context.Context) BucketLifecycleRuleNoncurrentVersionExpirationOutput

type BucketLifecycleRuleNoncurrentVersionTransition

type BucketLifecycleRuleNoncurrentVersionTransition struct {
	// Specifies the number of days noncurrent object versions transition.
	Days int `pulumi:"days"`
	// 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`.
	StorageClass string `pulumi:"storageClass"`
}

type BucketLifecycleRuleNoncurrentVersionTransitionArgs

type BucketLifecycleRuleNoncurrentVersionTransitionArgs struct {
	// Specifies the number of days noncurrent object versions transition.
	Days pulumi.IntInput `pulumi:"days"`
	// 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`.
	StorageClass pulumi.StringInput `pulumi:"storageClass"`
}

func (BucketLifecycleRuleNoncurrentVersionTransitionArgs) ElementType

func (BucketLifecycleRuleNoncurrentVersionTransitionArgs) ToBucketLifecycleRuleNoncurrentVersionTransitionOutput

func (i BucketLifecycleRuleNoncurrentVersionTransitionArgs) ToBucketLifecycleRuleNoncurrentVersionTransitionOutput() BucketLifecycleRuleNoncurrentVersionTransitionOutput

func (BucketLifecycleRuleNoncurrentVersionTransitionArgs) ToBucketLifecycleRuleNoncurrentVersionTransitionOutputWithContext

func (i BucketLifecycleRuleNoncurrentVersionTransitionArgs) ToBucketLifecycleRuleNoncurrentVersionTransitionOutputWithContext(ctx context.Context) BucketLifecycleRuleNoncurrentVersionTransitionOutput

type BucketLifecycleRuleNoncurrentVersionTransitionArray

type BucketLifecycleRuleNoncurrentVersionTransitionArray []BucketLifecycleRuleNoncurrentVersionTransitionInput

func (BucketLifecycleRuleNoncurrentVersionTransitionArray) ElementType

func (BucketLifecycleRuleNoncurrentVersionTransitionArray) ToBucketLifecycleRuleNoncurrentVersionTransitionArrayOutput

func (i BucketLifecycleRuleNoncurrentVersionTransitionArray) ToBucketLifecycleRuleNoncurrentVersionTransitionArrayOutput() BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput

func (BucketLifecycleRuleNoncurrentVersionTransitionArray) ToBucketLifecycleRuleNoncurrentVersionTransitionArrayOutputWithContext

func (i BucketLifecycleRuleNoncurrentVersionTransitionArray) ToBucketLifecycleRuleNoncurrentVersionTransitionArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput

type BucketLifecycleRuleNoncurrentVersionTransitionArrayInput

type BucketLifecycleRuleNoncurrentVersionTransitionArrayInput interface {
	pulumi.Input

	ToBucketLifecycleRuleNoncurrentVersionTransitionArrayOutput() BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput
	ToBucketLifecycleRuleNoncurrentVersionTransitionArrayOutputWithContext(context.Context) BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput
}

BucketLifecycleRuleNoncurrentVersionTransitionArrayInput is an input type that accepts BucketLifecycleRuleNoncurrentVersionTransitionArray and BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput values. You can construct a concrete instance of `BucketLifecycleRuleNoncurrentVersionTransitionArrayInput` via:

BucketLifecycleRuleNoncurrentVersionTransitionArray{ BucketLifecycleRuleNoncurrentVersionTransitionArgs{...} }

type BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput

type BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput) ElementType

func (BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput) Index

func (BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput) ToBucketLifecycleRuleNoncurrentVersionTransitionArrayOutput

func (BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput) ToBucketLifecycleRuleNoncurrentVersionTransitionArrayOutputWithContext

func (o BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput) ToBucketLifecycleRuleNoncurrentVersionTransitionArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleNoncurrentVersionTransitionArrayOutput

type BucketLifecycleRuleNoncurrentVersionTransitionInput

type BucketLifecycleRuleNoncurrentVersionTransitionInput interface {
	pulumi.Input

	ToBucketLifecycleRuleNoncurrentVersionTransitionOutput() BucketLifecycleRuleNoncurrentVersionTransitionOutput
	ToBucketLifecycleRuleNoncurrentVersionTransitionOutputWithContext(context.Context) BucketLifecycleRuleNoncurrentVersionTransitionOutput
}

BucketLifecycleRuleNoncurrentVersionTransitionInput is an input type that accepts BucketLifecycleRuleNoncurrentVersionTransitionArgs and BucketLifecycleRuleNoncurrentVersionTransitionOutput values. You can construct a concrete instance of `BucketLifecycleRuleNoncurrentVersionTransitionInput` via:

BucketLifecycleRuleNoncurrentVersionTransitionArgs{...}

type BucketLifecycleRuleNoncurrentVersionTransitionOutput

type BucketLifecycleRuleNoncurrentVersionTransitionOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleNoncurrentVersionTransitionOutput) Days

Specifies the number of days noncurrent object versions transition.

func (BucketLifecycleRuleNoncurrentVersionTransitionOutput) ElementType

func (BucketLifecycleRuleNoncurrentVersionTransitionOutput) 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`.

func (BucketLifecycleRuleNoncurrentVersionTransitionOutput) ToBucketLifecycleRuleNoncurrentVersionTransitionOutput

func (BucketLifecycleRuleNoncurrentVersionTransitionOutput) ToBucketLifecycleRuleNoncurrentVersionTransitionOutputWithContext

func (o BucketLifecycleRuleNoncurrentVersionTransitionOutput) ToBucketLifecycleRuleNoncurrentVersionTransitionOutputWithContext(ctx context.Context) BucketLifecycleRuleNoncurrentVersionTransitionOutput

type BucketLifecycleRuleOutput

type BucketLifecycleRuleOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleOutput) AbortMultipartUploads

Specifies the number of days after initiating a multipart upload when the multipart upload must be completed (documented below).

func (BucketLifecycleRuleOutput) ElementType

func (BucketLifecycleRuleOutput) ElementType() reflect.Type

func (BucketLifecycleRuleOutput) Enabled

Specifies the accelerate status of a bucket.

func (BucketLifecycleRuleOutput) Expirations

Specifies a period in the object's expire (documented below).

func (BucketLifecycleRuleOutput) Id

Unique identifier for the rule. If omitted, OSS bucket will assign a unique name.

func (BucketLifecycleRuleOutput) NoncurrentVersionExpirations

Specifies when noncurrent object versions expire (documented below).

func (BucketLifecycleRuleOutput) NoncurrentVersionTransitions

Specifies when noncurrent object versions transitions (documented below).

func (BucketLifecycleRuleOutput) Prefix

Object key prefix identifying one or more objects to which the rule applies. Default value is null, the rule applies to all objects in a bucket.

func (BucketLifecycleRuleOutput) ToBucketLifecycleRuleOutput

func (o BucketLifecycleRuleOutput) ToBucketLifecycleRuleOutput() BucketLifecycleRuleOutput

func (BucketLifecycleRuleOutput) ToBucketLifecycleRuleOutputWithContext

func (o BucketLifecycleRuleOutput) ToBucketLifecycleRuleOutputWithContext(ctx context.Context) BucketLifecycleRuleOutput

func (BucketLifecycleRuleOutput) Transitions

Specifies the time when an object is converted to the IA or archive storage class during a valid life cycle. (documented below).

type BucketLifecycleRuleTransition

type BucketLifecycleRuleTransition struct {
	// Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
	CreatedBeforeDate *string `pulumi:"createdBeforeDate"`
	// Specifies the number of days noncurrent object versions transition.
	Days *int `pulumi:"days"`
	// 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`.
	StorageClass *string `pulumi:"storageClass"`
}

type BucketLifecycleRuleTransitionArgs

type BucketLifecycleRuleTransitionArgs struct {
	// Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.
	CreatedBeforeDate pulumi.StringPtrInput `pulumi:"createdBeforeDate"`
	// Specifies the number of days noncurrent object versions transition.
	Days pulumi.IntPtrInput `pulumi:"days"`
	// 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`.
	StorageClass pulumi.StringPtrInput `pulumi:"storageClass"`
}

func (BucketLifecycleRuleTransitionArgs) ElementType

func (BucketLifecycleRuleTransitionArgs) ToBucketLifecycleRuleTransitionOutput

func (i BucketLifecycleRuleTransitionArgs) ToBucketLifecycleRuleTransitionOutput() BucketLifecycleRuleTransitionOutput

func (BucketLifecycleRuleTransitionArgs) ToBucketLifecycleRuleTransitionOutputWithContext

func (i BucketLifecycleRuleTransitionArgs) ToBucketLifecycleRuleTransitionOutputWithContext(ctx context.Context) BucketLifecycleRuleTransitionOutput

type BucketLifecycleRuleTransitionArray

type BucketLifecycleRuleTransitionArray []BucketLifecycleRuleTransitionInput

func (BucketLifecycleRuleTransitionArray) ElementType

func (BucketLifecycleRuleTransitionArray) ToBucketLifecycleRuleTransitionArrayOutput

func (i BucketLifecycleRuleTransitionArray) ToBucketLifecycleRuleTransitionArrayOutput() BucketLifecycleRuleTransitionArrayOutput

func (BucketLifecycleRuleTransitionArray) ToBucketLifecycleRuleTransitionArrayOutputWithContext

func (i BucketLifecycleRuleTransitionArray) ToBucketLifecycleRuleTransitionArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleTransitionArrayOutput

type BucketLifecycleRuleTransitionArrayInput

type BucketLifecycleRuleTransitionArrayInput interface {
	pulumi.Input

	ToBucketLifecycleRuleTransitionArrayOutput() BucketLifecycleRuleTransitionArrayOutput
	ToBucketLifecycleRuleTransitionArrayOutputWithContext(context.Context) BucketLifecycleRuleTransitionArrayOutput
}

BucketLifecycleRuleTransitionArrayInput is an input type that accepts BucketLifecycleRuleTransitionArray and BucketLifecycleRuleTransitionArrayOutput values. You can construct a concrete instance of `BucketLifecycleRuleTransitionArrayInput` via:

BucketLifecycleRuleTransitionArray{ BucketLifecycleRuleTransitionArgs{...} }

type BucketLifecycleRuleTransitionArrayOutput

type BucketLifecycleRuleTransitionArrayOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleTransitionArrayOutput) ElementType

func (BucketLifecycleRuleTransitionArrayOutput) Index

func (BucketLifecycleRuleTransitionArrayOutput) ToBucketLifecycleRuleTransitionArrayOutput

func (o BucketLifecycleRuleTransitionArrayOutput) ToBucketLifecycleRuleTransitionArrayOutput() BucketLifecycleRuleTransitionArrayOutput

func (BucketLifecycleRuleTransitionArrayOutput) ToBucketLifecycleRuleTransitionArrayOutputWithContext

func (o BucketLifecycleRuleTransitionArrayOutput) ToBucketLifecycleRuleTransitionArrayOutputWithContext(ctx context.Context) BucketLifecycleRuleTransitionArrayOutput

type BucketLifecycleRuleTransitionInput

type BucketLifecycleRuleTransitionInput interface {
	pulumi.Input

	ToBucketLifecycleRuleTransitionOutput() BucketLifecycleRuleTransitionOutput
	ToBucketLifecycleRuleTransitionOutputWithContext(context.Context) BucketLifecycleRuleTransitionOutput
}

BucketLifecycleRuleTransitionInput is an input type that accepts BucketLifecycleRuleTransitionArgs and BucketLifecycleRuleTransitionOutput values. You can construct a concrete instance of `BucketLifecycleRuleTransitionInput` via:

BucketLifecycleRuleTransitionArgs{...}

type BucketLifecycleRuleTransitionOutput

type BucketLifecycleRuleTransitionOutput struct{ *pulumi.OutputState }

func (BucketLifecycleRuleTransitionOutput) CreatedBeforeDate

Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

func (BucketLifecycleRuleTransitionOutput) Days

Specifies the number of days noncurrent object versions transition.

func (BucketLifecycleRuleTransitionOutput) ElementType

func (BucketLifecycleRuleTransitionOutput) 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`.

func (BucketLifecycleRuleTransitionOutput) ToBucketLifecycleRuleTransitionOutput

func (o BucketLifecycleRuleTransitionOutput) ToBucketLifecycleRuleTransitionOutput() BucketLifecycleRuleTransitionOutput

func (BucketLifecycleRuleTransitionOutput) ToBucketLifecycleRuleTransitionOutputWithContext

func (o BucketLifecycleRuleTransitionOutput) ToBucketLifecycleRuleTransitionOutputWithContext(ctx context.Context) BucketLifecycleRuleTransitionOutput

type BucketLogging

type BucketLogging struct {
	// The name of the bucket that will receive the log objects.
	TargetBucket string `pulumi:"targetBucket"`
	// To specify a key prefix for log objects.
	TargetPrefix *string `pulumi:"targetPrefix"`
}

type BucketLoggingArgs

type BucketLoggingArgs struct {
	// The name of the bucket that will receive the log objects.
	TargetBucket pulumi.StringInput `pulumi:"targetBucket"`
	// To specify a key prefix for log objects.
	TargetPrefix pulumi.StringPtrInput `pulumi:"targetPrefix"`
}

func (BucketLoggingArgs) ElementType

func (BucketLoggingArgs) ElementType() reflect.Type

func (BucketLoggingArgs) ToBucketLoggingOutput

func (i BucketLoggingArgs) ToBucketLoggingOutput() BucketLoggingOutput

func (BucketLoggingArgs) ToBucketLoggingOutputWithContext

func (i BucketLoggingArgs) ToBucketLoggingOutputWithContext(ctx context.Context) BucketLoggingOutput

func (BucketLoggingArgs) ToBucketLoggingPtrOutput

func (i BucketLoggingArgs) ToBucketLoggingPtrOutput() BucketLoggingPtrOutput

func (BucketLoggingArgs) ToBucketLoggingPtrOutputWithContext

func (i BucketLoggingArgs) ToBucketLoggingPtrOutputWithContext(ctx context.Context) BucketLoggingPtrOutput

type BucketLoggingInput

type BucketLoggingInput interface {
	pulumi.Input

	ToBucketLoggingOutput() BucketLoggingOutput
	ToBucketLoggingOutputWithContext(context.Context) BucketLoggingOutput
}

BucketLoggingInput is an input type that accepts BucketLoggingArgs and BucketLoggingOutput values. You can construct a concrete instance of `BucketLoggingInput` via:

BucketLoggingArgs{...}

type BucketLoggingOutput

type BucketLoggingOutput struct{ *pulumi.OutputState }

func (BucketLoggingOutput) ElementType

func (BucketLoggingOutput) ElementType() reflect.Type

func (BucketLoggingOutput) TargetBucket

func (o BucketLoggingOutput) TargetBucket() pulumi.StringOutput

The name of the bucket that will receive the log objects.

func (BucketLoggingOutput) TargetPrefix

func (o BucketLoggingOutput) TargetPrefix() pulumi.StringPtrOutput

To specify a key prefix for log objects.

func (BucketLoggingOutput) ToBucketLoggingOutput

func (o BucketLoggingOutput) ToBucketLoggingOutput() BucketLoggingOutput

func (BucketLoggingOutput) ToBucketLoggingOutputWithContext

func (o BucketLoggingOutput) ToBucketLoggingOutputWithContext(ctx context.Context) BucketLoggingOutput

func (BucketLoggingOutput) ToBucketLoggingPtrOutput

func (o BucketLoggingOutput) ToBucketLoggingPtrOutput() BucketLoggingPtrOutput

func (BucketLoggingOutput) ToBucketLoggingPtrOutputWithContext

func (o BucketLoggingOutput) ToBucketLoggingPtrOutputWithContext(ctx context.Context) BucketLoggingPtrOutput

type BucketLoggingPtrInput

type BucketLoggingPtrInput interface {
	pulumi.Input

	ToBucketLoggingPtrOutput() BucketLoggingPtrOutput
	ToBucketLoggingPtrOutputWithContext(context.Context) BucketLoggingPtrOutput
}

BucketLoggingPtrInput is an input type that accepts BucketLoggingArgs, BucketLoggingPtr and BucketLoggingPtrOutput values. You can construct a concrete instance of `BucketLoggingPtrInput` via:

        BucketLoggingArgs{...}

or:

        nil

type BucketLoggingPtrOutput

type BucketLoggingPtrOutput struct{ *pulumi.OutputState }

func (BucketLoggingPtrOutput) Elem

func (BucketLoggingPtrOutput) ElementType

func (BucketLoggingPtrOutput) ElementType() reflect.Type

func (BucketLoggingPtrOutput) TargetBucket

The name of the bucket that will receive the log objects.

func (BucketLoggingPtrOutput) TargetPrefix

To specify a key prefix for log objects.

func (BucketLoggingPtrOutput) ToBucketLoggingPtrOutput

func (o BucketLoggingPtrOutput) ToBucketLoggingPtrOutput() BucketLoggingPtrOutput

func (BucketLoggingPtrOutput) ToBucketLoggingPtrOutputWithContext

func (o BucketLoggingPtrOutput) ToBucketLoggingPtrOutputWithContext(ctx context.Context) BucketLoggingPtrOutput

type BucketMap

type BucketMap map[string]BucketInput

func (BucketMap) ElementType

func (BucketMap) ElementType() reflect.Type

func (BucketMap) ToBucketMapOutput

func (i BucketMap) ToBucketMapOutput() BucketMapOutput

func (BucketMap) ToBucketMapOutputWithContext

func (i BucketMap) ToBucketMapOutputWithContext(ctx context.Context) BucketMapOutput

type BucketMapInput

type BucketMapInput interface {
	pulumi.Input

	ToBucketMapOutput() BucketMapOutput
	ToBucketMapOutputWithContext(context.Context) BucketMapOutput
}

BucketMapInput is an input type that accepts BucketMap and BucketMapOutput values. You can construct a concrete instance of `BucketMapInput` via:

BucketMap{ "key": BucketArgs{...} }

type BucketMapOutput

type BucketMapOutput struct{ *pulumi.OutputState }

func (BucketMapOutput) ElementType

func (BucketMapOutput) ElementType() reflect.Type

func (BucketMapOutput) MapIndex

func (BucketMapOutput) ToBucketMapOutput

func (o BucketMapOutput) ToBucketMapOutput() BucketMapOutput

func (BucketMapOutput) ToBucketMapOutputWithContext

func (o BucketMapOutput) ToBucketMapOutputWithContext(ctx context.Context) BucketMapOutput

type BucketObject

type BucketObject struct {
	pulumi.CustomResourceState

	// The [canned ACL](https://www.alibabacloud.com/help/doc-detail/52284.htm) to apply. Defaults to "private".
	Acl pulumi.StringPtrOutput `pulumi:"acl"`
	// The name of the bucket to put the file in.
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// Specifies caching behavior along the request/reply chain. Read [RFC2616 Cache-Control](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	CacheControl pulumi.StringPtrOutput `pulumi:"cacheControl"`
	// The literal content being uploaded to the bucket.
	Content pulumi.StringPtrOutput `pulumi:"content"`
	// Specifies presentational information for the object. Read [RFC2616 Content-Disposition](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	ContentDisposition pulumi.StringPtrOutput `pulumi:"contentDisposition"`
	// Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [RFC2616 Content-Encoding](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	ContentEncoding pulumi.StringPtrOutput `pulumi:"contentEncoding"`
	// the content length of request.
	ContentLength pulumi.StringOutput `pulumi:"contentLength"`
	// The MD5 value of the content. Read [MD5](https://www.alibabacloud.com/help/doc-detail/31978.htm) for computing method.
	ContentMd5 pulumi.StringPtrOutput `pulumi:"contentMd5"`
	// A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
	ContentType pulumi.StringOutput `pulumi:"contentType"`
	// the ETag generated for the object (an MD5 sum of the object content).
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Specifies expire date for the the request/response. Read [RFC2616 Expires](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	Expires pulumi.StringPtrOutput `pulumi:"expires"`
	// The name of the object once it is in the bucket.
	Key pulumi.StringOutput `pulumi:"key"`
	// Specifies the primary key managed by KMS. This parameter is valid when the value of `serverSideEncryption` is set to KMS.
	KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"`
	// Specifies server-side encryption of the object in OSS. Valid values are `AES256`, `KMS`. Default value is `AES256`.
	ServerSideEncryption pulumi.StringPtrOutput `pulumi:"serverSideEncryption"`
	// The path to the source file being uploaded to the bucket.
	Source pulumi.StringPtrOutput `pulumi:"source"`
	// A unique version ID value for the object, if bucket versioning is enabled.
	VersionId pulumi.StringOutput `pulumi:"versionId"`
}

Provides a resource to put a object(content or file) to a oss bucket.

## Example Usage ### Uploading a file to a bucket

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucketObject(ctx, "object-source", &oss.BucketObjectArgs{
			Bucket: pulumi.String("your_bucket_name"),
			Key:    pulumi.String("new_object_key"),
			Source: pulumi.String("path/to/file"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Uploading a content to a bucket

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := oss.NewBucket(ctx, "example", &oss.BucketArgs{
			Bucket: pulumi.String("your_bucket_name"),
			Acl:    pulumi.String("public-read"),
		})
		if err != nil {
			return err
		}
		_, err = oss.NewBucketObject(ctx, "object-content", &oss.BucketObjectArgs{
			Bucket:  example.Bucket,
			Key:     pulumi.String("new_object_key"),
			Content: pulumi.String("the content that you want to upload."),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetBucketObject

func GetBucketObject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketObjectState, opts ...pulumi.ResourceOption) (*BucketObject, error)

GetBucketObject gets an existing BucketObject resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBucketObject

func NewBucketObject(ctx *pulumi.Context,
	name string, args *BucketObjectArgs, opts ...pulumi.ResourceOption) (*BucketObject, error)

NewBucketObject registers a new resource with the given unique name, arguments, and options.

func (*BucketObject) ElementType

func (*BucketObject) ElementType() reflect.Type

func (*BucketObject) ToBucketObjectOutput

func (i *BucketObject) ToBucketObjectOutput() BucketObjectOutput

func (*BucketObject) ToBucketObjectOutputWithContext

func (i *BucketObject) ToBucketObjectOutputWithContext(ctx context.Context) BucketObjectOutput

type BucketObjectArgs

type BucketObjectArgs struct {
	// The [canned ACL](https://www.alibabacloud.com/help/doc-detail/52284.htm) to apply. Defaults to "private".
	Acl pulumi.StringPtrInput
	// The name of the bucket to put the file in.
	Bucket pulumi.StringInput
	// Specifies caching behavior along the request/reply chain. Read [RFC2616 Cache-Control](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	CacheControl pulumi.StringPtrInput
	// The literal content being uploaded to the bucket.
	Content pulumi.StringPtrInput
	// Specifies presentational information for the object. Read [RFC2616 Content-Disposition](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	ContentDisposition pulumi.StringPtrInput
	// Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [RFC2616 Content-Encoding](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	ContentEncoding pulumi.StringPtrInput
	// The MD5 value of the content. Read [MD5](https://www.alibabacloud.com/help/doc-detail/31978.htm) for computing method.
	ContentMd5 pulumi.StringPtrInput
	// A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
	ContentType pulumi.StringPtrInput
	// Specifies expire date for the the request/response. Read [RFC2616 Expires](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	Expires pulumi.StringPtrInput
	// The name of the object once it is in the bucket.
	Key pulumi.StringInput
	// Specifies the primary key managed by KMS. This parameter is valid when the value of `serverSideEncryption` is set to KMS.
	KmsKeyId pulumi.StringPtrInput
	// Specifies server-side encryption of the object in OSS. Valid values are `AES256`, `KMS`. Default value is `AES256`.
	ServerSideEncryption pulumi.StringPtrInput
	// The path to the source file being uploaded to the bucket.
	Source pulumi.StringPtrInput
}

The set of arguments for constructing a BucketObject resource.

func (BucketObjectArgs) ElementType

func (BucketObjectArgs) ElementType() reflect.Type

type BucketObjectArray

type BucketObjectArray []BucketObjectInput

func (BucketObjectArray) ElementType

func (BucketObjectArray) ElementType() reflect.Type

func (BucketObjectArray) ToBucketObjectArrayOutput

func (i BucketObjectArray) ToBucketObjectArrayOutput() BucketObjectArrayOutput

func (BucketObjectArray) ToBucketObjectArrayOutputWithContext

func (i BucketObjectArray) ToBucketObjectArrayOutputWithContext(ctx context.Context) BucketObjectArrayOutput

type BucketObjectArrayInput

type BucketObjectArrayInput interface {
	pulumi.Input

	ToBucketObjectArrayOutput() BucketObjectArrayOutput
	ToBucketObjectArrayOutputWithContext(context.Context) BucketObjectArrayOutput
}

BucketObjectArrayInput is an input type that accepts BucketObjectArray and BucketObjectArrayOutput values. You can construct a concrete instance of `BucketObjectArrayInput` via:

BucketObjectArray{ BucketObjectArgs{...} }

type BucketObjectArrayOutput

type BucketObjectArrayOutput struct{ *pulumi.OutputState }

func (BucketObjectArrayOutput) ElementType

func (BucketObjectArrayOutput) ElementType() reflect.Type

func (BucketObjectArrayOutput) Index

func (BucketObjectArrayOutput) ToBucketObjectArrayOutput

func (o BucketObjectArrayOutput) ToBucketObjectArrayOutput() BucketObjectArrayOutput

func (BucketObjectArrayOutput) ToBucketObjectArrayOutputWithContext

func (o BucketObjectArrayOutput) ToBucketObjectArrayOutputWithContext(ctx context.Context) BucketObjectArrayOutput

type BucketObjectInput

type BucketObjectInput interface {
	pulumi.Input

	ToBucketObjectOutput() BucketObjectOutput
	ToBucketObjectOutputWithContext(ctx context.Context) BucketObjectOutput
}

type BucketObjectMap

type BucketObjectMap map[string]BucketObjectInput

func (BucketObjectMap) ElementType

func (BucketObjectMap) ElementType() reflect.Type

func (BucketObjectMap) ToBucketObjectMapOutput

func (i BucketObjectMap) ToBucketObjectMapOutput() BucketObjectMapOutput

func (BucketObjectMap) ToBucketObjectMapOutputWithContext

func (i BucketObjectMap) ToBucketObjectMapOutputWithContext(ctx context.Context) BucketObjectMapOutput

type BucketObjectMapInput

type BucketObjectMapInput interface {
	pulumi.Input

	ToBucketObjectMapOutput() BucketObjectMapOutput
	ToBucketObjectMapOutputWithContext(context.Context) BucketObjectMapOutput
}

BucketObjectMapInput is an input type that accepts BucketObjectMap and BucketObjectMapOutput values. You can construct a concrete instance of `BucketObjectMapInput` via:

BucketObjectMap{ "key": BucketObjectArgs{...} }

type BucketObjectMapOutput

type BucketObjectMapOutput struct{ *pulumi.OutputState }

func (BucketObjectMapOutput) ElementType

func (BucketObjectMapOutput) ElementType() reflect.Type

func (BucketObjectMapOutput) MapIndex

func (BucketObjectMapOutput) ToBucketObjectMapOutput

func (o BucketObjectMapOutput) ToBucketObjectMapOutput() BucketObjectMapOutput

func (BucketObjectMapOutput) ToBucketObjectMapOutputWithContext

func (o BucketObjectMapOutput) ToBucketObjectMapOutputWithContext(ctx context.Context) BucketObjectMapOutput

type BucketObjectOutput

type BucketObjectOutput struct{ *pulumi.OutputState }

func (BucketObjectOutput) Acl

The [canned ACL](https://www.alibabacloud.com/help/doc-detail/52284.htm) to apply. Defaults to "private".

func (BucketObjectOutput) Bucket

The name of the bucket to put the file in.

func (BucketObjectOutput) CacheControl

func (o BucketObjectOutput) CacheControl() pulumi.StringPtrOutput

Specifies caching behavior along the request/reply chain. Read [RFC2616 Cache-Control](https://www.ietf.org/rfc/rfc2616.txt) for further details.

func (BucketObjectOutput) Content

The literal content being uploaded to the bucket.

func (BucketObjectOutput) ContentDisposition

func (o BucketObjectOutput) ContentDisposition() pulumi.StringPtrOutput

Specifies presentational information for the object. Read [RFC2616 Content-Disposition](https://www.ietf.org/rfc/rfc2616.txt) for further details.

func (BucketObjectOutput) ContentEncoding

func (o BucketObjectOutput) ContentEncoding() pulumi.StringPtrOutput

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [RFC2616 Content-Encoding](https://www.ietf.org/rfc/rfc2616.txt) for further details.

func (BucketObjectOutput) ContentLength

func (o BucketObjectOutput) ContentLength() pulumi.StringOutput

the content length of request.

func (BucketObjectOutput) ContentMd5

func (o BucketObjectOutput) ContentMd5() pulumi.StringPtrOutput

The MD5 value of the content. Read [MD5](https://www.alibabacloud.com/help/doc-detail/31978.htm) for computing method.

func (BucketObjectOutput) ContentType

func (o BucketObjectOutput) ContentType() pulumi.StringOutput

A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.

func (BucketObjectOutput) ElementType

func (BucketObjectOutput) ElementType() reflect.Type

func (BucketObjectOutput) Etag

the ETag generated for the object (an MD5 sum of the object content).

func (BucketObjectOutput) Expires

Specifies expire date for the the request/response. Read [RFC2616 Expires](https://www.ietf.org/rfc/rfc2616.txt) for further details.

func (BucketObjectOutput) Key

The name of the object once it is in the bucket.

func (BucketObjectOutput) KmsKeyId

Specifies the primary key managed by KMS. This parameter is valid when the value of `serverSideEncryption` is set to KMS.

func (BucketObjectOutput) ServerSideEncryption

func (o BucketObjectOutput) ServerSideEncryption() pulumi.StringPtrOutput

Specifies server-side encryption of the object in OSS. Valid values are `AES256`, `KMS`. Default value is `AES256`.

func (BucketObjectOutput) Source

The path to the source file being uploaded to the bucket.

func (BucketObjectOutput) ToBucketObjectOutput

func (o BucketObjectOutput) ToBucketObjectOutput() BucketObjectOutput

func (BucketObjectOutput) ToBucketObjectOutputWithContext

func (o BucketObjectOutput) ToBucketObjectOutputWithContext(ctx context.Context) BucketObjectOutput

func (BucketObjectOutput) VersionId

func (o BucketObjectOutput) VersionId() pulumi.StringOutput

A unique version ID value for the object, if bucket versioning is enabled.

type BucketObjectState

type BucketObjectState struct {
	// The [canned ACL](https://www.alibabacloud.com/help/doc-detail/52284.htm) to apply. Defaults to "private".
	Acl pulumi.StringPtrInput
	// The name of the bucket to put the file in.
	Bucket pulumi.StringPtrInput
	// Specifies caching behavior along the request/reply chain. Read [RFC2616 Cache-Control](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	CacheControl pulumi.StringPtrInput
	// The literal content being uploaded to the bucket.
	Content pulumi.StringPtrInput
	// Specifies presentational information for the object. Read [RFC2616 Content-Disposition](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	ContentDisposition pulumi.StringPtrInput
	// Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [RFC2616 Content-Encoding](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	ContentEncoding pulumi.StringPtrInput
	// the content length of request.
	ContentLength pulumi.StringPtrInput
	// The MD5 value of the content. Read [MD5](https://www.alibabacloud.com/help/doc-detail/31978.htm) for computing method.
	ContentMd5 pulumi.StringPtrInput
	// A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
	ContentType pulumi.StringPtrInput
	// the ETag generated for the object (an MD5 sum of the object content).
	Etag pulumi.StringPtrInput
	// Specifies expire date for the the request/response. Read [RFC2616 Expires](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	Expires pulumi.StringPtrInput
	// The name of the object once it is in the bucket.
	Key pulumi.StringPtrInput
	// Specifies the primary key managed by KMS. This parameter is valid when the value of `serverSideEncryption` is set to KMS.
	KmsKeyId pulumi.StringPtrInput
	// Specifies server-side encryption of the object in OSS. Valid values are `AES256`, `KMS`. Default value is `AES256`.
	ServerSideEncryption pulumi.StringPtrInput
	// The path to the source file being uploaded to the bucket.
	Source pulumi.StringPtrInput
	// A unique version ID value for the object, if bucket versioning is enabled.
	VersionId pulumi.StringPtrInput
}

func (BucketObjectState) ElementType

func (BucketObjectState) ElementType() reflect.Type

type BucketOutput

type BucketOutput struct{ *pulumi.OutputState }

func (BucketOutput) Acl

The [canned ACL](https://www.alibabacloud.com/help/doc-detail/31898.htm) to apply. Can be "private", "public-read" and "public-read-write". Defaults to "private".

func (BucketOutput) Bucket

func (o BucketOutput) Bucket() pulumi.StringPtrOutput

func (BucketOutput) CorsRules

A rule of [Cross-Origin Resource Sharing](https://www.alibabacloud.com/help/doc-detail/31903.htm) (documented below). The items of core rule are no more than 10 for every OSS bucket.

func (BucketOutput) CreationDate

func (o BucketOutput) CreationDate() pulumi.StringOutput

The creation date of the bucket.

func (BucketOutput) ElementType

func (BucketOutput) ElementType() reflect.Type

func (BucketOutput) ExtranetEndpoint

func (o BucketOutput) ExtranetEndpoint() pulumi.StringOutput

The extranet access endpoint of the bucket.

func (BucketOutput) ForceDestroy

func (o BucketOutput) ForceDestroy() pulumi.BoolPtrOutput

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".

func (BucketOutput) IntranetEndpoint

func (o BucketOutput) IntranetEndpoint() pulumi.StringOutput

The intranet access endpoint of the bucket.

func (BucketOutput) LifecycleRules

func (o BucketOutput) LifecycleRules() BucketLifecycleRuleArrayOutput

A configuration of [object lifecycle management](https://www.alibabacloud.com/help/doc-detail/31904.htm) (documented below).

func (BucketOutput) Location

func (o BucketOutput) Location() pulumi.StringOutput

The location of the bucket.

func (BucketOutput) Logging

A Settings of [bucket logging](https://www.alibabacloud.com/help/doc-detail/31900.htm) (documented below).

func (BucketOutput) LoggingIsenable deprecated

func (o BucketOutput) LoggingIsenable() pulumi.BoolPtrOutput

The flag of using logging enable container. Defaults true.

Deprecated: Deprecated from 1.37.0. When `logging` is set, the bucket logging will be able.

func (BucketOutput) Owner

func (o BucketOutput) Owner() pulumi.StringOutput

The bucket owner.

func (BucketOutput) Policy

func (o BucketOutput) Policy() pulumi.StringPtrOutput

Json format text of bucket policy [bucket policy management](https://www.alibabacloud.com/help/doc-detail/100680.htm).

func (BucketOutput) RedundancyType

func (o BucketOutput) RedundancyType() pulumi.StringPtrOutput

The [redundancy type](https://www.alibabacloud.com/help/doc-detail/90589.htm) to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

func (BucketOutput) RefererConfig

func (o BucketOutput) RefererConfig() BucketRefererConfigPtrOutput

The configuration of [referer](https://www.alibabacloud.com/help/doc-detail/31901.htm) (documented below).

func (BucketOutput) ServerSideEncryptionRule

func (o BucketOutput) ServerSideEncryptionRule() BucketServerSideEncryptionRulePtrOutput

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

func (BucketOutput) StorageClass

func (o BucketOutput) StorageClass() pulumi.StringPtrOutput

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`.

func (BucketOutput) Tags

func (o BucketOutput) Tags() pulumi.MapOutput

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

func (BucketOutput) ToBucketOutput

func (o BucketOutput) ToBucketOutput() BucketOutput

func (BucketOutput) ToBucketOutputWithContext

func (o BucketOutput) ToBucketOutputWithContext(ctx context.Context) BucketOutput

func (BucketOutput) TransferAcceleration

func (o BucketOutput) TransferAcceleration() BucketTransferAccelerationPtrOutput

A transfer acceleration status of a bucket (documented below).

func (BucketOutput) Versioning

func (o BucketOutput) Versioning() BucketVersioningPtrOutput

A state of versioning (documented below).

func (BucketOutput) Website

A website object(documented below).

type BucketRefererConfig

type BucketRefererConfig struct {
	// Allows referer to be empty. Defaults false.
	AllowEmpty *bool `pulumi:"allowEmpty"`
	// The list of referer.
	Referers []string `pulumi:"referers"`
}

type BucketRefererConfigArgs

type BucketRefererConfigArgs struct {
	// Allows referer to be empty. Defaults false.
	AllowEmpty pulumi.BoolPtrInput `pulumi:"allowEmpty"`
	// The list of referer.
	Referers pulumi.StringArrayInput `pulumi:"referers"`
}

func (BucketRefererConfigArgs) ElementType

func (BucketRefererConfigArgs) ElementType() reflect.Type

func (BucketRefererConfigArgs) ToBucketRefererConfigOutput

func (i BucketRefererConfigArgs) ToBucketRefererConfigOutput() BucketRefererConfigOutput

func (BucketRefererConfigArgs) ToBucketRefererConfigOutputWithContext

func (i BucketRefererConfigArgs) ToBucketRefererConfigOutputWithContext(ctx context.Context) BucketRefererConfigOutput

func (BucketRefererConfigArgs) ToBucketRefererConfigPtrOutput

func (i BucketRefererConfigArgs) ToBucketRefererConfigPtrOutput() BucketRefererConfigPtrOutput

func (BucketRefererConfigArgs) ToBucketRefererConfigPtrOutputWithContext

func (i BucketRefererConfigArgs) ToBucketRefererConfigPtrOutputWithContext(ctx context.Context) BucketRefererConfigPtrOutput

type BucketRefererConfigInput

type BucketRefererConfigInput interface {
	pulumi.Input

	ToBucketRefererConfigOutput() BucketRefererConfigOutput
	ToBucketRefererConfigOutputWithContext(context.Context) BucketRefererConfigOutput
}

BucketRefererConfigInput is an input type that accepts BucketRefererConfigArgs and BucketRefererConfigOutput values. You can construct a concrete instance of `BucketRefererConfigInput` via:

BucketRefererConfigArgs{...}

type BucketRefererConfigOutput

type BucketRefererConfigOutput struct{ *pulumi.OutputState }

func (BucketRefererConfigOutput) AllowEmpty

Allows referer to be empty. Defaults false.

func (BucketRefererConfigOutput) ElementType

func (BucketRefererConfigOutput) ElementType() reflect.Type

func (BucketRefererConfigOutput) Referers

The list of referer.

func (BucketRefererConfigOutput) ToBucketRefererConfigOutput

func (o BucketRefererConfigOutput) ToBucketRefererConfigOutput() BucketRefererConfigOutput

func (BucketRefererConfigOutput) ToBucketRefererConfigOutputWithContext

func (o BucketRefererConfigOutput) ToBucketRefererConfigOutputWithContext(ctx context.Context) BucketRefererConfigOutput

func (BucketRefererConfigOutput) ToBucketRefererConfigPtrOutput

func (o BucketRefererConfigOutput) ToBucketRefererConfigPtrOutput() BucketRefererConfigPtrOutput

func (BucketRefererConfigOutput) ToBucketRefererConfigPtrOutputWithContext

func (o BucketRefererConfigOutput) ToBucketRefererConfigPtrOutputWithContext(ctx context.Context) BucketRefererConfigPtrOutput

type BucketRefererConfigPtrInput

type BucketRefererConfigPtrInput interface {
	pulumi.Input

	ToBucketRefererConfigPtrOutput() BucketRefererConfigPtrOutput
	ToBucketRefererConfigPtrOutputWithContext(context.Context) BucketRefererConfigPtrOutput
}

BucketRefererConfigPtrInput is an input type that accepts BucketRefererConfigArgs, BucketRefererConfigPtr and BucketRefererConfigPtrOutput values. You can construct a concrete instance of `BucketRefererConfigPtrInput` via:

        BucketRefererConfigArgs{...}

or:

        nil

type BucketRefererConfigPtrOutput

type BucketRefererConfigPtrOutput struct{ *pulumi.OutputState }

func (BucketRefererConfigPtrOutput) AllowEmpty

Allows referer to be empty. Defaults false.

func (BucketRefererConfigPtrOutput) Elem

func (BucketRefererConfigPtrOutput) ElementType

func (BucketRefererConfigPtrOutput) Referers

The list of referer.

func (BucketRefererConfigPtrOutput) ToBucketRefererConfigPtrOutput

func (o BucketRefererConfigPtrOutput) ToBucketRefererConfigPtrOutput() BucketRefererConfigPtrOutput

func (BucketRefererConfigPtrOutput) ToBucketRefererConfigPtrOutputWithContext

func (o BucketRefererConfigPtrOutput) ToBucketRefererConfigPtrOutputWithContext(ctx context.Context) BucketRefererConfigPtrOutput

type BucketReplication

type BucketReplication struct {
	pulumi.CustomResourceState

	// The operations that can be synchronized to the destination bucket. You can set action to one or more of the following operation types. Valid values: `ALL`(contains PUT, DELETE, and ABORT), `PUT`, `DELETE` and `ABORT`. Defaults to `ALL`.
	Action pulumi.StringPtrOutput `pulumi:"action"`
	// The name of the bucket.
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// Specifies the destination for the rule(See the following block `destination`).
	Destination BucketReplicationDestinationOutput `pulumi:"destination"`
	// Specifies the encryption configuration for the objects replicated to the destination bucket(See the following block `encryptionConfiguration`).
	EncryptionConfiguration BucketReplicationEncryptionConfigurationPtrOutput `pulumi:"encryptionConfiguration"`
	// Specifies whether to replicate historical data from the source bucket to the destination bucket before data replication is enabled. Can be `enabled` or `disabled`. Defaults to `enabled`.
	HistoricalObjectReplication pulumi.StringPtrOutput `pulumi:"historicalObjectReplication"`
	// The prefixes used to specify the object to replicate. Only objects that match the prefix are replicated to the destination bucket(See the following block `prefixSet`).
	PrefixSet BucketReplicationPrefixSetPtrOutput `pulumi:"prefixSet"`
	// Retrieves the progress of the data replication task. This status is returned only when the data replication task is in the doing state.
	Progress BucketReplicationProgressOutput `pulumi:"progress"`
	// The ID of the data replication rule.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
	// Specifies other conditions used to filter the source objects to replicate(See the following block `sourceSelectionCriteria`).
	SourceSelectionCriteria BucketReplicationSourceSelectionCriteriaPtrOutput `pulumi:"sourceSelectionCriteria"`
	// Specifies whether to replicate objects encrypted by using SSE-KMS. Can be `Enabled` or `Disabled`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the role that you authorize OSS to use to replicate data. If SSE-KMS is specified to encrypt the objects replicated to the destination bucket, it must be specified.
	SyncRole pulumi.StringPtrOutput `pulumi:"syncRole"`
}

Provides an independent replication configuration resource for OSS bucket.

For information about OSS replication and how to use it, see [What is cross-region replication](https://www.alibabacloud.com/help/doc-detail/31864.html) and [What is same-region replication](https://www.alibabacloud.com/help/doc-detail/254865.html).

> **NOTE:** Available in v1.161.0+.

## Example Usage

Set bucket replication configuration

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.NewBucketReplication(ctx, "cross-region-replication", &oss.BucketReplicationArgs{
			Action: pulumi.String("ALL"),
			Bucket: pulumi.String("bucket-in-hangzhou"),
			Destination: &oss.BucketReplicationDestinationArgs{
				Bucket:   pulumi.String("bucket-in-beijing"),
				Location: pulumi.String("oss-cn-beijing"),
			},
		})
		if err != nil {
			return err
		}
		_, err = oss.NewBucketReplication(ctx, "same-region-replication", &oss.BucketReplicationArgs{
			Action: pulumi.String("ALL"),
			Bucket: pulumi.String("bucket-in-hangzhou"),
			Destination: &oss.BucketReplicationDestinationArgs{
				Bucket:   pulumi.String("bucket-in-hangzhou-1"),
				Location: pulumi.String("oss-cn-hangzhou"),
			},
		})
		if err != nil {
			return err
		}
		_, err = oss.NewBucketReplication(ctx, "replication-with-prefix", &oss.BucketReplicationArgs{
			Action: pulumi.String("ALL"),
			Bucket: pulumi.String("bucket-1"),
			Destination: &oss.BucketReplicationDestinationArgs{
				Bucket:   pulumi.String("bucket-2"),
				Location: pulumi.String("oss-cn-hangzhou"),
			},
			HistoricalObjectReplication: pulumi.String("disabled"),
			PrefixSet: &oss.BucketReplicationPrefixSetArgs{
				Prefixes: pulumi.StringArray{
					pulumi.String("prefix1/"),
					pulumi.String("prefix2/"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = oss.NewBucketReplication(ctx, "replication-with-specific-action", &oss.BucketReplicationArgs{
			Action: pulumi.String("PUT"),
			Bucket: pulumi.String("bucket-1"),
			Destination: &oss.BucketReplicationDestinationArgs{
				Bucket:   pulumi.String("bucket-2"),
				Location: pulumi.String("oss-cn-hangzhou"),
			},
			HistoricalObjectReplication: pulumi.String("disabled"),
		})
		if err != nil {
			return err
		}
		_, err = oss.NewBucketReplication(ctx, "replication-with-kms-encryption", &oss.BucketReplicationArgs{
			Action: pulumi.String("ALL"),
			Bucket: pulumi.String("bucket-1"),
			Destination: &oss.BucketReplicationDestinationArgs{
				Bucket:   pulumi.String("bucket-2"),
				Location: pulumi.String("oss-cn-hangzhou"),
			},
			EncryptionConfiguration: &oss.BucketReplicationEncryptionConfigurationArgs{
				ReplicaKmsKeyId: pulumi.String("<your kms key id>"),
			},
			HistoricalObjectReplication: pulumi.String("disabled"),
			SourceSelectionCriteria: &oss.BucketReplicationSourceSelectionCriteriaArgs{
				SseKmsEncryptedObjects: &oss.BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs{
					Status: pulumi.String("Enabled"),
				},
			},
			SyncRole: pulumi.String("<your ram role>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

### Timeouts The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration-0-11/resources.html#timeouts) for certain actions* `delete` - (Defaults to 30 mins) Used when delete a data replication rule (until the data replication task is cleared).

func GetBucketReplication

func GetBucketReplication(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BucketReplicationState, opts ...pulumi.ResourceOption) (*BucketReplication, error)

GetBucketReplication gets an existing BucketReplication resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBucketReplication

func NewBucketReplication(ctx *pulumi.Context,
	name string, args *BucketReplicationArgs, opts ...pulumi.ResourceOption) (*BucketReplication, error)

NewBucketReplication registers a new resource with the given unique name, arguments, and options.

func (*BucketReplication) ElementType

func (*BucketReplication) ElementType() reflect.Type

func (*BucketReplication) ToBucketReplicationOutput

func (i *BucketReplication) ToBucketReplicationOutput() BucketReplicationOutput

func (*BucketReplication) ToBucketReplicationOutputWithContext

func (i *BucketReplication) ToBucketReplicationOutputWithContext(ctx context.Context) BucketReplicationOutput

type BucketReplicationArgs

type BucketReplicationArgs struct {
	// The operations that can be synchronized to the destination bucket. You can set action to one or more of the following operation types. Valid values: `ALL`(contains PUT, DELETE, and ABORT), `PUT`, `DELETE` and `ABORT`. Defaults to `ALL`.
	Action pulumi.StringPtrInput
	// The name of the bucket.
	Bucket pulumi.StringInput
	// Specifies the destination for the rule(See the following block `destination`).
	Destination BucketReplicationDestinationInput
	// Specifies the encryption configuration for the objects replicated to the destination bucket(See the following block `encryptionConfiguration`).
	EncryptionConfiguration BucketReplicationEncryptionConfigurationPtrInput
	// Specifies whether to replicate historical data from the source bucket to the destination bucket before data replication is enabled. Can be `enabled` or `disabled`. Defaults to `enabled`.
	HistoricalObjectReplication pulumi.StringPtrInput
	// The prefixes used to specify the object to replicate. Only objects that match the prefix are replicated to the destination bucket(See the following block `prefixSet`).
	PrefixSet BucketReplicationPrefixSetPtrInput
	// Retrieves the progress of the data replication task. This status is returned only when the data replication task is in the doing state.
	Progress BucketReplicationProgressPtrInput
	// Specifies other conditions used to filter the source objects to replicate(See the following block `sourceSelectionCriteria`).
	SourceSelectionCriteria BucketReplicationSourceSelectionCriteriaPtrInput
	// Specifies the role that you authorize OSS to use to replicate data. If SSE-KMS is specified to encrypt the objects replicated to the destination bucket, it must be specified.
	SyncRole pulumi.StringPtrInput
}

The set of arguments for constructing a BucketReplication resource.

func (BucketReplicationArgs) ElementType

func (BucketReplicationArgs) ElementType() reflect.Type

type BucketReplicationArray

type BucketReplicationArray []BucketReplicationInput

func (BucketReplicationArray) ElementType

func (BucketReplicationArray) ElementType() reflect.Type

func (BucketReplicationArray) ToBucketReplicationArrayOutput

func (i BucketReplicationArray) ToBucketReplicationArrayOutput() BucketReplicationArrayOutput

func (BucketReplicationArray) ToBucketReplicationArrayOutputWithContext

func (i BucketReplicationArray) ToBucketReplicationArrayOutputWithContext(ctx context.Context) BucketReplicationArrayOutput

type BucketReplicationArrayInput

type BucketReplicationArrayInput interface {
	pulumi.Input

	ToBucketReplicationArrayOutput() BucketReplicationArrayOutput
	ToBucketReplicationArrayOutputWithContext(context.Context) BucketReplicationArrayOutput
}

BucketReplicationArrayInput is an input type that accepts BucketReplicationArray and BucketReplicationArrayOutput values. You can construct a concrete instance of `BucketReplicationArrayInput` via:

BucketReplicationArray{ BucketReplicationArgs{...} }

type BucketReplicationArrayOutput

type BucketReplicationArrayOutput struct{ *pulumi.OutputState }

func (BucketReplicationArrayOutput) ElementType

func (BucketReplicationArrayOutput) Index

func (BucketReplicationArrayOutput) ToBucketReplicationArrayOutput

func (o BucketReplicationArrayOutput) ToBucketReplicationArrayOutput() BucketReplicationArrayOutput

func (BucketReplicationArrayOutput) ToBucketReplicationArrayOutputWithContext

func (o BucketReplicationArrayOutput) ToBucketReplicationArrayOutputWithContext(ctx context.Context) BucketReplicationArrayOutput

type BucketReplicationDestination

type BucketReplicationDestination struct {
	// The destination bucket to which the data is replicated.
	Bucket   string `pulumi:"bucket"`
	Location string `pulumi:"location"`
	// The link used to transfer data in data replication.. Can be `internal` or `ossAcc`. Defaults to `internal`.
	TransferType *string `pulumi:"transferType"`
}

type BucketReplicationDestinationArgs

type BucketReplicationDestinationArgs struct {
	// The destination bucket to which the data is replicated.
	Bucket   pulumi.StringInput `pulumi:"bucket"`
	Location pulumi.StringInput `pulumi:"location"`
	// The link used to transfer data in data replication.. Can be `internal` or `ossAcc`. Defaults to `internal`.
	TransferType pulumi.StringPtrInput `pulumi:"transferType"`
}

func (BucketReplicationDestinationArgs) ElementType

func (BucketReplicationDestinationArgs) ToBucketReplicationDestinationOutput

func (i BucketReplicationDestinationArgs) ToBucketReplicationDestinationOutput() BucketReplicationDestinationOutput

func (BucketReplicationDestinationArgs) ToBucketReplicationDestinationOutputWithContext

func (i BucketReplicationDestinationArgs) ToBucketReplicationDestinationOutputWithContext(ctx context.Context) BucketReplicationDestinationOutput

func (BucketReplicationDestinationArgs) ToBucketReplicationDestinationPtrOutput

func (i BucketReplicationDestinationArgs) ToBucketReplicationDestinationPtrOutput() BucketReplicationDestinationPtrOutput

func (BucketReplicationDestinationArgs) ToBucketReplicationDestinationPtrOutputWithContext

func (i BucketReplicationDestinationArgs) ToBucketReplicationDestinationPtrOutputWithContext(ctx context.Context) BucketReplicationDestinationPtrOutput

type BucketReplicationDestinationInput

type BucketReplicationDestinationInput interface {
	pulumi.Input

	ToBucketReplicationDestinationOutput() BucketReplicationDestinationOutput
	ToBucketReplicationDestinationOutputWithContext(context.Context) BucketReplicationDestinationOutput
}

BucketReplicationDestinationInput is an input type that accepts BucketReplicationDestinationArgs and BucketReplicationDestinationOutput values. You can construct a concrete instance of `BucketReplicationDestinationInput` via:

BucketReplicationDestinationArgs{...}

type BucketReplicationDestinationOutput

type BucketReplicationDestinationOutput struct{ *pulumi.OutputState }

func (BucketReplicationDestinationOutput) Bucket

The destination bucket to which the data is replicated.

func (BucketReplicationDestinationOutput) ElementType

func (BucketReplicationDestinationOutput) Location

func (BucketReplicationDestinationOutput) ToBucketReplicationDestinationOutput

func (o BucketReplicationDestinationOutput) ToBucketReplicationDestinationOutput() BucketReplicationDestinationOutput

func (BucketReplicationDestinationOutput) ToBucketReplicationDestinationOutputWithContext

func (o BucketReplicationDestinationOutput) ToBucketReplicationDestinationOutputWithContext(ctx context.Context) BucketReplicationDestinationOutput

func (BucketReplicationDestinationOutput) ToBucketReplicationDestinationPtrOutput

func (o BucketReplicationDestinationOutput) ToBucketReplicationDestinationPtrOutput() BucketReplicationDestinationPtrOutput

func (BucketReplicationDestinationOutput) ToBucketReplicationDestinationPtrOutputWithContext

func (o BucketReplicationDestinationOutput) ToBucketReplicationDestinationPtrOutputWithContext(ctx context.Context) BucketReplicationDestinationPtrOutput

func (BucketReplicationDestinationOutput) TransferType

The link used to transfer data in data replication.. Can be `internal` or `ossAcc`. Defaults to `internal`.

type BucketReplicationDestinationPtrInput

type BucketReplicationDestinationPtrInput interface {
	pulumi.Input

	ToBucketReplicationDestinationPtrOutput() BucketReplicationDestinationPtrOutput
	ToBucketReplicationDestinationPtrOutputWithContext(context.Context) BucketReplicationDestinationPtrOutput
}

BucketReplicationDestinationPtrInput is an input type that accepts BucketReplicationDestinationArgs, BucketReplicationDestinationPtr and BucketReplicationDestinationPtrOutput values. You can construct a concrete instance of `BucketReplicationDestinationPtrInput` via:

        BucketReplicationDestinationArgs{...}

or:

        nil

type BucketReplicationDestinationPtrOutput

type BucketReplicationDestinationPtrOutput struct{ *pulumi.OutputState }

func (BucketReplicationDestinationPtrOutput) Bucket

The destination bucket to which the data is replicated.

func (BucketReplicationDestinationPtrOutput) Elem

func (BucketReplicationDestinationPtrOutput) ElementType

func (BucketReplicationDestinationPtrOutput) Location

func (BucketReplicationDestinationPtrOutput) ToBucketReplicationDestinationPtrOutput

func (o BucketReplicationDestinationPtrOutput) ToBucketReplicationDestinationPtrOutput() BucketReplicationDestinationPtrOutput

func (BucketReplicationDestinationPtrOutput) ToBucketReplicationDestinationPtrOutputWithContext

func (o BucketReplicationDestinationPtrOutput) ToBucketReplicationDestinationPtrOutputWithContext(ctx context.Context) BucketReplicationDestinationPtrOutput

func (BucketReplicationDestinationPtrOutput) TransferType

The link used to transfer data in data replication.. Can be `internal` or `ossAcc`. Defaults to `internal`.

type BucketReplicationEncryptionConfiguration

type BucketReplicationEncryptionConfiguration struct {
	// The CMK ID used in SSE-KMS.
	ReplicaKmsKeyId string `pulumi:"replicaKmsKeyId"`
}

type BucketReplicationEncryptionConfigurationArgs

type BucketReplicationEncryptionConfigurationArgs struct {
	// The CMK ID used in SSE-KMS.
	ReplicaKmsKeyId pulumi.StringInput `pulumi:"replicaKmsKeyId"`
}

func (BucketReplicationEncryptionConfigurationArgs) ElementType

func (BucketReplicationEncryptionConfigurationArgs) ToBucketReplicationEncryptionConfigurationOutput

func (i BucketReplicationEncryptionConfigurationArgs) ToBucketReplicationEncryptionConfigurationOutput() BucketReplicationEncryptionConfigurationOutput

func (BucketReplicationEncryptionConfigurationArgs) ToBucketReplicationEncryptionConfigurationOutputWithContext

func (i BucketReplicationEncryptionConfigurationArgs) ToBucketReplicationEncryptionConfigurationOutputWithContext(ctx context.Context) BucketReplicationEncryptionConfigurationOutput

func (BucketReplicationEncryptionConfigurationArgs) ToBucketReplicationEncryptionConfigurationPtrOutput

func (i BucketReplicationEncryptionConfigurationArgs) ToBucketReplicationEncryptionConfigurationPtrOutput() BucketReplicationEncryptionConfigurationPtrOutput

func (BucketReplicationEncryptionConfigurationArgs) ToBucketReplicationEncryptionConfigurationPtrOutputWithContext

func (i BucketReplicationEncryptionConfigurationArgs) ToBucketReplicationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) BucketReplicationEncryptionConfigurationPtrOutput

type BucketReplicationEncryptionConfigurationInput

type BucketReplicationEncryptionConfigurationInput interface {
	pulumi.Input

	ToBucketReplicationEncryptionConfigurationOutput() BucketReplicationEncryptionConfigurationOutput
	ToBucketReplicationEncryptionConfigurationOutputWithContext(context.Context) BucketReplicationEncryptionConfigurationOutput
}

BucketReplicationEncryptionConfigurationInput is an input type that accepts BucketReplicationEncryptionConfigurationArgs and BucketReplicationEncryptionConfigurationOutput values. You can construct a concrete instance of `BucketReplicationEncryptionConfigurationInput` via:

BucketReplicationEncryptionConfigurationArgs{...}

type BucketReplicationEncryptionConfigurationOutput

type BucketReplicationEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (BucketReplicationEncryptionConfigurationOutput) ElementType

func (BucketReplicationEncryptionConfigurationOutput) ReplicaKmsKeyId

The CMK ID used in SSE-KMS.

func (BucketReplicationEncryptionConfigurationOutput) ToBucketReplicationEncryptionConfigurationOutput

func (o BucketReplicationEncryptionConfigurationOutput) ToBucketReplicationEncryptionConfigurationOutput() BucketReplicationEncryptionConfigurationOutput

func (BucketReplicationEncryptionConfigurationOutput) ToBucketReplicationEncryptionConfigurationOutputWithContext

func (o BucketReplicationEncryptionConfigurationOutput) ToBucketReplicationEncryptionConfigurationOutputWithContext(ctx context.Context) BucketReplicationEncryptionConfigurationOutput

func (BucketReplicationEncryptionConfigurationOutput) ToBucketReplicationEncryptionConfigurationPtrOutput

func (o BucketReplicationEncryptionConfigurationOutput) ToBucketReplicationEncryptionConfigurationPtrOutput() BucketReplicationEncryptionConfigurationPtrOutput

func (BucketReplicationEncryptionConfigurationOutput) ToBucketReplicationEncryptionConfigurationPtrOutputWithContext

func (o BucketReplicationEncryptionConfigurationOutput) ToBucketReplicationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) BucketReplicationEncryptionConfigurationPtrOutput

type BucketReplicationEncryptionConfigurationPtrInput

type BucketReplicationEncryptionConfigurationPtrInput interface {
	pulumi.Input

	ToBucketReplicationEncryptionConfigurationPtrOutput() BucketReplicationEncryptionConfigurationPtrOutput
	ToBucketReplicationEncryptionConfigurationPtrOutputWithContext(context.Context) BucketReplicationEncryptionConfigurationPtrOutput
}

BucketReplicationEncryptionConfigurationPtrInput is an input type that accepts BucketReplicationEncryptionConfigurationArgs, BucketReplicationEncryptionConfigurationPtr and BucketReplicationEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `BucketReplicationEncryptionConfigurationPtrInput` via:

        BucketReplicationEncryptionConfigurationArgs{...}

or:

        nil

type BucketReplicationEncryptionConfigurationPtrOutput

type BucketReplicationEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (BucketReplicationEncryptionConfigurationPtrOutput) Elem

func (BucketReplicationEncryptionConfigurationPtrOutput) ElementType

func (BucketReplicationEncryptionConfigurationPtrOutput) ReplicaKmsKeyId

The CMK ID used in SSE-KMS.

func (BucketReplicationEncryptionConfigurationPtrOutput) ToBucketReplicationEncryptionConfigurationPtrOutput

func (o BucketReplicationEncryptionConfigurationPtrOutput) ToBucketReplicationEncryptionConfigurationPtrOutput() BucketReplicationEncryptionConfigurationPtrOutput

func (BucketReplicationEncryptionConfigurationPtrOutput) ToBucketReplicationEncryptionConfigurationPtrOutputWithContext

func (o BucketReplicationEncryptionConfigurationPtrOutput) ToBucketReplicationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) BucketReplicationEncryptionConfigurationPtrOutput

type BucketReplicationInput

type BucketReplicationInput interface {
	pulumi.Input

	ToBucketReplicationOutput() BucketReplicationOutput
	ToBucketReplicationOutputWithContext(ctx context.Context) BucketReplicationOutput
}

type BucketReplicationMap

type BucketReplicationMap map[string]BucketReplicationInput

func (BucketReplicationMap) ElementType

func (BucketReplicationMap) ElementType() reflect.Type

func (BucketReplicationMap) ToBucketReplicationMapOutput

func (i BucketReplicationMap) ToBucketReplicationMapOutput() BucketReplicationMapOutput

func (BucketReplicationMap) ToBucketReplicationMapOutputWithContext

func (i BucketReplicationMap) ToBucketReplicationMapOutputWithContext(ctx context.Context) BucketReplicationMapOutput

type BucketReplicationMapInput

type BucketReplicationMapInput interface {
	pulumi.Input

	ToBucketReplicationMapOutput() BucketReplicationMapOutput
	ToBucketReplicationMapOutputWithContext(context.Context) BucketReplicationMapOutput
}

BucketReplicationMapInput is an input type that accepts BucketReplicationMap and BucketReplicationMapOutput values. You can construct a concrete instance of `BucketReplicationMapInput` via:

BucketReplicationMap{ "key": BucketReplicationArgs{...} }

type BucketReplicationMapOutput

type BucketReplicationMapOutput struct{ *pulumi.OutputState }

func (BucketReplicationMapOutput) ElementType

func (BucketReplicationMapOutput) ElementType() reflect.Type

func (BucketReplicationMapOutput) MapIndex

func (BucketReplicationMapOutput) ToBucketReplicationMapOutput

func (o BucketReplicationMapOutput) ToBucketReplicationMapOutput() BucketReplicationMapOutput

func (BucketReplicationMapOutput) ToBucketReplicationMapOutputWithContext

func (o BucketReplicationMapOutput) ToBucketReplicationMapOutputWithContext(ctx context.Context) BucketReplicationMapOutput

type BucketReplicationOutput

type BucketReplicationOutput struct{ *pulumi.OutputState }

func (BucketReplicationOutput) Action

The operations that can be synchronized to the destination bucket. You can set action to one or more of the following operation types. Valid values: `ALL`(contains PUT, DELETE, and ABORT), `PUT`, `DELETE` and `ABORT`. Defaults to `ALL`.

func (BucketReplicationOutput) Bucket

The name of the bucket.

func (BucketReplicationOutput) Destination

Specifies the destination for the rule(See the following block `destination`).

func (BucketReplicationOutput) ElementType

func (BucketReplicationOutput) ElementType() reflect.Type

func (BucketReplicationOutput) EncryptionConfiguration

Specifies the encryption configuration for the objects replicated to the destination bucket(See the following block `encryptionConfiguration`).

func (BucketReplicationOutput) HistoricalObjectReplication

func (o BucketReplicationOutput) HistoricalObjectReplication() pulumi.StringPtrOutput

Specifies whether to replicate historical data from the source bucket to the destination bucket before data replication is enabled. Can be `enabled` or `disabled`. Defaults to `enabled`.

func (BucketReplicationOutput) PrefixSet

The prefixes used to specify the object to replicate. Only objects that match the prefix are replicated to the destination bucket(See the following block `prefixSet`).

func (BucketReplicationOutput) Progress

Retrieves the progress of the data replication task. This status is returned only when the data replication task is in the doing state.

func (BucketReplicationOutput) RuleId

The ID of the data replication rule.

func (BucketReplicationOutput) SourceSelectionCriteria

Specifies other conditions used to filter the source objects to replicate(See the following block `sourceSelectionCriteria`).

func (BucketReplicationOutput) Status

Specifies whether to replicate objects encrypted by using SSE-KMS. Can be `Enabled` or `Disabled`.

func (BucketReplicationOutput) SyncRole

Specifies the role that you authorize OSS to use to replicate data. If SSE-KMS is specified to encrypt the objects replicated to the destination bucket, it must be specified.

func (BucketReplicationOutput) ToBucketReplicationOutput

func (o BucketReplicationOutput) ToBucketReplicationOutput() BucketReplicationOutput

func (BucketReplicationOutput) ToBucketReplicationOutputWithContext

func (o BucketReplicationOutput) ToBucketReplicationOutputWithContext(ctx context.Context) BucketReplicationOutput

type BucketReplicationPrefixSet

type BucketReplicationPrefixSet struct {
	// The list of object key name prefix identifying one or more objects to which the rule applies.
	Prefixes []string `pulumi:"prefixes"`
}

type BucketReplicationPrefixSetArgs

type BucketReplicationPrefixSetArgs struct {
	// The list of object key name prefix identifying one or more objects to which the rule applies.
	Prefixes pulumi.StringArrayInput `pulumi:"prefixes"`
}

func (BucketReplicationPrefixSetArgs) ElementType

func (BucketReplicationPrefixSetArgs) ToBucketReplicationPrefixSetOutput

func (i BucketReplicationPrefixSetArgs) ToBucketReplicationPrefixSetOutput() BucketReplicationPrefixSetOutput

func (BucketReplicationPrefixSetArgs) ToBucketReplicationPrefixSetOutputWithContext

func (i BucketReplicationPrefixSetArgs) ToBucketReplicationPrefixSetOutputWithContext(ctx context.Context) BucketReplicationPrefixSetOutput

func (BucketReplicationPrefixSetArgs) ToBucketReplicationPrefixSetPtrOutput

func (i BucketReplicationPrefixSetArgs) ToBucketReplicationPrefixSetPtrOutput() BucketReplicationPrefixSetPtrOutput

func (BucketReplicationPrefixSetArgs) ToBucketReplicationPrefixSetPtrOutputWithContext

func (i BucketReplicationPrefixSetArgs) ToBucketReplicationPrefixSetPtrOutputWithContext(ctx context.Context) BucketReplicationPrefixSetPtrOutput

type BucketReplicationPrefixSetInput

type BucketReplicationPrefixSetInput interface {
	pulumi.Input

	ToBucketReplicationPrefixSetOutput() BucketReplicationPrefixSetOutput
	ToBucketReplicationPrefixSetOutputWithContext(context.Context) BucketReplicationPrefixSetOutput
}

BucketReplicationPrefixSetInput is an input type that accepts BucketReplicationPrefixSetArgs and BucketReplicationPrefixSetOutput values. You can construct a concrete instance of `BucketReplicationPrefixSetInput` via:

BucketReplicationPrefixSetArgs{...}

type BucketReplicationPrefixSetOutput

type BucketReplicationPrefixSetOutput struct{ *pulumi.OutputState }

func (BucketReplicationPrefixSetOutput) ElementType

func (BucketReplicationPrefixSetOutput) Prefixes

The list of object key name prefix identifying one or more objects to which the rule applies.

func (BucketReplicationPrefixSetOutput) ToBucketReplicationPrefixSetOutput

func (o BucketReplicationPrefixSetOutput) ToBucketReplicationPrefixSetOutput() BucketReplicationPrefixSetOutput

func (BucketReplicationPrefixSetOutput) ToBucketReplicationPrefixSetOutputWithContext

func (o BucketReplicationPrefixSetOutput) ToBucketReplicationPrefixSetOutputWithContext(ctx context.Context) BucketReplicationPrefixSetOutput

func (BucketReplicationPrefixSetOutput) ToBucketReplicationPrefixSetPtrOutput

func (o BucketReplicationPrefixSetOutput) ToBucketReplicationPrefixSetPtrOutput() BucketReplicationPrefixSetPtrOutput

func (BucketReplicationPrefixSetOutput) ToBucketReplicationPrefixSetPtrOutputWithContext

func (o BucketReplicationPrefixSetOutput) ToBucketReplicationPrefixSetPtrOutputWithContext(ctx context.Context) BucketReplicationPrefixSetPtrOutput

type BucketReplicationPrefixSetPtrInput

type BucketReplicationPrefixSetPtrInput interface {
	pulumi.Input

	ToBucketReplicationPrefixSetPtrOutput() BucketReplicationPrefixSetPtrOutput
	ToBucketReplicationPrefixSetPtrOutputWithContext(context.Context) BucketReplicationPrefixSetPtrOutput
}

BucketReplicationPrefixSetPtrInput is an input type that accepts BucketReplicationPrefixSetArgs, BucketReplicationPrefixSetPtr and BucketReplicationPrefixSetPtrOutput values. You can construct a concrete instance of `BucketReplicationPrefixSetPtrInput` via:

        BucketReplicationPrefixSetArgs{...}

or:

        nil

type BucketReplicationPrefixSetPtrOutput

type BucketReplicationPrefixSetPtrOutput struct{ *pulumi.OutputState }

func (BucketReplicationPrefixSetPtrOutput) Elem

func (BucketReplicationPrefixSetPtrOutput) ElementType

func (BucketReplicationPrefixSetPtrOutput) Prefixes

The list of object key name prefix identifying one or more objects to which the rule applies.

func (BucketReplicationPrefixSetPtrOutput) ToBucketReplicationPrefixSetPtrOutput

func (o BucketReplicationPrefixSetPtrOutput) ToBucketReplicationPrefixSetPtrOutput() BucketReplicationPrefixSetPtrOutput

func (BucketReplicationPrefixSetPtrOutput) ToBucketReplicationPrefixSetPtrOutputWithContext

func (o BucketReplicationPrefixSetPtrOutput) ToBucketReplicationPrefixSetPtrOutputWithContext(ctx context.Context) BucketReplicationPrefixSetPtrOutput

type BucketReplicationProgress

type BucketReplicationProgress struct {
	// The percentage of the replicated historical data. This element is valid only when historicalObjectReplication is set to enabled.
	HistoricalObject *string `pulumi:"historicalObject"`
	// The time used to distinguish new data from historical data. Data that is written to the source bucket before the time is replicated to the destination bucket as new data. The value of this element is in GMT.
	NewObject *string `pulumi:"newObject"`
}

type BucketReplicationProgressArgs

type BucketReplicationProgressArgs struct {
	// The percentage of the replicated historical data. This element is valid only when historicalObjectReplication is set to enabled.
	HistoricalObject pulumi.StringPtrInput `pulumi:"historicalObject"`
	// The time used to distinguish new data from historical data. Data that is written to the source bucket before the time is replicated to the destination bucket as new data. The value of this element is in GMT.
	NewObject pulumi.StringPtrInput `pulumi:"newObject"`
}

func (BucketReplicationProgressArgs) ElementType

func (BucketReplicationProgressArgs) ToBucketReplicationProgressOutput

func (i BucketReplicationProgressArgs) ToBucketReplicationProgressOutput() BucketReplicationProgressOutput

func (BucketReplicationProgressArgs) ToBucketReplicationProgressOutputWithContext

func (i BucketReplicationProgressArgs) ToBucketReplicationProgressOutputWithContext(ctx context.Context) BucketReplicationProgressOutput

func (BucketReplicationProgressArgs) ToBucketReplicationProgressPtrOutput

func (i BucketReplicationProgressArgs) ToBucketReplicationProgressPtrOutput() BucketReplicationProgressPtrOutput

func (BucketReplicationProgressArgs) ToBucketReplicationProgressPtrOutputWithContext

func (i BucketReplicationProgressArgs) ToBucketReplicationProgressPtrOutputWithContext(ctx context.Context) BucketReplicationProgressPtrOutput

type BucketReplicationProgressInput

type BucketReplicationProgressInput interface {
	pulumi.Input

	ToBucketReplicationProgressOutput() BucketReplicationProgressOutput
	ToBucketReplicationProgressOutputWithContext(context.Context) BucketReplicationProgressOutput
}

BucketReplicationProgressInput is an input type that accepts BucketReplicationProgressArgs and BucketReplicationProgressOutput values. You can construct a concrete instance of `BucketReplicationProgressInput` via:

BucketReplicationProgressArgs{...}

type BucketReplicationProgressOutput

type BucketReplicationProgressOutput struct{ *pulumi.OutputState }

func (BucketReplicationProgressOutput) ElementType

func (BucketReplicationProgressOutput) HistoricalObject

The percentage of the replicated historical data. This element is valid only when historicalObjectReplication is set to enabled.

func (BucketReplicationProgressOutput) NewObject

The time used to distinguish new data from historical data. Data that is written to the source bucket before the time is replicated to the destination bucket as new data. The value of this element is in GMT.

func (BucketReplicationProgressOutput) ToBucketReplicationProgressOutput

func (o BucketReplicationProgressOutput) ToBucketReplicationProgressOutput() BucketReplicationProgressOutput

func (BucketReplicationProgressOutput) ToBucketReplicationProgressOutputWithContext

func (o BucketReplicationProgressOutput) ToBucketReplicationProgressOutputWithContext(ctx context.Context) BucketReplicationProgressOutput

func (BucketReplicationProgressOutput) ToBucketReplicationProgressPtrOutput

func (o BucketReplicationProgressOutput) ToBucketReplicationProgressPtrOutput() BucketReplicationProgressPtrOutput

func (BucketReplicationProgressOutput) ToBucketReplicationProgressPtrOutputWithContext

func (o BucketReplicationProgressOutput) ToBucketReplicationProgressPtrOutputWithContext(ctx context.Context) BucketReplicationProgressPtrOutput

type BucketReplicationProgressPtrInput

type BucketReplicationProgressPtrInput interface {
	pulumi.Input

	ToBucketReplicationProgressPtrOutput() BucketReplicationProgressPtrOutput
	ToBucketReplicationProgressPtrOutputWithContext(context.Context) BucketReplicationProgressPtrOutput
}

BucketReplicationProgressPtrInput is an input type that accepts BucketReplicationProgressArgs, BucketReplicationProgressPtr and BucketReplicationProgressPtrOutput values. You can construct a concrete instance of `BucketReplicationProgressPtrInput` via:

        BucketReplicationProgressArgs{...}

or:

        nil

type BucketReplicationProgressPtrOutput

type BucketReplicationProgressPtrOutput struct{ *pulumi.OutputState }

func (BucketReplicationProgressPtrOutput) Elem

func (BucketReplicationProgressPtrOutput) ElementType

func (BucketReplicationProgressPtrOutput) HistoricalObject

The percentage of the replicated historical data. This element is valid only when historicalObjectReplication is set to enabled.

func (BucketReplicationProgressPtrOutput) NewObject

The time used to distinguish new data from historical data. Data that is written to the source bucket before the time is replicated to the destination bucket as new data. The value of this element is in GMT.

func (BucketReplicationProgressPtrOutput) ToBucketReplicationProgressPtrOutput

func (o BucketReplicationProgressPtrOutput) ToBucketReplicationProgressPtrOutput() BucketReplicationProgressPtrOutput

func (BucketReplicationProgressPtrOutput) ToBucketReplicationProgressPtrOutputWithContext

func (o BucketReplicationProgressPtrOutput) ToBucketReplicationProgressPtrOutputWithContext(ctx context.Context) BucketReplicationProgressPtrOutput

type BucketReplicationSourceSelectionCriteria

type BucketReplicationSourceSelectionCriteria struct {
	// Filter source objects encrypted by using SSE-KMS(See the following block `sseKmsEncryptedObjects`).
	SseKmsEncryptedObjects *BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjects `pulumi:"sseKmsEncryptedObjects"`
}

type BucketReplicationSourceSelectionCriteriaArgs

type BucketReplicationSourceSelectionCriteriaArgs struct {
	// Filter source objects encrypted by using SSE-KMS(See the following block `sseKmsEncryptedObjects`).
	SseKmsEncryptedObjects BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrInput `pulumi:"sseKmsEncryptedObjects"`
}

func (BucketReplicationSourceSelectionCriteriaArgs) ElementType

func (BucketReplicationSourceSelectionCriteriaArgs) ToBucketReplicationSourceSelectionCriteriaOutput

func (i BucketReplicationSourceSelectionCriteriaArgs) ToBucketReplicationSourceSelectionCriteriaOutput() BucketReplicationSourceSelectionCriteriaOutput

func (BucketReplicationSourceSelectionCriteriaArgs) ToBucketReplicationSourceSelectionCriteriaOutputWithContext

func (i BucketReplicationSourceSelectionCriteriaArgs) ToBucketReplicationSourceSelectionCriteriaOutputWithContext(ctx context.Context) BucketReplicationSourceSelectionCriteriaOutput

func (BucketReplicationSourceSelectionCriteriaArgs) ToBucketReplicationSourceSelectionCriteriaPtrOutput

func (i BucketReplicationSourceSelectionCriteriaArgs) ToBucketReplicationSourceSelectionCriteriaPtrOutput() BucketReplicationSourceSelectionCriteriaPtrOutput

func (BucketReplicationSourceSelectionCriteriaArgs) ToBucketReplicationSourceSelectionCriteriaPtrOutputWithContext

func (i BucketReplicationSourceSelectionCriteriaArgs) ToBucketReplicationSourceSelectionCriteriaPtrOutputWithContext(ctx context.Context) BucketReplicationSourceSelectionCriteriaPtrOutput

type BucketReplicationSourceSelectionCriteriaInput

type BucketReplicationSourceSelectionCriteriaInput interface {
	pulumi.Input

	ToBucketReplicationSourceSelectionCriteriaOutput() BucketReplicationSourceSelectionCriteriaOutput
	ToBucketReplicationSourceSelectionCriteriaOutputWithContext(context.Context) BucketReplicationSourceSelectionCriteriaOutput
}

BucketReplicationSourceSelectionCriteriaInput is an input type that accepts BucketReplicationSourceSelectionCriteriaArgs and BucketReplicationSourceSelectionCriteriaOutput values. You can construct a concrete instance of `BucketReplicationSourceSelectionCriteriaInput` via:

BucketReplicationSourceSelectionCriteriaArgs{...}

type BucketReplicationSourceSelectionCriteriaOutput

type BucketReplicationSourceSelectionCriteriaOutput struct{ *pulumi.OutputState }

func (BucketReplicationSourceSelectionCriteriaOutput) ElementType

func (BucketReplicationSourceSelectionCriteriaOutput) SseKmsEncryptedObjects

Filter source objects encrypted by using SSE-KMS(See the following block `sseKmsEncryptedObjects`).

func (BucketReplicationSourceSelectionCriteriaOutput) ToBucketReplicationSourceSelectionCriteriaOutput

func (o BucketReplicationSourceSelectionCriteriaOutput) ToBucketReplicationSourceSelectionCriteriaOutput() BucketReplicationSourceSelectionCriteriaOutput

func (BucketReplicationSourceSelectionCriteriaOutput) ToBucketReplicationSourceSelectionCriteriaOutputWithContext

func (o BucketReplicationSourceSelectionCriteriaOutput) ToBucketReplicationSourceSelectionCriteriaOutputWithContext(ctx context.Context) BucketReplicationSourceSelectionCriteriaOutput

func (BucketReplicationSourceSelectionCriteriaOutput) ToBucketReplicationSourceSelectionCriteriaPtrOutput

func (o BucketReplicationSourceSelectionCriteriaOutput) ToBucketReplicationSourceSelectionCriteriaPtrOutput() BucketReplicationSourceSelectionCriteriaPtrOutput

func (BucketReplicationSourceSelectionCriteriaOutput) ToBucketReplicationSourceSelectionCriteriaPtrOutputWithContext

func (o BucketReplicationSourceSelectionCriteriaOutput) ToBucketReplicationSourceSelectionCriteriaPtrOutputWithContext(ctx context.Context) BucketReplicationSourceSelectionCriteriaPtrOutput

type BucketReplicationSourceSelectionCriteriaPtrInput

type BucketReplicationSourceSelectionCriteriaPtrInput interface {
	pulumi.Input

	ToBucketReplicationSourceSelectionCriteriaPtrOutput() BucketReplicationSourceSelectionCriteriaPtrOutput
	ToBucketReplicationSourceSelectionCriteriaPtrOutputWithContext(context.Context) BucketReplicationSourceSelectionCriteriaPtrOutput
}

BucketReplicationSourceSelectionCriteriaPtrInput is an input type that accepts BucketReplicationSourceSelectionCriteriaArgs, BucketReplicationSourceSelectionCriteriaPtr and BucketReplicationSourceSelectionCriteriaPtrOutput values. You can construct a concrete instance of `BucketReplicationSourceSelectionCriteriaPtrInput` via:

        BucketReplicationSourceSelectionCriteriaArgs{...}

or:

        nil

type BucketReplicationSourceSelectionCriteriaPtrOutput

type BucketReplicationSourceSelectionCriteriaPtrOutput struct{ *pulumi.OutputState }

func (BucketReplicationSourceSelectionCriteriaPtrOutput) Elem

func (BucketReplicationSourceSelectionCriteriaPtrOutput) ElementType

func (BucketReplicationSourceSelectionCriteriaPtrOutput) SseKmsEncryptedObjects

Filter source objects encrypted by using SSE-KMS(See the following block `sseKmsEncryptedObjects`).

func (BucketReplicationSourceSelectionCriteriaPtrOutput) ToBucketReplicationSourceSelectionCriteriaPtrOutput

func (o BucketReplicationSourceSelectionCriteriaPtrOutput) ToBucketReplicationSourceSelectionCriteriaPtrOutput() BucketReplicationSourceSelectionCriteriaPtrOutput

func (BucketReplicationSourceSelectionCriteriaPtrOutput) ToBucketReplicationSourceSelectionCriteriaPtrOutputWithContext

func (o BucketReplicationSourceSelectionCriteriaPtrOutput) ToBucketReplicationSourceSelectionCriteriaPtrOutputWithContext(ctx context.Context) BucketReplicationSourceSelectionCriteriaPtrOutput

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjects

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjects struct {
	// Specifies whether to replicate objects encrypted by using SSE-KMS. Can be `Enabled` or `Disabled`.
	Status *string `pulumi:"status"`
}

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs struct {
	// Specifies whether to replicate objects encrypted by using SSE-KMS. Can be `Enabled` or `Disabled`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs) ElementType

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutputWithContext

func (i BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutputWithContext(ctx context.Context) BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutputWithContext

func (i BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutputWithContext(ctx context.Context) BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsInput

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsInput interface {
	pulumi.Input

	ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput() BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput
	ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutputWithContext(context.Context) BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput
}

BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsInput is an input type that accepts BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs and BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput values. You can construct a concrete instance of `BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsInput` via:

BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs{...}

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput struct{ *pulumi.OutputState }

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput) ElementType

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput) Status

Specifies whether to replicate objects encrypted by using SSE-KMS. Can be `Enabled` or `Disabled`.

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutputWithContext

func (o BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutputWithContext(ctx context.Context) BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutputWithContext

func (o BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsOutput) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutputWithContext(ctx context.Context) BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrInput

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrInput interface {
	pulumi.Input

	ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput() BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput
	ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutputWithContext(context.Context) BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput
}

BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrInput is an input type that accepts BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs, BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtr and BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput values. You can construct a concrete instance of `BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrInput` via:

        BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs{...}

or:

        nil

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput

type BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput struct{ *pulumi.OutputState }

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput) Elem

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput) ElementType

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput) Status

Specifies whether to replicate objects encrypted by using SSE-KMS. Can be `Enabled` or `Disabled`.

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput

func (BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutputWithContext

func (o BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput) ToBucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutputWithContext(ctx context.Context) BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsPtrOutput

type BucketReplicationState

type BucketReplicationState struct {
	// The operations that can be synchronized to the destination bucket. You can set action to one or more of the following operation types. Valid values: `ALL`(contains PUT, DELETE, and ABORT), `PUT`, `DELETE` and `ABORT`. Defaults to `ALL`.
	Action pulumi.StringPtrInput
	// The name of the bucket.
	Bucket pulumi.StringPtrInput
	// Specifies the destination for the rule(See the following block `destination`).
	Destination BucketReplicationDestinationPtrInput
	// Specifies the encryption configuration for the objects replicated to the destination bucket(See the following block `encryptionConfiguration`).
	EncryptionConfiguration BucketReplicationEncryptionConfigurationPtrInput
	// Specifies whether to replicate historical data from the source bucket to the destination bucket before data replication is enabled. Can be `enabled` or `disabled`. Defaults to `enabled`.
	HistoricalObjectReplication pulumi.StringPtrInput
	// The prefixes used to specify the object to replicate. Only objects that match the prefix are replicated to the destination bucket(See the following block `prefixSet`).
	PrefixSet BucketReplicationPrefixSetPtrInput
	// Retrieves the progress of the data replication task. This status is returned only when the data replication task is in the doing state.
	Progress BucketReplicationProgressPtrInput
	// The ID of the data replication rule.
	RuleId pulumi.StringPtrInput
	// Specifies other conditions used to filter the source objects to replicate(See the following block `sourceSelectionCriteria`).
	SourceSelectionCriteria BucketReplicationSourceSelectionCriteriaPtrInput
	// Specifies whether to replicate objects encrypted by using SSE-KMS. Can be `Enabled` or `Disabled`.
	Status pulumi.StringPtrInput
	// Specifies the role that you authorize OSS to use to replicate data. If SSE-KMS is specified to encrypt the objects replicated to the destination bucket, it must be specified.
	SyncRole pulumi.StringPtrInput
}

func (BucketReplicationState) ElementType

func (BucketReplicationState) ElementType() reflect.Type

type BucketServerSideEncryptionRule

type BucketServerSideEncryptionRule struct {
	// The alibaba cloud KMS master key ID used for the SSE-KMS encryption.
	KmsMasterKeyId *string `pulumi:"kmsMasterKeyId"`
	// The server-side encryption algorithm to use. Possible values: `AES256` and `KMS`.
	SseAlgorithm string `pulumi:"sseAlgorithm"`
}

type BucketServerSideEncryptionRuleArgs

type BucketServerSideEncryptionRuleArgs struct {
	// The alibaba cloud KMS master key ID used for the SSE-KMS encryption.
	KmsMasterKeyId pulumi.StringPtrInput `pulumi:"kmsMasterKeyId"`
	// The server-side encryption algorithm to use. Possible values: `AES256` and `KMS`.
	SseAlgorithm pulumi.StringInput `pulumi:"sseAlgorithm"`
}

func (BucketServerSideEncryptionRuleArgs) ElementType

func (BucketServerSideEncryptionRuleArgs) ToBucketServerSideEncryptionRuleOutput

func (i BucketServerSideEncryptionRuleArgs) ToBucketServerSideEncryptionRuleOutput() BucketServerSideEncryptionRuleOutput

func (BucketServerSideEncryptionRuleArgs) ToBucketServerSideEncryptionRuleOutputWithContext

func (i BucketServerSideEncryptionRuleArgs) ToBucketServerSideEncryptionRuleOutputWithContext(ctx context.Context) BucketServerSideEncryptionRuleOutput

func (BucketServerSideEncryptionRuleArgs) ToBucketServerSideEncryptionRulePtrOutput

func (i BucketServerSideEncryptionRuleArgs) ToBucketServerSideEncryptionRulePtrOutput() BucketServerSideEncryptionRulePtrOutput

func (BucketServerSideEncryptionRuleArgs) ToBucketServerSideEncryptionRulePtrOutputWithContext

func (i BucketServerSideEncryptionRuleArgs) ToBucketServerSideEncryptionRulePtrOutputWithContext(ctx context.Context) BucketServerSideEncryptionRulePtrOutput

type BucketServerSideEncryptionRuleInput

type BucketServerSideEncryptionRuleInput interface {
	pulumi.Input

	ToBucketServerSideEncryptionRuleOutput() BucketServerSideEncryptionRuleOutput
	ToBucketServerSideEncryptionRuleOutputWithContext(context.Context) BucketServerSideEncryptionRuleOutput
}

BucketServerSideEncryptionRuleInput is an input type that accepts BucketServerSideEncryptionRuleArgs and BucketServerSideEncryptionRuleOutput values. You can construct a concrete instance of `BucketServerSideEncryptionRuleInput` via:

BucketServerSideEncryptionRuleArgs{...}

type BucketServerSideEncryptionRuleOutput

type BucketServerSideEncryptionRuleOutput struct{ *pulumi.OutputState }

func (BucketServerSideEncryptionRuleOutput) ElementType

func (BucketServerSideEncryptionRuleOutput) KmsMasterKeyId

The alibaba cloud KMS master key ID used for the SSE-KMS encryption.

func (BucketServerSideEncryptionRuleOutput) SseAlgorithm

The server-side encryption algorithm to use. Possible values: `AES256` and `KMS`.

func (BucketServerSideEncryptionRuleOutput) ToBucketServerSideEncryptionRuleOutput

func (o BucketServerSideEncryptionRuleOutput) ToBucketServerSideEncryptionRuleOutput() BucketServerSideEncryptionRuleOutput

func (BucketServerSideEncryptionRuleOutput) ToBucketServerSideEncryptionRuleOutputWithContext

func (o BucketServerSideEncryptionRuleOutput) ToBucketServerSideEncryptionRuleOutputWithContext(ctx context.Context) BucketServerSideEncryptionRuleOutput

func (BucketServerSideEncryptionRuleOutput) ToBucketServerSideEncryptionRulePtrOutput

func (o BucketServerSideEncryptionRuleOutput) ToBucketServerSideEncryptionRulePtrOutput() BucketServerSideEncryptionRulePtrOutput

func (BucketServerSideEncryptionRuleOutput) ToBucketServerSideEncryptionRulePtrOutputWithContext

func (o BucketServerSideEncryptionRuleOutput) ToBucketServerSideEncryptionRulePtrOutputWithContext(ctx context.Context) BucketServerSideEncryptionRulePtrOutput

type BucketServerSideEncryptionRulePtrInput

type BucketServerSideEncryptionRulePtrInput interface {
	pulumi.Input

	ToBucketServerSideEncryptionRulePtrOutput() BucketServerSideEncryptionRulePtrOutput
	ToBucketServerSideEncryptionRulePtrOutputWithContext(context.Context) BucketServerSideEncryptionRulePtrOutput
}

BucketServerSideEncryptionRulePtrInput is an input type that accepts BucketServerSideEncryptionRuleArgs, BucketServerSideEncryptionRulePtr and BucketServerSideEncryptionRulePtrOutput values. You can construct a concrete instance of `BucketServerSideEncryptionRulePtrInput` via:

        BucketServerSideEncryptionRuleArgs{...}

or:

        nil

type BucketServerSideEncryptionRulePtrOutput

type BucketServerSideEncryptionRulePtrOutput struct{ *pulumi.OutputState }

func (BucketServerSideEncryptionRulePtrOutput) Elem

func (BucketServerSideEncryptionRulePtrOutput) ElementType

func (BucketServerSideEncryptionRulePtrOutput) KmsMasterKeyId

The alibaba cloud KMS master key ID used for the SSE-KMS encryption.

func (BucketServerSideEncryptionRulePtrOutput) SseAlgorithm

The server-side encryption algorithm to use. Possible values: `AES256` and `KMS`.

func (BucketServerSideEncryptionRulePtrOutput) ToBucketServerSideEncryptionRulePtrOutput

func (o BucketServerSideEncryptionRulePtrOutput) ToBucketServerSideEncryptionRulePtrOutput() BucketServerSideEncryptionRulePtrOutput

func (BucketServerSideEncryptionRulePtrOutput) ToBucketServerSideEncryptionRulePtrOutputWithContext

func (o BucketServerSideEncryptionRulePtrOutput) ToBucketServerSideEncryptionRulePtrOutputWithContext(ctx context.Context) BucketServerSideEncryptionRulePtrOutput

type BucketState

type BucketState struct {
	// The [canned ACL](https://www.alibabacloud.com/help/doc-detail/31898.htm) to apply. Can be "private", "public-read" and "public-read-write". Defaults to "private".
	Acl    pulumi.StringPtrInput
	Bucket pulumi.StringPtrInput
	// A rule of [Cross-Origin Resource Sharing](https://www.alibabacloud.com/help/doc-detail/31903.htm) (documented below). The items of core rule are no more than 10 for every OSS bucket.
	CorsRules BucketCorsRuleArrayInput
	// The creation date of the bucket.
	CreationDate pulumi.StringPtrInput
	// The extranet access endpoint of the bucket.
	ExtranetEndpoint pulumi.StringPtrInput
	// 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".
	ForceDestroy pulumi.BoolPtrInput
	// The intranet access endpoint of the bucket.
	IntranetEndpoint pulumi.StringPtrInput
	// A configuration of [object lifecycle management](https://www.alibabacloud.com/help/doc-detail/31904.htm) (documented below).
	LifecycleRules BucketLifecycleRuleArrayInput
	// The location of the bucket.
	Location pulumi.StringPtrInput
	// A Settings of [bucket logging](https://www.alibabacloud.com/help/doc-detail/31900.htm) (documented below).
	Logging BucketLoggingPtrInput
	// The flag of using logging enable container. Defaults true.
	//
	// Deprecated: Deprecated from 1.37.0. When `logging` is set, the bucket logging will be able.
	LoggingIsenable pulumi.BoolPtrInput
	// The bucket owner.
	Owner pulumi.StringPtrInput
	// Json format text of bucket policy [bucket policy management](https://www.alibabacloud.com/help/doc-detail/100680.htm).
	Policy pulumi.StringPtrInput
	// The [redundancy type](https://www.alibabacloud.com/help/doc-detail/90589.htm) to enable. Can be "LRS", and "ZRS". Defaults to "LRS".
	RedundancyType pulumi.StringPtrInput
	// The configuration of [referer](https://www.alibabacloud.com/help/doc-detail/31901.htm) (documented below).
	RefererConfig BucketRefererConfigPtrInput
	// A configuration of server-side encryption (documented below).
	ServerSideEncryptionRule BucketServerSideEncryptionRulePtrInput
	// 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`.
	StorageClass pulumi.StringPtrInput
	// A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.
	Tags pulumi.MapInput
	// A transfer acceleration status of a bucket (documented below).
	TransferAcceleration BucketTransferAccelerationPtrInput
	// A state of versioning (documented below).
	Versioning BucketVersioningPtrInput
	// A website object(documented below).
	Website BucketWebsitePtrInput
}

func (BucketState) ElementType

func (BucketState) ElementType() reflect.Type

type BucketTransferAcceleration

type BucketTransferAcceleration struct {
	// Specifies the accelerate status of a bucket.
	Enabled bool `pulumi:"enabled"`
}

type BucketTransferAccelerationArgs

type BucketTransferAccelerationArgs struct {
	// Specifies the accelerate status of a bucket.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
}

func (BucketTransferAccelerationArgs) ElementType

func (BucketTransferAccelerationArgs) ToBucketTransferAccelerationOutput

func (i BucketTransferAccelerationArgs) ToBucketTransferAccelerationOutput() BucketTransferAccelerationOutput

func (BucketTransferAccelerationArgs) ToBucketTransferAccelerationOutputWithContext

func (i BucketTransferAccelerationArgs) ToBucketTransferAccelerationOutputWithContext(ctx context.Context) BucketTransferAccelerationOutput

func (BucketTransferAccelerationArgs) ToBucketTransferAccelerationPtrOutput

func (i BucketTransferAccelerationArgs) ToBucketTransferAccelerationPtrOutput() BucketTransferAccelerationPtrOutput

func (BucketTransferAccelerationArgs) ToBucketTransferAccelerationPtrOutputWithContext

func (i BucketTransferAccelerationArgs) ToBucketTransferAccelerationPtrOutputWithContext(ctx context.Context) BucketTransferAccelerationPtrOutput

type BucketTransferAccelerationInput

type BucketTransferAccelerationInput interface {
	pulumi.Input

	ToBucketTransferAccelerationOutput() BucketTransferAccelerationOutput
	ToBucketTransferAccelerationOutputWithContext(context.Context) BucketTransferAccelerationOutput
}

BucketTransferAccelerationInput is an input type that accepts BucketTransferAccelerationArgs and BucketTransferAccelerationOutput values. You can construct a concrete instance of `BucketTransferAccelerationInput` via:

BucketTransferAccelerationArgs{...}

type BucketTransferAccelerationOutput

type BucketTransferAccelerationOutput struct{ *pulumi.OutputState }

func (BucketTransferAccelerationOutput) ElementType

func (BucketTransferAccelerationOutput) Enabled

Specifies the accelerate status of a bucket.

func (BucketTransferAccelerationOutput) ToBucketTransferAccelerationOutput

func (o BucketTransferAccelerationOutput) ToBucketTransferAccelerationOutput() BucketTransferAccelerationOutput

func (BucketTransferAccelerationOutput) ToBucketTransferAccelerationOutputWithContext

func (o BucketTransferAccelerationOutput) ToBucketTransferAccelerationOutputWithContext(ctx context.Context) BucketTransferAccelerationOutput

func (BucketTransferAccelerationOutput) ToBucketTransferAccelerationPtrOutput

func (o BucketTransferAccelerationOutput) ToBucketTransferAccelerationPtrOutput() BucketTransferAccelerationPtrOutput

func (BucketTransferAccelerationOutput) ToBucketTransferAccelerationPtrOutputWithContext

func (o BucketTransferAccelerationOutput) ToBucketTransferAccelerationPtrOutputWithContext(ctx context.Context) BucketTransferAccelerationPtrOutput

type BucketTransferAccelerationPtrInput

type BucketTransferAccelerationPtrInput interface {
	pulumi.Input

	ToBucketTransferAccelerationPtrOutput() BucketTransferAccelerationPtrOutput
	ToBucketTransferAccelerationPtrOutputWithContext(context.Context) BucketTransferAccelerationPtrOutput
}

BucketTransferAccelerationPtrInput is an input type that accepts BucketTransferAccelerationArgs, BucketTransferAccelerationPtr and BucketTransferAccelerationPtrOutput values. You can construct a concrete instance of `BucketTransferAccelerationPtrInput` via:

        BucketTransferAccelerationArgs{...}

or:

        nil

type BucketTransferAccelerationPtrOutput

type BucketTransferAccelerationPtrOutput struct{ *pulumi.OutputState }

func (BucketTransferAccelerationPtrOutput) Elem

func (BucketTransferAccelerationPtrOutput) ElementType

func (BucketTransferAccelerationPtrOutput) Enabled

Specifies the accelerate status of a bucket.

func (BucketTransferAccelerationPtrOutput) ToBucketTransferAccelerationPtrOutput

func (o BucketTransferAccelerationPtrOutput) ToBucketTransferAccelerationPtrOutput() BucketTransferAccelerationPtrOutput

func (BucketTransferAccelerationPtrOutput) ToBucketTransferAccelerationPtrOutputWithContext

func (o BucketTransferAccelerationPtrOutput) ToBucketTransferAccelerationPtrOutputWithContext(ctx context.Context) BucketTransferAccelerationPtrOutput

type BucketVersioning

type BucketVersioning struct {
	// Specifies the versioning state of a bucket. Valid values: `Enabled` and `Suspended`.
	Status string `pulumi:"status"`
}

type BucketVersioningArgs

type BucketVersioningArgs struct {
	// Specifies the versioning state of a bucket. Valid values: `Enabled` and `Suspended`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (BucketVersioningArgs) ElementType

func (BucketVersioningArgs) ElementType() reflect.Type

func (BucketVersioningArgs) ToBucketVersioningOutput

func (i BucketVersioningArgs) ToBucketVersioningOutput() BucketVersioningOutput

func (BucketVersioningArgs) ToBucketVersioningOutputWithContext

func (i BucketVersioningArgs) ToBucketVersioningOutputWithContext(ctx context.Context) BucketVersioningOutput

func (BucketVersioningArgs) ToBucketVersioningPtrOutput

func (i BucketVersioningArgs) ToBucketVersioningPtrOutput() BucketVersioningPtrOutput

func (BucketVersioningArgs) ToBucketVersioningPtrOutputWithContext

func (i BucketVersioningArgs) ToBucketVersioningPtrOutputWithContext(ctx context.Context) BucketVersioningPtrOutput

type BucketVersioningInput

type BucketVersioningInput interface {
	pulumi.Input

	ToBucketVersioningOutput() BucketVersioningOutput
	ToBucketVersioningOutputWithContext(context.Context) BucketVersioningOutput
}

BucketVersioningInput is an input type that accepts BucketVersioningArgs and BucketVersioningOutput values. You can construct a concrete instance of `BucketVersioningInput` via:

BucketVersioningArgs{...}

type BucketVersioningOutput

type BucketVersioningOutput struct{ *pulumi.OutputState }

func (BucketVersioningOutput) ElementType

func (BucketVersioningOutput) ElementType() reflect.Type

func (BucketVersioningOutput) Status

Specifies the versioning state of a bucket. Valid values: `Enabled` and `Suspended`.

func (BucketVersioningOutput) ToBucketVersioningOutput

func (o BucketVersioningOutput) ToBucketVersioningOutput() BucketVersioningOutput

func (BucketVersioningOutput) ToBucketVersioningOutputWithContext

func (o BucketVersioningOutput) ToBucketVersioningOutputWithContext(ctx context.Context) BucketVersioningOutput

func (BucketVersioningOutput) ToBucketVersioningPtrOutput

func (o BucketVersioningOutput) ToBucketVersioningPtrOutput() BucketVersioningPtrOutput

func (BucketVersioningOutput) ToBucketVersioningPtrOutputWithContext

func (o BucketVersioningOutput) ToBucketVersioningPtrOutputWithContext(ctx context.Context) BucketVersioningPtrOutput

type BucketVersioningPtrInput

type BucketVersioningPtrInput interface {
	pulumi.Input

	ToBucketVersioningPtrOutput() BucketVersioningPtrOutput
	ToBucketVersioningPtrOutputWithContext(context.Context) BucketVersioningPtrOutput
}

BucketVersioningPtrInput is an input type that accepts BucketVersioningArgs, BucketVersioningPtr and BucketVersioningPtrOutput values. You can construct a concrete instance of `BucketVersioningPtrInput` via:

        BucketVersioningArgs{...}

or:

        nil

type BucketVersioningPtrOutput

type BucketVersioningPtrOutput struct{ *pulumi.OutputState }

func (BucketVersioningPtrOutput) Elem

func (BucketVersioningPtrOutput) ElementType

func (BucketVersioningPtrOutput) ElementType() reflect.Type

func (BucketVersioningPtrOutput) Status

Specifies the versioning state of a bucket. Valid values: `Enabled` and `Suspended`.

func (BucketVersioningPtrOutput) ToBucketVersioningPtrOutput

func (o BucketVersioningPtrOutput) ToBucketVersioningPtrOutput() BucketVersioningPtrOutput

func (BucketVersioningPtrOutput) ToBucketVersioningPtrOutputWithContext

func (o BucketVersioningPtrOutput) ToBucketVersioningPtrOutputWithContext(ctx context.Context) BucketVersioningPtrOutput

type BucketWebsite

type BucketWebsite struct {
	// An absolute path to the document to return in case of a 4XX error.
	ErrorDocument *string `pulumi:"errorDocument"`
	// Alicloud OSS returns this index document when requests are made to the root domain or any of the subfolders.
	IndexDocument string `pulumi:"indexDocument"`
}

type BucketWebsiteArgs

type BucketWebsiteArgs struct {
	// An absolute path to the document to return in case of a 4XX error.
	ErrorDocument pulumi.StringPtrInput `pulumi:"errorDocument"`
	// Alicloud OSS returns this index document when requests are made to the root domain or any of the subfolders.
	IndexDocument pulumi.StringInput `pulumi:"indexDocument"`
}

func (BucketWebsiteArgs) ElementType

func (BucketWebsiteArgs) ElementType() reflect.Type

func (BucketWebsiteArgs) ToBucketWebsiteOutput

func (i BucketWebsiteArgs) ToBucketWebsiteOutput() BucketWebsiteOutput

func (BucketWebsiteArgs) ToBucketWebsiteOutputWithContext

func (i BucketWebsiteArgs) ToBucketWebsiteOutputWithContext(ctx context.Context) BucketWebsiteOutput

func (BucketWebsiteArgs) ToBucketWebsitePtrOutput

func (i BucketWebsiteArgs) ToBucketWebsitePtrOutput() BucketWebsitePtrOutput

func (BucketWebsiteArgs) ToBucketWebsitePtrOutputWithContext

func (i BucketWebsiteArgs) ToBucketWebsitePtrOutputWithContext(ctx context.Context) BucketWebsitePtrOutput

type BucketWebsiteInput

type BucketWebsiteInput interface {
	pulumi.Input

	ToBucketWebsiteOutput() BucketWebsiteOutput
	ToBucketWebsiteOutputWithContext(context.Context) BucketWebsiteOutput
}

BucketWebsiteInput is an input type that accepts BucketWebsiteArgs and BucketWebsiteOutput values. You can construct a concrete instance of `BucketWebsiteInput` via:

BucketWebsiteArgs{...}

type BucketWebsiteOutput

type BucketWebsiteOutput struct{ *pulumi.OutputState }

func (BucketWebsiteOutput) ElementType

func (BucketWebsiteOutput) ElementType() reflect.Type

func (BucketWebsiteOutput) ErrorDocument

func (o BucketWebsiteOutput) ErrorDocument() pulumi.StringPtrOutput

An absolute path to the document to return in case of a 4XX error.

func (BucketWebsiteOutput) IndexDocument

func (o BucketWebsiteOutput) IndexDocument() pulumi.StringOutput

Alicloud OSS returns this index document when requests are made to the root domain or any of the subfolders.

func (BucketWebsiteOutput) ToBucketWebsiteOutput

func (o BucketWebsiteOutput) ToBucketWebsiteOutput() BucketWebsiteOutput

func (BucketWebsiteOutput) ToBucketWebsiteOutputWithContext

func (o BucketWebsiteOutput) ToBucketWebsiteOutputWithContext(ctx context.Context) BucketWebsiteOutput

func (BucketWebsiteOutput) ToBucketWebsitePtrOutput

func (o BucketWebsiteOutput) ToBucketWebsitePtrOutput() BucketWebsitePtrOutput

func (BucketWebsiteOutput) ToBucketWebsitePtrOutputWithContext

func (o BucketWebsiteOutput) ToBucketWebsitePtrOutputWithContext(ctx context.Context) BucketWebsitePtrOutput

type BucketWebsitePtrInput

type BucketWebsitePtrInput interface {
	pulumi.Input

	ToBucketWebsitePtrOutput() BucketWebsitePtrOutput
	ToBucketWebsitePtrOutputWithContext(context.Context) BucketWebsitePtrOutput
}

BucketWebsitePtrInput is an input type that accepts BucketWebsiteArgs, BucketWebsitePtr and BucketWebsitePtrOutput values. You can construct a concrete instance of `BucketWebsitePtrInput` via:

        BucketWebsiteArgs{...}

or:

        nil

type BucketWebsitePtrOutput

type BucketWebsitePtrOutput struct{ *pulumi.OutputState }

func (BucketWebsitePtrOutput) Elem

func (BucketWebsitePtrOutput) ElementType

func (BucketWebsitePtrOutput) ElementType() reflect.Type

func (BucketWebsitePtrOutput) ErrorDocument

func (o BucketWebsitePtrOutput) ErrorDocument() pulumi.StringPtrOutput

An absolute path to the document to return in case of a 4XX error.

func (BucketWebsitePtrOutput) IndexDocument

func (o BucketWebsitePtrOutput) IndexDocument() pulumi.StringPtrOutput

Alicloud OSS returns this index document when requests are made to the root domain or any of the subfolders.

func (BucketWebsitePtrOutput) ToBucketWebsitePtrOutput

func (o BucketWebsitePtrOutput) ToBucketWebsitePtrOutput() BucketWebsitePtrOutput

func (BucketWebsitePtrOutput) ToBucketWebsitePtrOutputWithContext

func (o BucketWebsitePtrOutput) ToBucketWebsitePtrOutputWithContext(ctx context.Context) BucketWebsitePtrOutput

type GetBucketObjectsArgs

type GetBucketObjectsArgs struct {
	// Name of the bucket that contains the objects to find.
	BucketName string `pulumi:"bucketName"`
	// Filter results by the given key prefix (such as "path/to/folder/logs-").
	KeyPrefix *string `pulumi:"keyPrefix"`
	// A regex string to filter results by key.
	KeyRegex   *string `pulumi:"keyRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getBucketObjects.

type GetBucketObjectsObject

type GetBucketObjectsObject struct {
	// Object access control list. Possible values: `default`, `private`, `public-read` and `public-read-write`.
	Acl string `pulumi:"acl"`
	// Caching behavior along the request/reply chain. Read [RFC2616 Cache-Control](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	CacheControl string `pulumi:"cacheControl"`
	// Presentational information for the object. Read [RFC2616 Content-Disposition](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	ContentDisposition string `pulumi:"contentDisposition"`
	// Content encodings that have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [RFC2616 Content-Encoding](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	ContentEncoding string `pulumi:"contentEncoding"`
	// Size of the object in bytes.
	ContentLength string `pulumi:"contentLength"`
	// MD5 value of the content. Read [MD5](https://www.alibabacloud.com/help/doc-detail/31978.htm) for computing method.
	ContentMd5 string `pulumi:"contentMd5"`
	// Standard MIME type describing the format of the object data, e.g. "application/octet-stream".
	ContentType string `pulumi:"contentType"`
	// ETag generated for the object (MD5 sum of the object content).
	Etag string `pulumi:"etag"`
	// Expiration date for the the request/response. Read [RFC2616 Expires](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	Expires string `pulumi:"expires"`
	// Object key.
	Key string `pulumi:"key"`
	// Last modification time of the object.
	LastModificationTime string `pulumi:"lastModificationTime"`
	// Server-side encryption of the object in OSS. It can be empty or `AES256`.
	ServerSideEncryption string `pulumi:"serverSideEncryption"`
	// If present, specifies the ID of the Key Management Service(KMS) master encryption key that was used for the object.
	SseKmsKeyId string `pulumi:"sseKmsKeyId"`
	// Object storage type. Possible values: `Standard`, `IA` and `Archive`.
	StorageClass string `pulumi:"storageClass"`
}

type GetBucketObjectsObjectArgs

type GetBucketObjectsObjectArgs struct {
	// Object access control list. Possible values: `default`, `private`, `public-read` and `public-read-write`.
	Acl pulumi.StringInput `pulumi:"acl"`
	// Caching behavior along the request/reply chain. Read [RFC2616 Cache-Control](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	CacheControl pulumi.StringInput `pulumi:"cacheControl"`
	// Presentational information for the object. Read [RFC2616 Content-Disposition](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	ContentDisposition pulumi.StringInput `pulumi:"contentDisposition"`
	// Content encodings that have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [RFC2616 Content-Encoding](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	ContentEncoding pulumi.StringInput `pulumi:"contentEncoding"`
	// Size of the object in bytes.
	ContentLength pulumi.StringInput `pulumi:"contentLength"`
	// MD5 value of the content. Read [MD5](https://www.alibabacloud.com/help/doc-detail/31978.htm) for computing method.
	ContentMd5 pulumi.StringInput `pulumi:"contentMd5"`
	// Standard MIME type describing the format of the object data, e.g. "application/octet-stream".
	ContentType pulumi.StringInput `pulumi:"contentType"`
	// ETag generated for the object (MD5 sum of the object content).
	Etag pulumi.StringInput `pulumi:"etag"`
	// Expiration date for the the request/response. Read [RFC2616 Expires](https://www.ietf.org/rfc/rfc2616.txt) for further details.
	Expires pulumi.StringInput `pulumi:"expires"`
	// Object key.
	Key pulumi.StringInput `pulumi:"key"`
	// Last modification time of the object.
	LastModificationTime pulumi.StringInput `pulumi:"lastModificationTime"`
	// Server-side encryption of the object in OSS. It can be empty or `AES256`.
	ServerSideEncryption pulumi.StringInput `pulumi:"serverSideEncryption"`
	// If present, specifies the ID of the Key Management Service(KMS) master encryption key that was used for the object.
	SseKmsKeyId pulumi.StringInput `pulumi:"sseKmsKeyId"`
	// Object storage type. Possible values: `Standard`, `IA` and `Archive`.
	StorageClass pulumi.StringInput `pulumi:"storageClass"`
}

func (GetBucketObjectsObjectArgs) ElementType

func (GetBucketObjectsObjectArgs) ElementType() reflect.Type

func (GetBucketObjectsObjectArgs) ToGetBucketObjectsObjectOutput

func (i GetBucketObjectsObjectArgs) ToGetBucketObjectsObjectOutput() GetBucketObjectsObjectOutput

func (GetBucketObjectsObjectArgs) ToGetBucketObjectsObjectOutputWithContext

func (i GetBucketObjectsObjectArgs) ToGetBucketObjectsObjectOutputWithContext(ctx context.Context) GetBucketObjectsObjectOutput

type GetBucketObjectsObjectArray

type GetBucketObjectsObjectArray []GetBucketObjectsObjectInput

func (GetBucketObjectsObjectArray) ElementType

func (GetBucketObjectsObjectArray) ToGetBucketObjectsObjectArrayOutput

func (i GetBucketObjectsObjectArray) ToGetBucketObjectsObjectArrayOutput() GetBucketObjectsObjectArrayOutput

func (GetBucketObjectsObjectArray) ToGetBucketObjectsObjectArrayOutputWithContext

func (i GetBucketObjectsObjectArray) ToGetBucketObjectsObjectArrayOutputWithContext(ctx context.Context) GetBucketObjectsObjectArrayOutput

type GetBucketObjectsObjectArrayInput

type GetBucketObjectsObjectArrayInput interface {
	pulumi.Input

	ToGetBucketObjectsObjectArrayOutput() GetBucketObjectsObjectArrayOutput
	ToGetBucketObjectsObjectArrayOutputWithContext(context.Context) GetBucketObjectsObjectArrayOutput
}

GetBucketObjectsObjectArrayInput is an input type that accepts GetBucketObjectsObjectArray and GetBucketObjectsObjectArrayOutput values. You can construct a concrete instance of `GetBucketObjectsObjectArrayInput` via:

GetBucketObjectsObjectArray{ GetBucketObjectsObjectArgs{...} }

type GetBucketObjectsObjectArrayOutput

type GetBucketObjectsObjectArrayOutput struct{ *pulumi.OutputState }

func (GetBucketObjectsObjectArrayOutput) ElementType

func (GetBucketObjectsObjectArrayOutput) Index

func (GetBucketObjectsObjectArrayOutput) ToGetBucketObjectsObjectArrayOutput

func (o GetBucketObjectsObjectArrayOutput) ToGetBucketObjectsObjectArrayOutput() GetBucketObjectsObjectArrayOutput

func (GetBucketObjectsObjectArrayOutput) ToGetBucketObjectsObjectArrayOutputWithContext

func (o GetBucketObjectsObjectArrayOutput) ToGetBucketObjectsObjectArrayOutputWithContext(ctx context.Context) GetBucketObjectsObjectArrayOutput

type GetBucketObjectsObjectInput

type GetBucketObjectsObjectInput interface {
	pulumi.Input

	ToGetBucketObjectsObjectOutput() GetBucketObjectsObjectOutput
	ToGetBucketObjectsObjectOutputWithContext(context.Context) GetBucketObjectsObjectOutput
}

GetBucketObjectsObjectInput is an input type that accepts GetBucketObjectsObjectArgs and GetBucketObjectsObjectOutput values. You can construct a concrete instance of `GetBucketObjectsObjectInput` via:

GetBucketObjectsObjectArgs{...}

type GetBucketObjectsObjectOutput

type GetBucketObjectsObjectOutput struct{ *pulumi.OutputState }

func (GetBucketObjectsObjectOutput) Acl

Object access control list. Possible values: `default`, `private`, `public-read` and `public-read-write`.

func (GetBucketObjectsObjectOutput) CacheControl

Caching behavior along the request/reply chain. Read [RFC2616 Cache-Control](https://www.ietf.org/rfc/rfc2616.txt) for further details.

func (GetBucketObjectsObjectOutput) ContentDisposition

func (o GetBucketObjectsObjectOutput) ContentDisposition() pulumi.StringOutput

Presentational information for the object. Read [RFC2616 Content-Disposition](https://www.ietf.org/rfc/rfc2616.txt) for further details.

func (GetBucketObjectsObjectOutput) ContentEncoding

func (o GetBucketObjectsObjectOutput) ContentEncoding() pulumi.StringOutput

Content encodings that have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [RFC2616 Content-Encoding](https://www.ietf.org/rfc/rfc2616.txt) for further details.

func (GetBucketObjectsObjectOutput) ContentLength

Size of the object in bytes.

func (GetBucketObjectsObjectOutput) ContentMd5

MD5 value of the content. Read [MD5](https://www.alibabacloud.com/help/doc-detail/31978.htm) for computing method.

func (GetBucketObjectsObjectOutput) ContentType

Standard MIME type describing the format of the object data, e.g. "application/octet-stream".

func (GetBucketObjectsObjectOutput) ElementType

func (GetBucketObjectsObjectOutput) Etag

ETag generated for the object (MD5 sum of the object content).

func (GetBucketObjectsObjectOutput) Expires

Expiration date for the the request/response. Read [RFC2616 Expires](https://www.ietf.org/rfc/rfc2616.txt) for further details.

func (GetBucketObjectsObjectOutput) Key

Object key.

func (GetBucketObjectsObjectOutput) LastModificationTime

func (o GetBucketObjectsObjectOutput) LastModificationTime() pulumi.StringOutput

Last modification time of the object.

func (GetBucketObjectsObjectOutput) ServerSideEncryption

func (o GetBucketObjectsObjectOutput) ServerSideEncryption() pulumi.StringOutput

Server-side encryption of the object in OSS. It can be empty or `AES256`.

func (GetBucketObjectsObjectOutput) SseKmsKeyId

If present, specifies the ID of the Key Management Service(KMS) master encryption key that was used for the object.

func (GetBucketObjectsObjectOutput) StorageClass

Object storage type. Possible values: `Standard`, `IA` and `Archive`.

func (GetBucketObjectsObjectOutput) ToGetBucketObjectsObjectOutput

func (o GetBucketObjectsObjectOutput) ToGetBucketObjectsObjectOutput() GetBucketObjectsObjectOutput

func (GetBucketObjectsObjectOutput) ToGetBucketObjectsObjectOutputWithContext

func (o GetBucketObjectsObjectOutput) ToGetBucketObjectsObjectOutputWithContext(ctx context.Context) GetBucketObjectsObjectOutput

type GetBucketObjectsOutputArgs

type GetBucketObjectsOutputArgs struct {
	// Name of the bucket that contains the objects to find.
	BucketName pulumi.StringInput `pulumi:"bucketName"`
	// Filter results by the given key prefix (such as "path/to/folder/logs-").
	KeyPrefix pulumi.StringPtrInput `pulumi:"keyPrefix"`
	// A regex string to filter results by key.
	KeyRegex   pulumi.StringPtrInput `pulumi:"keyRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getBucketObjects.

func (GetBucketObjectsOutputArgs) ElementType

func (GetBucketObjectsOutputArgs) ElementType() reflect.Type

type GetBucketObjectsResult

type GetBucketObjectsResult struct {
	BucketName string `pulumi:"bucketName"`
	// The provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	KeyPrefix *string `pulumi:"keyPrefix"`
	KeyRegex  *string `pulumi:"keyRegex"`
	// A list of bucket objects. Each element contains the following attributes:
	Objects    []GetBucketObjectsObject `pulumi:"objects"`
	OutputFile *string                  `pulumi:"outputFile"`
}

A collection of values returned by getBucketObjects.

func GetBucketObjects

func GetBucketObjects(ctx *pulumi.Context, args *GetBucketObjectsArgs, opts ...pulumi.InvokeOption) (*GetBucketObjectsResult, error)

This data source provides the objects of an OSS bucket.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bucketObjectsDs, err := oss.GetBucketObjects(ctx, &oss.GetBucketObjectsArgs{
			BucketName: "sample_bucket",
			KeyRegex:   pulumi.StringRef("sample/sample_object.txt"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstObjectKey", bucketObjectsDs.Objects[0].Key)
		return nil
	})
}

```

type GetBucketObjectsResultOutput

type GetBucketObjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBucketObjects.

func (GetBucketObjectsResultOutput) BucketName

func (GetBucketObjectsResultOutput) ElementType

func (GetBucketObjectsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetBucketObjectsResultOutput) KeyPrefix

func (GetBucketObjectsResultOutput) KeyRegex

func (GetBucketObjectsResultOutput) Objects

A list of bucket objects. Each element contains the following attributes:

func (GetBucketObjectsResultOutput) OutputFile

func (GetBucketObjectsResultOutput) ToGetBucketObjectsResultOutput

func (o GetBucketObjectsResultOutput) ToGetBucketObjectsResultOutput() GetBucketObjectsResultOutput

func (GetBucketObjectsResultOutput) ToGetBucketObjectsResultOutputWithContext

func (o GetBucketObjectsResultOutput) ToGetBucketObjectsResultOutputWithContext(ctx context.Context) GetBucketObjectsResultOutput

type GetBucketsArgs

type GetBucketsArgs struct {
	// A regex string to filter results by bucket name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getBuckets.

type GetBucketsBucket

type GetBucketsBucket struct {
	// Bucket access control list. Possible values: `private`, `public-read` and `public-read-write`.
	Acl string `pulumi:"acl"`
	// A list of CORS rule configurations. Each element contains the following attributes:
	CorsRules []GetBucketsBucketCorsRule `pulumi:"corsRules"`
	// Bucket creation date.
	CreationDate string `pulumi:"creationDate"`
	// Internet domain name for accessing the bucket from outside.
	ExtranetEndpoint string `pulumi:"extranetEndpoint"`
	// Intranet domain name for accessing the bucket from an ECS instance in the same region.
	IntranetEndpoint string `pulumi:"intranetEndpoint"`
	// A list CORS of lifecycle configurations. When Lifecycle is enabled, OSS automatically deletes the objects or transitions the objects (to another storage class) corresponding the lifecycle rules on a regular basis. Each element contains the following attributes:
	LifecycleRules []GetBucketsBucketLifecycleRule `pulumi:"lifecycleRules"`
	// Region of the data center where the bucket is located.
	Location string `pulumi:"location"`
	// A list of one element containing configuration parameters used for storing access log information. It contains the following attributes:
	Logging GetBucketsBucketLogging `pulumi:"logging"`
	// Bucket name.
	Name string `pulumi:"name"`
	// Bucket owner.
	Owner  string  `pulumi:"owner"`
	Policy *string `pulumi:"policy"`
	// Redundancy type. Possible values: `LRS`, and `ZRS`.
	RedundancyType string `pulumi:"redundancyType"`
	// A list of one element containing referer configuration. It contains the following attributes:
	RefererConfig GetBucketsBucketRefererConfig `pulumi:"refererConfig"`
	// A configuration of default encryption for a bucket. It contains the following attributes:
	ServerSideEncryptionRule GetBucketsBucketServerSideEncryptionRule `pulumi:"serverSideEncryptionRule"`
	// Object storage type. Possible values: `Standard`, `IA` and `Archive`.
	StorageClass string `pulumi:"storageClass"`
	// A mapping of tags.
	Tags map[string]interface{} `pulumi:"tags"`
	// If present , the versioning state has been set on the bucket. It contains the following attribute.
	Versioning GetBucketsBucketVersioning `pulumi:"versioning"`
	// A list of one element containing configuration parameters used when the bucket is used as a website. It contains the following attributes:
	Website GetBucketsBucketWebsite `pulumi:"website"`
}

type GetBucketsBucketArgs

type GetBucketsBucketArgs struct {
	// Bucket access control list. Possible values: `private`, `public-read` and `public-read-write`.
	Acl pulumi.StringInput `pulumi:"acl"`
	// A list of CORS rule configurations. Each element contains the following attributes:
	CorsRules GetBucketsBucketCorsRuleArrayInput `pulumi:"corsRules"`
	// Bucket creation date.
	CreationDate pulumi.StringInput `pulumi:"creationDate"`
	// Internet domain name for accessing the bucket from outside.
	ExtranetEndpoint pulumi.StringInput `pulumi:"extranetEndpoint"`
	// Intranet domain name for accessing the bucket from an ECS instance in the same region.
	IntranetEndpoint pulumi.StringInput `pulumi:"intranetEndpoint"`
	// A list CORS of lifecycle configurations. When Lifecycle is enabled, OSS automatically deletes the objects or transitions the objects (to another storage class) corresponding the lifecycle rules on a regular basis. Each element contains the following attributes:
	LifecycleRules GetBucketsBucketLifecycleRuleArrayInput `pulumi:"lifecycleRules"`
	// Region of the data center where the bucket is located.
	Location pulumi.StringInput `pulumi:"location"`
	// A list of one element containing configuration parameters used for storing access log information. It contains the following attributes:
	Logging GetBucketsBucketLoggingInput `pulumi:"logging"`
	// Bucket name.
	Name pulumi.StringInput `pulumi:"name"`
	// Bucket owner.
	Owner  pulumi.StringInput    `pulumi:"owner"`
	Policy pulumi.StringPtrInput `pulumi:"policy"`
	// Redundancy type. Possible values: `LRS`, and `ZRS`.
	RedundancyType pulumi.StringInput `pulumi:"redundancyType"`
	// A list of one element containing referer configuration. It contains the following attributes:
	RefererConfig GetBucketsBucketRefererConfigInput `pulumi:"refererConfig"`
	// A configuration of default encryption for a bucket. It contains the following attributes:
	ServerSideEncryptionRule GetBucketsBucketServerSideEncryptionRuleInput `pulumi:"serverSideEncryptionRule"`
	// Object storage type. Possible values: `Standard`, `IA` and `Archive`.
	StorageClass pulumi.StringInput `pulumi:"storageClass"`
	// A mapping of tags.
	Tags pulumi.MapInput `pulumi:"tags"`
	// If present , the versioning state has been set on the bucket. It contains the following attribute.
	Versioning GetBucketsBucketVersioningInput `pulumi:"versioning"`
	// A list of one element containing configuration parameters used when the bucket is used as a website. It contains the following attributes:
	Website GetBucketsBucketWebsiteInput `pulumi:"website"`
}

func (GetBucketsBucketArgs) ElementType

func (GetBucketsBucketArgs) ElementType() reflect.Type

func (GetBucketsBucketArgs) ToGetBucketsBucketOutput

func (i GetBucketsBucketArgs) ToGetBucketsBucketOutput() GetBucketsBucketOutput

func (GetBucketsBucketArgs) ToGetBucketsBucketOutputWithContext

func (i GetBucketsBucketArgs) ToGetBucketsBucketOutputWithContext(ctx context.Context) GetBucketsBucketOutput

type GetBucketsBucketArray

type GetBucketsBucketArray []GetBucketsBucketInput

func (GetBucketsBucketArray) ElementType

func (GetBucketsBucketArray) ElementType() reflect.Type

func (GetBucketsBucketArray) ToGetBucketsBucketArrayOutput

func (i GetBucketsBucketArray) ToGetBucketsBucketArrayOutput() GetBucketsBucketArrayOutput

func (GetBucketsBucketArray) ToGetBucketsBucketArrayOutputWithContext

func (i GetBucketsBucketArray) ToGetBucketsBucketArrayOutputWithContext(ctx context.Context) GetBucketsBucketArrayOutput

type GetBucketsBucketArrayInput

type GetBucketsBucketArrayInput interface {
	pulumi.Input

	ToGetBucketsBucketArrayOutput() GetBucketsBucketArrayOutput
	ToGetBucketsBucketArrayOutputWithContext(context.Context) GetBucketsBucketArrayOutput
}

GetBucketsBucketArrayInput is an input type that accepts GetBucketsBucketArray and GetBucketsBucketArrayOutput values. You can construct a concrete instance of `GetBucketsBucketArrayInput` via:

GetBucketsBucketArray{ GetBucketsBucketArgs{...} }

type GetBucketsBucketArrayOutput

type GetBucketsBucketArrayOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketArrayOutput) ElementType

func (GetBucketsBucketArrayOutput) Index

func (GetBucketsBucketArrayOutput) ToGetBucketsBucketArrayOutput

func (o GetBucketsBucketArrayOutput) ToGetBucketsBucketArrayOutput() GetBucketsBucketArrayOutput

func (GetBucketsBucketArrayOutput) ToGetBucketsBucketArrayOutputWithContext

func (o GetBucketsBucketArrayOutput) ToGetBucketsBucketArrayOutputWithContext(ctx context.Context) GetBucketsBucketArrayOutput

type GetBucketsBucketCorsRule

type GetBucketsBucketCorsRule struct {
	// Control whether the headers specified by Access-Control-Request-Headers in the OPTIONS prefetch command are allowed. Each header specified by Access-Control-Request-Headers must match a value in AllowedHeader. Each rule allows up to one wildcard “*” .
	AllowedHeaders []string `pulumi:"allowedHeaders"`
	// Specify the allowed methods for cross-domain requests. Possible values: `GET`, `PUT`, `DELETE`, `POST` and `HEAD`.
	AllowedMethods []string `pulumi:"allowedMethods"`
	// The origins allowed for cross-domain requests. Multiple elements can be used to specify multiple allowed origins. Each rule allows up to one wildcard "\*". If "\*" is specified, cross-domain requests of all origins are allowed.
	AllowedOrigins []string `pulumi:"allowedOrigins"`
	// Specify the response headers allowing users to access from an application (for example, a Javascript XMLHttpRequest object). The wildcard "\*" is not allowed.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// Specify the cache time for the returned result of a browser prefetch (OPTIONS) request to a specific resource.
	MaxAgeSeconds int `pulumi:"maxAgeSeconds"`
}

type GetBucketsBucketCorsRuleArgs

type GetBucketsBucketCorsRuleArgs struct {
	// Control whether the headers specified by Access-Control-Request-Headers in the OPTIONS prefetch command are allowed. Each header specified by Access-Control-Request-Headers must match a value in AllowedHeader. Each rule allows up to one wildcard “*” .
	AllowedHeaders pulumi.StringArrayInput `pulumi:"allowedHeaders"`
	// Specify the allowed methods for cross-domain requests. Possible values: `GET`, `PUT`, `DELETE`, `POST` and `HEAD`.
	AllowedMethods pulumi.StringArrayInput `pulumi:"allowedMethods"`
	// The origins allowed for cross-domain requests. Multiple elements can be used to specify multiple allowed origins. Each rule allows up to one wildcard "\*". If "\*" is specified, cross-domain requests of all origins are allowed.
	AllowedOrigins pulumi.StringArrayInput `pulumi:"allowedOrigins"`
	// Specify the response headers allowing users to access from an application (for example, a Javascript XMLHttpRequest object). The wildcard "\*" is not allowed.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// Specify the cache time for the returned result of a browser prefetch (OPTIONS) request to a specific resource.
	MaxAgeSeconds pulumi.IntInput `pulumi:"maxAgeSeconds"`
}

func (GetBucketsBucketCorsRuleArgs) ElementType

func (GetBucketsBucketCorsRuleArgs) ToGetBucketsBucketCorsRuleOutput

func (i GetBucketsBucketCorsRuleArgs) ToGetBucketsBucketCorsRuleOutput() GetBucketsBucketCorsRuleOutput

func (GetBucketsBucketCorsRuleArgs) ToGetBucketsBucketCorsRuleOutputWithContext

func (i GetBucketsBucketCorsRuleArgs) ToGetBucketsBucketCorsRuleOutputWithContext(ctx context.Context) GetBucketsBucketCorsRuleOutput

type GetBucketsBucketCorsRuleArray

type GetBucketsBucketCorsRuleArray []GetBucketsBucketCorsRuleInput

func (GetBucketsBucketCorsRuleArray) ElementType

func (GetBucketsBucketCorsRuleArray) ToGetBucketsBucketCorsRuleArrayOutput

func (i GetBucketsBucketCorsRuleArray) ToGetBucketsBucketCorsRuleArrayOutput() GetBucketsBucketCorsRuleArrayOutput

func (GetBucketsBucketCorsRuleArray) ToGetBucketsBucketCorsRuleArrayOutputWithContext

func (i GetBucketsBucketCorsRuleArray) ToGetBucketsBucketCorsRuleArrayOutputWithContext(ctx context.Context) GetBucketsBucketCorsRuleArrayOutput

type GetBucketsBucketCorsRuleArrayInput

type GetBucketsBucketCorsRuleArrayInput interface {
	pulumi.Input

	ToGetBucketsBucketCorsRuleArrayOutput() GetBucketsBucketCorsRuleArrayOutput
	ToGetBucketsBucketCorsRuleArrayOutputWithContext(context.Context) GetBucketsBucketCorsRuleArrayOutput
}

GetBucketsBucketCorsRuleArrayInput is an input type that accepts GetBucketsBucketCorsRuleArray and GetBucketsBucketCorsRuleArrayOutput values. You can construct a concrete instance of `GetBucketsBucketCorsRuleArrayInput` via:

GetBucketsBucketCorsRuleArray{ GetBucketsBucketCorsRuleArgs{...} }

type GetBucketsBucketCorsRuleArrayOutput

type GetBucketsBucketCorsRuleArrayOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketCorsRuleArrayOutput) ElementType

func (GetBucketsBucketCorsRuleArrayOutput) Index

func (GetBucketsBucketCorsRuleArrayOutput) ToGetBucketsBucketCorsRuleArrayOutput

func (o GetBucketsBucketCorsRuleArrayOutput) ToGetBucketsBucketCorsRuleArrayOutput() GetBucketsBucketCorsRuleArrayOutput

func (GetBucketsBucketCorsRuleArrayOutput) ToGetBucketsBucketCorsRuleArrayOutputWithContext

func (o GetBucketsBucketCorsRuleArrayOutput) ToGetBucketsBucketCorsRuleArrayOutputWithContext(ctx context.Context) GetBucketsBucketCorsRuleArrayOutput

type GetBucketsBucketCorsRuleInput

type GetBucketsBucketCorsRuleInput interface {
	pulumi.Input

	ToGetBucketsBucketCorsRuleOutput() GetBucketsBucketCorsRuleOutput
	ToGetBucketsBucketCorsRuleOutputWithContext(context.Context) GetBucketsBucketCorsRuleOutput
}

GetBucketsBucketCorsRuleInput is an input type that accepts GetBucketsBucketCorsRuleArgs and GetBucketsBucketCorsRuleOutput values. You can construct a concrete instance of `GetBucketsBucketCorsRuleInput` via:

GetBucketsBucketCorsRuleArgs{...}

type GetBucketsBucketCorsRuleOutput

type GetBucketsBucketCorsRuleOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketCorsRuleOutput) AllowedHeaders

Control whether the headers specified by Access-Control-Request-Headers in the OPTIONS prefetch command are allowed. Each header specified by Access-Control-Request-Headers must match a value in AllowedHeader. Each rule allows up to one wildcard “*” .

func (GetBucketsBucketCorsRuleOutput) AllowedMethods

Specify the allowed methods for cross-domain requests. Possible values: `GET`, `PUT`, `DELETE`, `POST` and `HEAD`.

func (GetBucketsBucketCorsRuleOutput) AllowedOrigins

The origins allowed for cross-domain requests. Multiple elements can be used to specify multiple allowed origins. Each rule allows up to one wildcard "\*". If "\*" is specified, cross-domain requests of all origins are allowed.

func (GetBucketsBucketCorsRuleOutput) ElementType

func (GetBucketsBucketCorsRuleOutput) ExposeHeaders

Specify the response headers allowing users to access from an application (for example, a Javascript XMLHttpRequest object). The wildcard "\*" is not allowed.

func (GetBucketsBucketCorsRuleOutput) MaxAgeSeconds

Specify the cache time for the returned result of a browser prefetch (OPTIONS) request to a specific resource.

func (GetBucketsBucketCorsRuleOutput) ToGetBucketsBucketCorsRuleOutput

func (o GetBucketsBucketCorsRuleOutput) ToGetBucketsBucketCorsRuleOutput() GetBucketsBucketCorsRuleOutput

func (GetBucketsBucketCorsRuleOutput) ToGetBucketsBucketCorsRuleOutputWithContext

func (o GetBucketsBucketCorsRuleOutput) ToGetBucketsBucketCorsRuleOutputWithContext(ctx context.Context) GetBucketsBucketCorsRuleOutput

type GetBucketsBucketInput

type GetBucketsBucketInput interface {
	pulumi.Input

	ToGetBucketsBucketOutput() GetBucketsBucketOutput
	ToGetBucketsBucketOutputWithContext(context.Context) GetBucketsBucketOutput
}

GetBucketsBucketInput is an input type that accepts GetBucketsBucketArgs and GetBucketsBucketOutput values. You can construct a concrete instance of `GetBucketsBucketInput` via:

GetBucketsBucketArgs{...}

type GetBucketsBucketLifecycleRule

type GetBucketsBucketLifecycleRule struct {
	// Indicate whether the rule is enabled or not.
	Enabled bool `pulumi:"enabled"`
	// A list of one element containing expiration attributes of an object. It contains the following attributes:
	Expiration GetBucketsBucketLifecycleRuleExpiration `pulumi:"expiration"`
	// Unique ID of the rule.
	Id string `pulumi:"id"`
	// Prefix applicable to a rule. Only those objects with a matching prefix can be affected by the rule.
	Prefix string `pulumi:"prefix"`
}

type GetBucketsBucketLifecycleRuleArgs

type GetBucketsBucketLifecycleRuleArgs struct {
	// Indicate whether the rule is enabled or not.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// A list of one element containing expiration attributes of an object. It contains the following attributes:
	Expiration GetBucketsBucketLifecycleRuleExpirationInput `pulumi:"expiration"`
	// Unique ID of the rule.
	Id pulumi.StringInput `pulumi:"id"`
	// Prefix applicable to a rule. Only those objects with a matching prefix can be affected by the rule.
	Prefix pulumi.StringInput `pulumi:"prefix"`
}

func (GetBucketsBucketLifecycleRuleArgs) ElementType

func (GetBucketsBucketLifecycleRuleArgs) ToGetBucketsBucketLifecycleRuleOutput

func (i GetBucketsBucketLifecycleRuleArgs) ToGetBucketsBucketLifecycleRuleOutput() GetBucketsBucketLifecycleRuleOutput

func (GetBucketsBucketLifecycleRuleArgs) ToGetBucketsBucketLifecycleRuleOutputWithContext

func (i GetBucketsBucketLifecycleRuleArgs) ToGetBucketsBucketLifecycleRuleOutputWithContext(ctx context.Context) GetBucketsBucketLifecycleRuleOutput

type GetBucketsBucketLifecycleRuleArray

type GetBucketsBucketLifecycleRuleArray []GetBucketsBucketLifecycleRuleInput

func (GetBucketsBucketLifecycleRuleArray) ElementType

func (GetBucketsBucketLifecycleRuleArray) ToGetBucketsBucketLifecycleRuleArrayOutput

func (i GetBucketsBucketLifecycleRuleArray) ToGetBucketsBucketLifecycleRuleArrayOutput() GetBucketsBucketLifecycleRuleArrayOutput

func (GetBucketsBucketLifecycleRuleArray) ToGetBucketsBucketLifecycleRuleArrayOutputWithContext

func (i GetBucketsBucketLifecycleRuleArray) ToGetBucketsBucketLifecycleRuleArrayOutputWithContext(ctx context.Context) GetBucketsBucketLifecycleRuleArrayOutput

type GetBucketsBucketLifecycleRuleArrayInput

type GetBucketsBucketLifecycleRuleArrayInput interface {
	pulumi.Input

	ToGetBucketsBucketLifecycleRuleArrayOutput() GetBucketsBucketLifecycleRuleArrayOutput
	ToGetBucketsBucketLifecycleRuleArrayOutputWithContext(context.Context) GetBucketsBucketLifecycleRuleArrayOutput
}

GetBucketsBucketLifecycleRuleArrayInput is an input type that accepts GetBucketsBucketLifecycleRuleArray and GetBucketsBucketLifecycleRuleArrayOutput values. You can construct a concrete instance of `GetBucketsBucketLifecycleRuleArrayInput` via:

GetBucketsBucketLifecycleRuleArray{ GetBucketsBucketLifecycleRuleArgs{...} }

type GetBucketsBucketLifecycleRuleArrayOutput

type GetBucketsBucketLifecycleRuleArrayOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketLifecycleRuleArrayOutput) ElementType

func (GetBucketsBucketLifecycleRuleArrayOutput) Index

func (GetBucketsBucketLifecycleRuleArrayOutput) ToGetBucketsBucketLifecycleRuleArrayOutput

func (o GetBucketsBucketLifecycleRuleArrayOutput) ToGetBucketsBucketLifecycleRuleArrayOutput() GetBucketsBucketLifecycleRuleArrayOutput

func (GetBucketsBucketLifecycleRuleArrayOutput) ToGetBucketsBucketLifecycleRuleArrayOutputWithContext

func (o GetBucketsBucketLifecycleRuleArrayOutput) ToGetBucketsBucketLifecycleRuleArrayOutputWithContext(ctx context.Context) GetBucketsBucketLifecycleRuleArrayOutput

type GetBucketsBucketLifecycleRuleExpiration

type GetBucketsBucketLifecycleRuleExpiration struct {
	// Date after which the rule to take effect. The format is like 2017-03-09.
	Date *string `pulumi:"date"`
	// Indicate the number of days after the last object update until the rules take effect.
	Days *int `pulumi:"days"`
}

type GetBucketsBucketLifecycleRuleExpirationArgs

type GetBucketsBucketLifecycleRuleExpirationArgs struct {
	// Date after which the rule to take effect. The format is like 2017-03-09.
	Date pulumi.StringPtrInput `pulumi:"date"`
	// Indicate the number of days after the last object update until the rules take effect.
	Days pulumi.IntPtrInput `pulumi:"days"`
}

func (GetBucketsBucketLifecycleRuleExpirationArgs) ElementType

func (GetBucketsBucketLifecycleRuleExpirationArgs) ToGetBucketsBucketLifecycleRuleExpirationOutput

func (i GetBucketsBucketLifecycleRuleExpirationArgs) ToGetBucketsBucketLifecycleRuleExpirationOutput() GetBucketsBucketLifecycleRuleExpirationOutput

func (GetBucketsBucketLifecycleRuleExpirationArgs) ToGetBucketsBucketLifecycleRuleExpirationOutputWithContext

func (i GetBucketsBucketLifecycleRuleExpirationArgs) ToGetBucketsBucketLifecycleRuleExpirationOutputWithContext(ctx context.Context) GetBucketsBucketLifecycleRuleExpirationOutput

type GetBucketsBucketLifecycleRuleExpirationInput

type GetBucketsBucketLifecycleRuleExpirationInput interface {
	pulumi.Input

	ToGetBucketsBucketLifecycleRuleExpirationOutput() GetBucketsBucketLifecycleRuleExpirationOutput
	ToGetBucketsBucketLifecycleRuleExpirationOutputWithContext(context.Context) GetBucketsBucketLifecycleRuleExpirationOutput
}

GetBucketsBucketLifecycleRuleExpirationInput is an input type that accepts GetBucketsBucketLifecycleRuleExpirationArgs and GetBucketsBucketLifecycleRuleExpirationOutput values. You can construct a concrete instance of `GetBucketsBucketLifecycleRuleExpirationInput` via:

GetBucketsBucketLifecycleRuleExpirationArgs{...}

type GetBucketsBucketLifecycleRuleExpirationOutput

type GetBucketsBucketLifecycleRuleExpirationOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketLifecycleRuleExpirationOutput) Date

Date after which the rule to take effect. The format is like 2017-03-09.

func (GetBucketsBucketLifecycleRuleExpirationOutput) Days

Indicate the number of days after the last object update until the rules take effect.

func (GetBucketsBucketLifecycleRuleExpirationOutput) ElementType

func (GetBucketsBucketLifecycleRuleExpirationOutput) ToGetBucketsBucketLifecycleRuleExpirationOutput

func (o GetBucketsBucketLifecycleRuleExpirationOutput) ToGetBucketsBucketLifecycleRuleExpirationOutput() GetBucketsBucketLifecycleRuleExpirationOutput

func (GetBucketsBucketLifecycleRuleExpirationOutput) ToGetBucketsBucketLifecycleRuleExpirationOutputWithContext

func (o GetBucketsBucketLifecycleRuleExpirationOutput) ToGetBucketsBucketLifecycleRuleExpirationOutputWithContext(ctx context.Context) GetBucketsBucketLifecycleRuleExpirationOutput

type GetBucketsBucketLifecycleRuleInput

type GetBucketsBucketLifecycleRuleInput interface {
	pulumi.Input

	ToGetBucketsBucketLifecycleRuleOutput() GetBucketsBucketLifecycleRuleOutput
	ToGetBucketsBucketLifecycleRuleOutputWithContext(context.Context) GetBucketsBucketLifecycleRuleOutput
}

GetBucketsBucketLifecycleRuleInput is an input type that accepts GetBucketsBucketLifecycleRuleArgs and GetBucketsBucketLifecycleRuleOutput values. You can construct a concrete instance of `GetBucketsBucketLifecycleRuleInput` via:

GetBucketsBucketLifecycleRuleArgs{...}

type GetBucketsBucketLifecycleRuleOutput

type GetBucketsBucketLifecycleRuleOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketLifecycleRuleOutput) ElementType

func (GetBucketsBucketLifecycleRuleOutput) Enabled

Indicate whether the rule is enabled or not.

func (GetBucketsBucketLifecycleRuleOutput) Expiration

A list of one element containing expiration attributes of an object. It contains the following attributes:

func (GetBucketsBucketLifecycleRuleOutput) Id

Unique ID of the rule.

func (GetBucketsBucketLifecycleRuleOutput) Prefix

Prefix applicable to a rule. Only those objects with a matching prefix can be affected by the rule.

func (GetBucketsBucketLifecycleRuleOutput) ToGetBucketsBucketLifecycleRuleOutput

func (o GetBucketsBucketLifecycleRuleOutput) ToGetBucketsBucketLifecycleRuleOutput() GetBucketsBucketLifecycleRuleOutput

func (GetBucketsBucketLifecycleRuleOutput) ToGetBucketsBucketLifecycleRuleOutputWithContext

func (o GetBucketsBucketLifecycleRuleOutput) ToGetBucketsBucketLifecycleRuleOutputWithContext(ctx context.Context) GetBucketsBucketLifecycleRuleOutput

type GetBucketsBucketLogging

type GetBucketsBucketLogging struct {
	// Bucket for storing access logs.
	TargetBucket string `pulumi:"targetBucket"`
	// Prefix of the saved access log file paths.
	TargetPrefix string `pulumi:"targetPrefix"`
}

type GetBucketsBucketLoggingArgs

type GetBucketsBucketLoggingArgs struct {
	// Bucket for storing access logs.
	TargetBucket pulumi.StringInput `pulumi:"targetBucket"`
	// Prefix of the saved access log file paths.
	TargetPrefix pulumi.StringInput `pulumi:"targetPrefix"`
}

func (GetBucketsBucketLoggingArgs) ElementType

func (GetBucketsBucketLoggingArgs) ToGetBucketsBucketLoggingOutput

func (i GetBucketsBucketLoggingArgs) ToGetBucketsBucketLoggingOutput() GetBucketsBucketLoggingOutput

func (GetBucketsBucketLoggingArgs) ToGetBucketsBucketLoggingOutputWithContext

func (i GetBucketsBucketLoggingArgs) ToGetBucketsBucketLoggingOutputWithContext(ctx context.Context) GetBucketsBucketLoggingOutput

type GetBucketsBucketLoggingInput

type GetBucketsBucketLoggingInput interface {
	pulumi.Input

	ToGetBucketsBucketLoggingOutput() GetBucketsBucketLoggingOutput
	ToGetBucketsBucketLoggingOutputWithContext(context.Context) GetBucketsBucketLoggingOutput
}

GetBucketsBucketLoggingInput is an input type that accepts GetBucketsBucketLoggingArgs and GetBucketsBucketLoggingOutput values. You can construct a concrete instance of `GetBucketsBucketLoggingInput` via:

GetBucketsBucketLoggingArgs{...}

type GetBucketsBucketLoggingOutput

type GetBucketsBucketLoggingOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketLoggingOutput) ElementType

func (GetBucketsBucketLoggingOutput) TargetBucket

Bucket for storing access logs.

func (GetBucketsBucketLoggingOutput) TargetPrefix

Prefix of the saved access log file paths.

func (GetBucketsBucketLoggingOutput) ToGetBucketsBucketLoggingOutput

func (o GetBucketsBucketLoggingOutput) ToGetBucketsBucketLoggingOutput() GetBucketsBucketLoggingOutput

func (GetBucketsBucketLoggingOutput) ToGetBucketsBucketLoggingOutputWithContext

func (o GetBucketsBucketLoggingOutput) ToGetBucketsBucketLoggingOutputWithContext(ctx context.Context) GetBucketsBucketLoggingOutput

type GetBucketsBucketOutput

type GetBucketsBucketOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketOutput) Acl

Bucket access control list. Possible values: `private`, `public-read` and `public-read-write`.

func (GetBucketsBucketOutput) CorsRules

A list of CORS rule configurations. Each element contains the following attributes:

func (GetBucketsBucketOutput) CreationDate

func (o GetBucketsBucketOutput) CreationDate() pulumi.StringOutput

Bucket creation date.

func (GetBucketsBucketOutput) ElementType

func (GetBucketsBucketOutput) ElementType() reflect.Type

func (GetBucketsBucketOutput) ExtranetEndpoint

func (o GetBucketsBucketOutput) ExtranetEndpoint() pulumi.StringOutput

Internet domain name for accessing the bucket from outside.

func (GetBucketsBucketOutput) IntranetEndpoint

func (o GetBucketsBucketOutput) IntranetEndpoint() pulumi.StringOutput

Intranet domain name for accessing the bucket from an ECS instance in the same region.

func (GetBucketsBucketOutput) LifecycleRules

A list CORS of lifecycle configurations. When Lifecycle is enabled, OSS automatically deletes the objects or transitions the objects (to another storage class) corresponding the lifecycle rules on a regular basis. Each element contains the following attributes:

func (GetBucketsBucketOutput) Location

Region of the data center where the bucket is located.

func (GetBucketsBucketOutput) Logging

A list of one element containing configuration parameters used for storing access log information. It contains the following attributes:

func (GetBucketsBucketOutput) Name

Bucket name.

func (GetBucketsBucketOutput) Owner

Bucket owner.

func (GetBucketsBucketOutput) Policy

func (GetBucketsBucketOutput) RedundancyType

func (o GetBucketsBucketOutput) RedundancyType() pulumi.StringOutput

Redundancy type. Possible values: `LRS`, and `ZRS`.

func (GetBucketsBucketOutput) RefererConfig

A list of one element containing referer configuration. It contains the following attributes:

func (GetBucketsBucketOutput) ServerSideEncryptionRule

A configuration of default encryption for a bucket. It contains the following attributes:

func (GetBucketsBucketOutput) StorageClass

func (o GetBucketsBucketOutput) StorageClass() pulumi.StringOutput

Object storage type. Possible values: `Standard`, `IA` and `Archive`.

func (GetBucketsBucketOutput) Tags

A mapping of tags.

func (GetBucketsBucketOutput) ToGetBucketsBucketOutput

func (o GetBucketsBucketOutput) ToGetBucketsBucketOutput() GetBucketsBucketOutput

func (GetBucketsBucketOutput) ToGetBucketsBucketOutputWithContext

func (o GetBucketsBucketOutput) ToGetBucketsBucketOutputWithContext(ctx context.Context) GetBucketsBucketOutput

func (GetBucketsBucketOutput) Versioning

If present , the versioning state has been set on the bucket. It contains the following attribute.

func (GetBucketsBucketOutput) Website

A list of one element containing configuration parameters used when the bucket is used as a website. It contains the following attributes:

type GetBucketsBucketRefererConfig

type GetBucketsBucketRefererConfig struct {
	// Indicate whether the access request referer field can be empty.
	AllowEmpty bool `pulumi:"allowEmpty"`
	// Referer access whitelist.
	Referers []string `pulumi:"referers"`
}

type GetBucketsBucketRefererConfigArgs

type GetBucketsBucketRefererConfigArgs struct {
	// Indicate whether the access request referer field can be empty.
	AllowEmpty pulumi.BoolInput `pulumi:"allowEmpty"`
	// Referer access whitelist.
	Referers pulumi.StringArrayInput `pulumi:"referers"`
}

func (GetBucketsBucketRefererConfigArgs) ElementType

func (GetBucketsBucketRefererConfigArgs) ToGetBucketsBucketRefererConfigOutput

func (i GetBucketsBucketRefererConfigArgs) ToGetBucketsBucketRefererConfigOutput() GetBucketsBucketRefererConfigOutput

func (GetBucketsBucketRefererConfigArgs) ToGetBucketsBucketRefererConfigOutputWithContext

func (i GetBucketsBucketRefererConfigArgs) ToGetBucketsBucketRefererConfigOutputWithContext(ctx context.Context) GetBucketsBucketRefererConfigOutput

type GetBucketsBucketRefererConfigInput

type GetBucketsBucketRefererConfigInput interface {
	pulumi.Input

	ToGetBucketsBucketRefererConfigOutput() GetBucketsBucketRefererConfigOutput
	ToGetBucketsBucketRefererConfigOutputWithContext(context.Context) GetBucketsBucketRefererConfigOutput
}

GetBucketsBucketRefererConfigInput is an input type that accepts GetBucketsBucketRefererConfigArgs and GetBucketsBucketRefererConfigOutput values. You can construct a concrete instance of `GetBucketsBucketRefererConfigInput` via:

GetBucketsBucketRefererConfigArgs{...}

type GetBucketsBucketRefererConfigOutput

type GetBucketsBucketRefererConfigOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketRefererConfigOutput) AllowEmpty

Indicate whether the access request referer field can be empty.

func (GetBucketsBucketRefererConfigOutput) ElementType

func (GetBucketsBucketRefererConfigOutput) Referers

Referer access whitelist.

func (GetBucketsBucketRefererConfigOutput) ToGetBucketsBucketRefererConfigOutput

func (o GetBucketsBucketRefererConfigOutput) ToGetBucketsBucketRefererConfigOutput() GetBucketsBucketRefererConfigOutput

func (GetBucketsBucketRefererConfigOutput) ToGetBucketsBucketRefererConfigOutputWithContext

func (o GetBucketsBucketRefererConfigOutput) ToGetBucketsBucketRefererConfigOutputWithContext(ctx context.Context) GetBucketsBucketRefererConfigOutput

type GetBucketsBucketServerSideEncryptionRule

type GetBucketsBucketServerSideEncryptionRule struct {
	// The alibaba cloud KMS master key ID used for the SSE-KMS encryption.
	KmsMasterKeyId string `pulumi:"kmsMasterKeyId"`
	// The server-side encryption algorithm to use.
	SseAlgorithm string `pulumi:"sseAlgorithm"`
}

type GetBucketsBucketServerSideEncryptionRuleArgs

type GetBucketsBucketServerSideEncryptionRuleArgs struct {
	// The alibaba cloud KMS master key ID used for the SSE-KMS encryption.
	KmsMasterKeyId pulumi.StringInput `pulumi:"kmsMasterKeyId"`
	// The server-side encryption algorithm to use.
	SseAlgorithm pulumi.StringInput `pulumi:"sseAlgorithm"`
}

func (GetBucketsBucketServerSideEncryptionRuleArgs) ElementType

func (GetBucketsBucketServerSideEncryptionRuleArgs) ToGetBucketsBucketServerSideEncryptionRuleOutput

func (i GetBucketsBucketServerSideEncryptionRuleArgs) ToGetBucketsBucketServerSideEncryptionRuleOutput() GetBucketsBucketServerSideEncryptionRuleOutput

func (GetBucketsBucketServerSideEncryptionRuleArgs) ToGetBucketsBucketServerSideEncryptionRuleOutputWithContext

func (i GetBucketsBucketServerSideEncryptionRuleArgs) ToGetBucketsBucketServerSideEncryptionRuleOutputWithContext(ctx context.Context) GetBucketsBucketServerSideEncryptionRuleOutput

type GetBucketsBucketServerSideEncryptionRuleInput

type GetBucketsBucketServerSideEncryptionRuleInput interface {
	pulumi.Input

	ToGetBucketsBucketServerSideEncryptionRuleOutput() GetBucketsBucketServerSideEncryptionRuleOutput
	ToGetBucketsBucketServerSideEncryptionRuleOutputWithContext(context.Context) GetBucketsBucketServerSideEncryptionRuleOutput
}

GetBucketsBucketServerSideEncryptionRuleInput is an input type that accepts GetBucketsBucketServerSideEncryptionRuleArgs and GetBucketsBucketServerSideEncryptionRuleOutput values. You can construct a concrete instance of `GetBucketsBucketServerSideEncryptionRuleInput` via:

GetBucketsBucketServerSideEncryptionRuleArgs{...}

type GetBucketsBucketServerSideEncryptionRuleOutput

type GetBucketsBucketServerSideEncryptionRuleOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketServerSideEncryptionRuleOutput) ElementType

func (GetBucketsBucketServerSideEncryptionRuleOutput) KmsMasterKeyId

The alibaba cloud KMS master key ID used for the SSE-KMS encryption.

func (GetBucketsBucketServerSideEncryptionRuleOutput) SseAlgorithm

The server-side encryption algorithm to use.

func (GetBucketsBucketServerSideEncryptionRuleOutput) ToGetBucketsBucketServerSideEncryptionRuleOutput

func (o GetBucketsBucketServerSideEncryptionRuleOutput) ToGetBucketsBucketServerSideEncryptionRuleOutput() GetBucketsBucketServerSideEncryptionRuleOutput

func (GetBucketsBucketServerSideEncryptionRuleOutput) ToGetBucketsBucketServerSideEncryptionRuleOutputWithContext

func (o GetBucketsBucketServerSideEncryptionRuleOutput) ToGetBucketsBucketServerSideEncryptionRuleOutputWithContext(ctx context.Context) GetBucketsBucketServerSideEncryptionRuleOutput

type GetBucketsBucketVersioning

type GetBucketsBucketVersioning struct {
	// A bucket versioning state. Possible values:`Enabled` and `Suspended`.
	Status string `pulumi:"status"`
}

type GetBucketsBucketVersioningArgs

type GetBucketsBucketVersioningArgs struct {
	// A bucket versioning state. Possible values:`Enabled` and `Suspended`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetBucketsBucketVersioningArgs) ElementType

func (GetBucketsBucketVersioningArgs) ToGetBucketsBucketVersioningOutput

func (i GetBucketsBucketVersioningArgs) ToGetBucketsBucketVersioningOutput() GetBucketsBucketVersioningOutput

func (GetBucketsBucketVersioningArgs) ToGetBucketsBucketVersioningOutputWithContext

func (i GetBucketsBucketVersioningArgs) ToGetBucketsBucketVersioningOutputWithContext(ctx context.Context) GetBucketsBucketVersioningOutput

type GetBucketsBucketVersioningInput

type GetBucketsBucketVersioningInput interface {
	pulumi.Input

	ToGetBucketsBucketVersioningOutput() GetBucketsBucketVersioningOutput
	ToGetBucketsBucketVersioningOutputWithContext(context.Context) GetBucketsBucketVersioningOutput
}

GetBucketsBucketVersioningInput is an input type that accepts GetBucketsBucketVersioningArgs and GetBucketsBucketVersioningOutput values. You can construct a concrete instance of `GetBucketsBucketVersioningInput` via:

GetBucketsBucketVersioningArgs{...}

type GetBucketsBucketVersioningOutput

type GetBucketsBucketVersioningOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketVersioningOutput) ElementType

func (GetBucketsBucketVersioningOutput) Status

A bucket versioning state. Possible values:`Enabled` and `Suspended`.

func (GetBucketsBucketVersioningOutput) ToGetBucketsBucketVersioningOutput

func (o GetBucketsBucketVersioningOutput) ToGetBucketsBucketVersioningOutput() GetBucketsBucketVersioningOutput

func (GetBucketsBucketVersioningOutput) ToGetBucketsBucketVersioningOutputWithContext

func (o GetBucketsBucketVersioningOutput) ToGetBucketsBucketVersioningOutputWithContext(ctx context.Context) GetBucketsBucketVersioningOutput

type GetBucketsBucketWebsite

type GetBucketsBucketWebsite struct {
	// Key of the HTML document containing the error page.
	ErrorDocument string `pulumi:"errorDocument"`
	// Key of the HTML document containing the home page.
	IndexDocument string `pulumi:"indexDocument"`
}

type GetBucketsBucketWebsiteArgs

type GetBucketsBucketWebsiteArgs struct {
	// Key of the HTML document containing the error page.
	ErrorDocument pulumi.StringInput `pulumi:"errorDocument"`
	// Key of the HTML document containing the home page.
	IndexDocument pulumi.StringInput `pulumi:"indexDocument"`
}

func (GetBucketsBucketWebsiteArgs) ElementType

func (GetBucketsBucketWebsiteArgs) ToGetBucketsBucketWebsiteOutput

func (i GetBucketsBucketWebsiteArgs) ToGetBucketsBucketWebsiteOutput() GetBucketsBucketWebsiteOutput

func (GetBucketsBucketWebsiteArgs) ToGetBucketsBucketWebsiteOutputWithContext

func (i GetBucketsBucketWebsiteArgs) ToGetBucketsBucketWebsiteOutputWithContext(ctx context.Context) GetBucketsBucketWebsiteOutput

type GetBucketsBucketWebsiteInput

type GetBucketsBucketWebsiteInput interface {
	pulumi.Input

	ToGetBucketsBucketWebsiteOutput() GetBucketsBucketWebsiteOutput
	ToGetBucketsBucketWebsiteOutputWithContext(context.Context) GetBucketsBucketWebsiteOutput
}

GetBucketsBucketWebsiteInput is an input type that accepts GetBucketsBucketWebsiteArgs and GetBucketsBucketWebsiteOutput values. You can construct a concrete instance of `GetBucketsBucketWebsiteInput` via:

GetBucketsBucketWebsiteArgs{...}

type GetBucketsBucketWebsiteOutput

type GetBucketsBucketWebsiteOutput struct{ *pulumi.OutputState }

func (GetBucketsBucketWebsiteOutput) ElementType

func (GetBucketsBucketWebsiteOutput) ErrorDocument

Key of the HTML document containing the error page.

func (GetBucketsBucketWebsiteOutput) IndexDocument

Key of the HTML document containing the home page.

func (GetBucketsBucketWebsiteOutput) ToGetBucketsBucketWebsiteOutput

func (o GetBucketsBucketWebsiteOutput) ToGetBucketsBucketWebsiteOutput() GetBucketsBucketWebsiteOutput

func (GetBucketsBucketWebsiteOutput) ToGetBucketsBucketWebsiteOutputWithContext

func (o GetBucketsBucketWebsiteOutput) ToGetBucketsBucketWebsiteOutputWithContext(ctx context.Context) GetBucketsBucketWebsiteOutput

type GetBucketsOutputArgs

type GetBucketsOutputArgs struct {
	// A regex string to filter results by bucket name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getBuckets.

func (GetBucketsOutputArgs) ElementType

func (GetBucketsOutputArgs) ElementType() reflect.Type

type GetBucketsResult

type GetBucketsResult struct {
	// A list of buckets. Each element contains the following attributes:
	Buckets []GetBucketsBucket `pulumi:"buckets"`
	// The provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	NameRegex *string `pulumi:"nameRegex"`
	// A list of bucket names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getBuckets.

func GetBuckets

func GetBuckets(ctx *pulumi.Context, args *GetBucketsArgs, opts ...pulumi.InvokeOption) (*GetBucketsResult, error)

This data source provides the OSS buckets of the current Alibaba Cloud user.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ossBucketsDs, err := oss.GetBuckets(ctx, &oss.GetBucketsArgs{
			NameRegex: pulumi.StringRef("sample_oss_bucket"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstOssBucketName", ossBucketsDs.Buckets[0].Name)
		return nil
	})
}

```

type GetBucketsResultOutput

type GetBucketsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBuckets.

func (GetBucketsResultOutput) Buckets

A list of buckets. Each element contains the following attributes:

func (GetBucketsResultOutput) ElementType

func (GetBucketsResultOutput) ElementType() reflect.Type

func (GetBucketsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetBucketsResultOutput) NameRegex

func (GetBucketsResultOutput) Names

A list of bucket names.

func (GetBucketsResultOutput) OutputFile

func (GetBucketsResultOutput) ToGetBucketsResultOutput

func (o GetBucketsResultOutput) ToGetBucketsResultOutput() GetBucketsResultOutput

func (GetBucketsResultOutput) ToGetBucketsResultOutputWithContext

func (o GetBucketsResultOutput) ToGetBucketsResultOutputWithContext(ctx context.Context) GetBucketsResultOutput

type GetInstanceAttachmentsArgs

type GetInstanceAttachmentsArgs struct {
	// The name of OTS instance.
	InstanceName string `pulumi:"instanceName"`
	// A regex string to filter results by vpc name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getInstanceAttachments.

type GetInstanceAttachmentsAttachment

type GetInstanceAttachmentsAttachment struct {
	// The domain of the instance attachment.
	Domain string `pulumi:"domain"`
	// The access endpoint of the instance attachment.
	Endpoint string `pulumi:"endpoint"`
	// The resource ID, the value is same as "instanceName".
	Id string `pulumi:"id"`
	// The name of OTS instance.
	InstanceName string `pulumi:"instanceName"`
	// The region of the instance attachment.
	Region string `pulumi:"region"`
	// The ID of attaching VPC to instance.
	VpcId string `pulumi:"vpcId"`
	// The name of attaching VPC to instance.
	VpcName string `pulumi:"vpcName"`
}

type GetInstanceAttachmentsAttachmentArgs

type GetInstanceAttachmentsAttachmentArgs struct {
	// The domain of the instance attachment.
	Domain pulumi.StringInput `pulumi:"domain"`
	// The access endpoint of the instance attachment.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
	// The resource ID, the value is same as "instanceName".
	Id pulumi.StringInput `pulumi:"id"`
	// The name of OTS instance.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// The region of the instance attachment.
	Region pulumi.StringInput `pulumi:"region"`
	// The ID of attaching VPC to instance.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The name of attaching VPC to instance.
	VpcName pulumi.StringInput `pulumi:"vpcName"`
}

func (GetInstanceAttachmentsAttachmentArgs) ElementType

func (GetInstanceAttachmentsAttachmentArgs) ToGetInstanceAttachmentsAttachmentOutput

func (i GetInstanceAttachmentsAttachmentArgs) ToGetInstanceAttachmentsAttachmentOutput() GetInstanceAttachmentsAttachmentOutput

func (GetInstanceAttachmentsAttachmentArgs) ToGetInstanceAttachmentsAttachmentOutputWithContext

func (i GetInstanceAttachmentsAttachmentArgs) ToGetInstanceAttachmentsAttachmentOutputWithContext(ctx context.Context) GetInstanceAttachmentsAttachmentOutput

type GetInstanceAttachmentsAttachmentArray

type GetInstanceAttachmentsAttachmentArray []GetInstanceAttachmentsAttachmentInput

func (GetInstanceAttachmentsAttachmentArray) ElementType

func (GetInstanceAttachmentsAttachmentArray) ToGetInstanceAttachmentsAttachmentArrayOutput

func (i GetInstanceAttachmentsAttachmentArray) ToGetInstanceAttachmentsAttachmentArrayOutput() GetInstanceAttachmentsAttachmentArrayOutput

func (GetInstanceAttachmentsAttachmentArray) ToGetInstanceAttachmentsAttachmentArrayOutputWithContext

func (i GetInstanceAttachmentsAttachmentArray) ToGetInstanceAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetInstanceAttachmentsAttachmentArrayOutput

type GetInstanceAttachmentsAttachmentArrayInput

type GetInstanceAttachmentsAttachmentArrayInput interface {
	pulumi.Input

	ToGetInstanceAttachmentsAttachmentArrayOutput() GetInstanceAttachmentsAttachmentArrayOutput
	ToGetInstanceAttachmentsAttachmentArrayOutputWithContext(context.Context) GetInstanceAttachmentsAttachmentArrayOutput
}

GetInstanceAttachmentsAttachmentArrayInput is an input type that accepts GetInstanceAttachmentsAttachmentArray and GetInstanceAttachmentsAttachmentArrayOutput values. You can construct a concrete instance of `GetInstanceAttachmentsAttachmentArrayInput` via:

GetInstanceAttachmentsAttachmentArray{ GetInstanceAttachmentsAttachmentArgs{...} }

type GetInstanceAttachmentsAttachmentArrayOutput

type GetInstanceAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceAttachmentsAttachmentArrayOutput) ElementType

func (GetInstanceAttachmentsAttachmentArrayOutput) Index

func (GetInstanceAttachmentsAttachmentArrayOutput) ToGetInstanceAttachmentsAttachmentArrayOutput

func (o GetInstanceAttachmentsAttachmentArrayOutput) ToGetInstanceAttachmentsAttachmentArrayOutput() GetInstanceAttachmentsAttachmentArrayOutput

func (GetInstanceAttachmentsAttachmentArrayOutput) ToGetInstanceAttachmentsAttachmentArrayOutputWithContext

func (o GetInstanceAttachmentsAttachmentArrayOutput) ToGetInstanceAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetInstanceAttachmentsAttachmentArrayOutput

type GetInstanceAttachmentsAttachmentInput

type GetInstanceAttachmentsAttachmentInput interface {
	pulumi.Input

	ToGetInstanceAttachmentsAttachmentOutput() GetInstanceAttachmentsAttachmentOutput
	ToGetInstanceAttachmentsAttachmentOutputWithContext(context.Context) GetInstanceAttachmentsAttachmentOutput
}

GetInstanceAttachmentsAttachmentInput is an input type that accepts GetInstanceAttachmentsAttachmentArgs and GetInstanceAttachmentsAttachmentOutput values. You can construct a concrete instance of `GetInstanceAttachmentsAttachmentInput` via:

GetInstanceAttachmentsAttachmentArgs{...}

type GetInstanceAttachmentsAttachmentOutput

type GetInstanceAttachmentsAttachmentOutput struct{ *pulumi.OutputState }

func (GetInstanceAttachmentsAttachmentOutput) Domain

The domain of the instance attachment.

func (GetInstanceAttachmentsAttachmentOutput) ElementType

func (GetInstanceAttachmentsAttachmentOutput) Endpoint

The access endpoint of the instance attachment.

func (GetInstanceAttachmentsAttachmentOutput) Id

The resource ID, the value is same as "instanceName".

func (GetInstanceAttachmentsAttachmentOutput) InstanceName

The name of OTS instance.

func (GetInstanceAttachmentsAttachmentOutput) Region

The region of the instance attachment.

func (GetInstanceAttachmentsAttachmentOutput) ToGetInstanceAttachmentsAttachmentOutput

func (o GetInstanceAttachmentsAttachmentOutput) ToGetInstanceAttachmentsAttachmentOutput() GetInstanceAttachmentsAttachmentOutput

func (GetInstanceAttachmentsAttachmentOutput) ToGetInstanceAttachmentsAttachmentOutputWithContext

func (o GetInstanceAttachmentsAttachmentOutput) ToGetInstanceAttachmentsAttachmentOutputWithContext(ctx context.Context) GetInstanceAttachmentsAttachmentOutput

func (GetInstanceAttachmentsAttachmentOutput) VpcId

The ID of attaching VPC to instance.

func (GetInstanceAttachmentsAttachmentOutput) VpcName

The name of attaching VPC to instance.

type GetInstanceAttachmentsOutputArgs

type GetInstanceAttachmentsOutputArgs struct {
	// The name of OTS instance.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// A regex string to filter results by vpc name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getInstanceAttachments.

func (GetInstanceAttachmentsOutputArgs) ElementType

type GetInstanceAttachmentsResult

type GetInstanceAttachmentsResult struct {
	// A list of instance attachments. Each element contains the following attributes:
	Attachments []GetInstanceAttachmentsAttachment `pulumi:"attachments"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The instance name.
	InstanceName string  `pulumi:"instanceName"`
	NameRegex    *string `pulumi:"nameRegex"`
	// A list of vpc names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of vpc ids.
	VpcIds []string `pulumi:"vpcIds"`
}

A collection of values returned by getInstanceAttachments.

func GetInstanceAttachments deprecated

func GetInstanceAttachments(ctx *pulumi.Context, args *GetInstanceAttachmentsArgs, opts ...pulumi.InvokeOption) (*GetInstanceAttachmentsResult, error)

This data source provides the ots instance attachments of the current Alibaba Cloud user.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ots"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ots"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		attachmentsDs, err := ots.GetInstanceAttachments(ctx, &ots.GetInstanceAttachmentsArgs{
			InstanceName: "sample-instance",
			NameRegex:    pulumi.StringRef("testvpc"),
			OutputFile:   pulumi.StringRef("attachments.txt"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstOtsAttachmentId", attachmentsDs.Attachments[0].Id)
		return nil
	})
}

```

Deprecated: alicloud.oss.getInstanceAttachments has been deprecated in favor of alicloud.ots.getInstanceAttachments

type GetInstanceAttachmentsResultOutput

type GetInstanceAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstanceAttachments.

func (GetInstanceAttachmentsResultOutput) Attachments

A list of instance attachments. Each element contains the following attributes:

func (GetInstanceAttachmentsResultOutput) ElementType

func (GetInstanceAttachmentsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetInstanceAttachmentsResultOutput) InstanceName

The instance name.

func (GetInstanceAttachmentsResultOutput) NameRegex

func (GetInstanceAttachmentsResultOutput) Names

A list of vpc names.

func (GetInstanceAttachmentsResultOutput) OutputFile

func (GetInstanceAttachmentsResultOutput) ToGetInstanceAttachmentsResultOutput

func (o GetInstanceAttachmentsResultOutput) ToGetInstanceAttachmentsResultOutput() GetInstanceAttachmentsResultOutput

func (GetInstanceAttachmentsResultOutput) ToGetInstanceAttachmentsResultOutputWithContext

func (o GetInstanceAttachmentsResultOutput) ToGetInstanceAttachmentsResultOutputWithContext(ctx context.Context) GetInstanceAttachmentsResultOutput

func (GetInstanceAttachmentsResultOutput) VpcIds

A list of vpc ids.

type GetInstancesArgs

type GetInstancesArgs struct {
	// A list of instance IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by instance name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// A map of tags assigned to the instance. It must be in the format:
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ots"
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// 	"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ots"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		_, err := ots.GetInstances(ctx, &ots.GetInstancesArgs{
	// 			Tags: map[string]interface{}{
	// 				"tagKey1": "tagValue1",
	// 				"tagKey2": "tagValue2",
	// 			},
	// 		}, nil)
	// 		if err != nil {
	// 			return err
	// 		}
	// 		return nil
	// 	})
	// }
	// “`
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getInstances.

type GetInstancesInstance

type GetInstancesInstance struct {
	// The cluster type of the instance. Possible values: `SSD`, `HYBRID`.
	ClusterType string `pulumi:"clusterType"`
	// The create time of the instance.
	CreateTime string `pulumi:"createTime"`
	// The description of the instance.
	Description string `pulumi:"description"`
	// The instance quota which indicating the maximum number of tables.
	EntityQuota int `pulumi:"entityQuota"`
	// ID of the instance.
	Id string `pulumi:"id"`
	// Instance name.
	Name string `pulumi:"name"`
	// The network type of the instance. Possible values: `NORMAL`, `VPC`, `VPC_CONSOLE`.
	Network string `pulumi:"network"`
	// The maximum adjustable read capacity unit of the instance.
	ReadCapacity int `pulumi:"readCapacity"`
	// Instance status. Possible values: `Running`, `Disabled`, `Deleting`.
	Status string `pulumi:"status"`
	// A map of tags assigned to the instance. It must be in the format:
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ots"
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// 	"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ots"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		_, err := ots.GetInstances(ctx, &ots.GetInstancesArgs{
	// 			Tags: map[string]interface{}{
	// 				"tagKey1": "tagValue1",
	// 				"tagKey2": "tagValue2",
	// 			},
	// 		}, nil)
	// 		if err != nil {
	// 			return err
	// 		}
	// 		return nil
	// 	})
	// }
	// “`
	Tags map[string]interface{} `pulumi:"tags"`
	// The user id of the instance.
	UserId string `pulumi:"userId"`
	// The maximum adjustable write capacity unit of the instance.
	WriteCapacity int `pulumi:"writeCapacity"`
}

type GetInstancesInstanceArgs

type GetInstancesInstanceArgs struct {
	// The cluster type of the instance. Possible values: `SSD`, `HYBRID`.
	ClusterType pulumi.StringInput `pulumi:"clusterType"`
	// The create time of the instance.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of the instance.
	Description pulumi.StringInput `pulumi:"description"`
	// The instance quota which indicating the maximum number of tables.
	EntityQuota pulumi.IntInput `pulumi:"entityQuota"`
	// ID of the instance.
	Id pulumi.StringInput `pulumi:"id"`
	// Instance name.
	Name pulumi.StringInput `pulumi:"name"`
	// The network type of the instance. Possible values: `NORMAL`, `VPC`, `VPC_CONSOLE`.
	Network pulumi.StringInput `pulumi:"network"`
	// The maximum adjustable read capacity unit of the instance.
	ReadCapacity pulumi.IntInput `pulumi:"readCapacity"`
	// Instance status. Possible values: `Running`, `Disabled`, `Deleting`.
	Status pulumi.StringInput `pulumi:"status"`
	// A map of tags assigned to the instance. It must be in the format:
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ots"
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// 	"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ots"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		_, err := ots.GetInstances(ctx, &ots.GetInstancesArgs{
	// 			Tags: map[string]interface{}{
	// 				"tagKey1": "tagValue1",
	// 				"tagKey2": "tagValue2",
	// 			},
	// 		}, nil)
	// 		if err != nil {
	// 			return err
	// 		}
	// 		return nil
	// 	})
	// }
	// “`
	Tags pulumi.MapInput `pulumi:"tags"`
	// The user id of the instance.
	UserId pulumi.StringInput `pulumi:"userId"`
	// The maximum adjustable write capacity unit of the instance.
	WriteCapacity pulumi.IntInput `pulumi:"writeCapacity"`
}

func (GetInstancesInstanceArgs) ElementType

func (GetInstancesInstanceArgs) ElementType() reflect.Type

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

type GetInstancesInstanceArray

type GetInstancesInstanceArray []GetInstancesInstanceInput

func (GetInstancesInstanceArray) ElementType

func (GetInstancesInstanceArray) ElementType() reflect.Type

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceArrayInput

type GetInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
	ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput
}

GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:

GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }

type GetInstancesInstanceArrayOutput

type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceArrayOutput) ElementType

func (GetInstancesInstanceArrayOutput) Index

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceInput

type GetInstancesInstanceInput interface {
	pulumi.Input

	ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
	ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput
}

GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:

GetInstancesInstanceArgs{...}

type GetInstancesInstanceOutput

type GetInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceOutput) ClusterType

The cluster type of the instance. Possible values: `SSD`, `HYBRID`.

func (GetInstancesInstanceOutput) CreateTime

The create time of the instance.

func (GetInstancesInstanceOutput) Description

The description of the instance.

func (GetInstancesInstanceOutput) ElementType

func (GetInstancesInstanceOutput) ElementType() reflect.Type

func (GetInstancesInstanceOutput) EntityQuota

The instance quota which indicating the maximum number of tables.

func (GetInstancesInstanceOutput) Id

ID of the instance.

func (GetInstancesInstanceOutput) Name

Instance name.

func (GetInstancesInstanceOutput) Network

The network type of the instance. Possible values: `NORMAL`, `VPC`, `VPC_CONSOLE`.

func (GetInstancesInstanceOutput) ReadCapacity

func (o GetInstancesInstanceOutput) ReadCapacity() pulumi.IntOutput

The maximum adjustable read capacity unit of the instance.

func (GetInstancesInstanceOutput) Status

Instance status. Possible values: `Running`, `Disabled`, `Deleting`.

func (GetInstancesInstanceOutput) Tags

A map of tags assigned to the instance. It must be in the format: ```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ots"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ots"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ots.GetInstances(ctx, &ots.GetInstancesArgs{
			Tags: map[string]interface{}{
				"tagKey1": "tagValue1",
				"tagKey2": "tagValue2",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) UserId

The user id of the instance.

func (GetInstancesInstanceOutput) WriteCapacity

func (o GetInstancesInstanceOutput) WriteCapacity() pulumi.IntOutput

The maximum adjustable write capacity unit of the instance.

type GetInstancesOutputArgs

type GetInstancesOutputArgs struct {
	// A list of instance IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by instance name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// A map of tags assigned to the instance. It must be in the format:
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ots"
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// 	"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ots"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		_, err := ots.GetInstances(ctx, &ots.GetInstancesArgs{
	// 			Tags: map[string]interface{}{
	// 				"tagKey1": "tagValue1",
	// 				"tagKey2": "tagValue2",
	// 			},
	// 		}, nil)
	// 		if err != nil {
	// 			return err
	// 		}
	// 		return nil
	// 	})
	// }
	// “`
	Tags pulumi.MapInput `pulumi:"tags"`
}

A collection of arguments for invoking getInstances.

func (GetInstancesOutputArgs) ElementType

func (GetInstancesOutputArgs) ElementType() reflect.Type

type GetInstancesResult

type GetInstancesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of instance IDs.
	Ids []string `pulumi:"ids"`
	// A list of instances. Each element contains the following attributes:
	Instances []GetInstancesInstance `pulumi:"instances"`
	NameRegex *string                `pulumi:"nameRegex"`
	// A list of instance names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The tags of the instance.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getInstances.

func GetInstances deprecated

func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)

This data source provides the ots instances of the current Alibaba Cloud user.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ots"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ots"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instancesDs, err := ots.GetInstances(ctx, &ots.GetInstancesArgs{
			NameRegex:  pulumi.StringRef("sample-instance"),
			OutputFile: pulumi.StringRef("instances.txt"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstInstanceId", instancesDs.Instances[0].Id)
		return nil
	})
}

```

Deprecated: alicloud.oss.getInstances has been deprecated in favor of alicloud.ots.getInstances

type GetInstancesResultOutput

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func (GetInstancesResultOutput) ElementType

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) Ids

A list of instance IDs.

func (GetInstancesResultOutput) Instances

A list of instances. Each element contains the following attributes:

func (GetInstancesResultOutput) NameRegex

func (GetInstancesResultOutput) Names

A list of instance names.

func (GetInstancesResultOutput) OutputFile

func (GetInstancesResultOutput) Tags

The tags of the instance.

func (GetInstancesResultOutput) ToGetInstancesResultOutput

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext

func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput

type GetServiceArgs

type GetServiceArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".
	Enable *string `pulumi:"enable"`
}

A collection of arguments for invoking getService.

type GetServiceOutputArgs

type GetServiceOutputArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".
	Enable pulumi.StringPtrInput `pulumi:"enable"`
}

A collection of arguments for invoking getService.

func (GetServiceOutputArgs) ElementType

func (GetServiceOutputArgs) ElementType() reflect.Type

type GetServiceResult

type GetServiceResult struct {
	Enable *string `pulumi:"enable"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The current service enable status.
	Status string `pulumi:"status"`
}

A collection of values returned by getService.

func GetService

func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)

Using this data source can enable OSS service automatically. If the service has been enabled, it will return `Opened`.

For information about OSS and how to use it, see [What is OSS](https://www.alibabacloud.com/help/product/31815.htm).

> **NOTE:** Available in v1.97.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oss.GetService(ctx, &oss.GetServiceArgs{
			Enable: pulumi.StringRef("On"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetServiceResultOutput

type GetServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func (GetServiceResultOutput) ElementType

func (GetServiceResultOutput) ElementType() reflect.Type

func (GetServiceResultOutput) Enable

func (GetServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServiceResultOutput) Status

The current service enable status.

func (GetServiceResultOutput) ToGetServiceResultOutput

func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput

func (GetServiceResultOutput) ToGetServiceResultOutputWithContext

func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput

type GetTablesArgs

type GetTablesArgs struct {
	// A list of table IDs.
	Ids []string `pulumi:"ids"`
	// The name of OTS instance.
	InstanceName string `pulumi:"instanceName"`
	// A regex string to filter results by table name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getTables.

type GetTablesOutputArgs

type GetTablesOutputArgs struct {
	// A list of table IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The name of OTS instance.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// A regex string to filter results by table name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getTables.

func (GetTablesOutputArgs) ElementType

func (GetTablesOutputArgs) ElementType() reflect.Type

type GetTablesResult

type GetTablesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of table IDs.
	Ids []string `pulumi:"ids"`
	// The OTS instance name.
	InstanceName string  `pulumi:"instanceName"`
	NameRegex    *string `pulumi:"nameRegex"`
	// A list of table names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of tables. Each element contains the following attributes:
	Tables []GetTablesTable `pulumi:"tables"`
}

A collection of values returned by getTables.

func GetTables deprecated

func GetTables(ctx *pulumi.Context, args *GetTablesArgs, opts ...pulumi.InvokeOption) (*GetTablesResult, error)

This data source provides the ots tables of the current Alibaba Cloud user.

> **NOTE:** Available in v1.40.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ots"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ots"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tablesDs, err := ots.GetTables(ctx, &ots.GetTablesArgs{
			InstanceName: "sample-instance",
			NameRegex:    pulumi.StringRef("sample-table"),
			OutputFile:   pulumi.StringRef("tables.txt"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstTableId", tablesDs.Tables[0].Id)
		return nil
	})
}

```

Deprecated: alicloud.oss.getTables has been deprecated in favor of alicloud.ots.getTables

type GetTablesResultOutput

type GetTablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTables.

func (GetTablesResultOutput) ElementType

func (GetTablesResultOutput) ElementType() reflect.Type

func (GetTablesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetTablesResultOutput) Ids

A list of table IDs.

func (GetTablesResultOutput) InstanceName

func (o GetTablesResultOutput) InstanceName() pulumi.StringOutput

The OTS instance name.

func (GetTablesResultOutput) NameRegex

func (GetTablesResultOutput) Names

A list of table names.

func (GetTablesResultOutput) OutputFile

func (GetTablesResultOutput) Tables

A list of tables. Each element contains the following attributes:

func (GetTablesResultOutput) ToGetTablesResultOutput

func (o GetTablesResultOutput) ToGetTablesResultOutput() GetTablesResultOutput

func (GetTablesResultOutput) ToGetTablesResultOutputWithContext

func (o GetTablesResultOutput) ToGetTablesResultOutputWithContext(ctx context.Context) GetTablesResultOutput

type GetTablesTable

type GetTablesTable struct {
	DefinedColumns []GetTablesTableDefinedColumn `pulumi:"definedColumns"`
	// ID of the table. The value is `<instance_name>:<table_name>`.
	Id string `pulumi:"id"`
	// The name of OTS instance.
	InstanceName string `pulumi:"instanceName"`
	// The maximum number of versions stored in this table.
	MaxVersion int `pulumi:"maxVersion"`
	// The property of `TableMeta` which indicates the structure information of a table.
	PrimaryKeys []GetTablesTablePrimaryKey `pulumi:"primaryKeys"`
	// The table name of the OTS which could not be changed.
	TableName string `pulumi:"tableName"`
	// The retention time of data stored in this table.
	TimeToLive int `pulumi:"timeToLive"`
}

type GetTablesTableArgs

type GetTablesTableArgs struct {
	DefinedColumns GetTablesTableDefinedColumnArrayInput `pulumi:"definedColumns"`
	// ID of the table. The value is `<instance_name>:<table_name>`.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of OTS instance.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// The maximum number of versions stored in this table.
	MaxVersion pulumi.IntInput `pulumi:"maxVersion"`
	// The property of `TableMeta` which indicates the structure information of a table.
	PrimaryKeys GetTablesTablePrimaryKeyArrayInput `pulumi:"primaryKeys"`
	// The table name of the OTS which could not be changed.
	TableName pulumi.StringInput `pulumi:"tableName"`
	// The retention time of data stored in this table.
	TimeToLive pulumi.IntInput `pulumi:"timeToLive"`
}

func (GetTablesTableArgs) ElementType

func (GetTablesTableArgs) ElementType() reflect.Type

func (GetTablesTableArgs) ToGetTablesTableOutput

func (i GetTablesTableArgs) ToGetTablesTableOutput() GetTablesTableOutput

func (GetTablesTableArgs) ToGetTablesTableOutputWithContext

func (i GetTablesTableArgs) ToGetTablesTableOutputWithContext(ctx context.Context) GetTablesTableOutput

type GetTablesTableArray

type GetTablesTableArray []GetTablesTableInput

func (GetTablesTableArray) ElementType

func (GetTablesTableArray) ElementType() reflect.Type

func (GetTablesTableArray) ToGetTablesTableArrayOutput

func (i GetTablesTableArray) ToGetTablesTableArrayOutput() GetTablesTableArrayOutput

func (GetTablesTableArray) ToGetTablesTableArrayOutputWithContext

func (i GetTablesTableArray) ToGetTablesTableArrayOutputWithContext(ctx context.Context) GetTablesTableArrayOutput

type GetTablesTableArrayInput

type GetTablesTableArrayInput interface {
	pulumi.Input

	ToGetTablesTableArrayOutput() GetTablesTableArrayOutput
	ToGetTablesTableArrayOutputWithContext(context.Context) GetTablesTableArrayOutput
}

GetTablesTableArrayInput is an input type that accepts GetTablesTableArray and GetTablesTableArrayOutput values. You can construct a concrete instance of `GetTablesTableArrayInput` via:

GetTablesTableArray{ GetTablesTableArgs{...} }

type GetTablesTableArrayOutput

type GetTablesTableArrayOutput struct{ *pulumi.OutputState }

func (GetTablesTableArrayOutput) ElementType

func (GetTablesTableArrayOutput) ElementType() reflect.Type

func (GetTablesTableArrayOutput) Index

func (GetTablesTableArrayOutput) ToGetTablesTableArrayOutput

func (o GetTablesTableArrayOutput) ToGetTablesTableArrayOutput() GetTablesTableArrayOutput

func (GetTablesTableArrayOutput) ToGetTablesTableArrayOutputWithContext

func (o GetTablesTableArrayOutput) ToGetTablesTableArrayOutputWithContext(ctx context.Context) GetTablesTableArrayOutput

type GetTablesTableDefinedColumn

type GetTablesTableDefinedColumn struct {
	Name string `pulumi:"name"`
	Type string `pulumi:"type"`
}

type GetTablesTableDefinedColumnArgs

type GetTablesTableDefinedColumnArgs struct {
	Name pulumi.StringInput `pulumi:"name"`
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetTablesTableDefinedColumnArgs) ElementType

func (GetTablesTableDefinedColumnArgs) ToGetTablesTableDefinedColumnOutput

func (i GetTablesTableDefinedColumnArgs) ToGetTablesTableDefinedColumnOutput() GetTablesTableDefinedColumnOutput

func (GetTablesTableDefinedColumnArgs) ToGetTablesTableDefinedColumnOutputWithContext

func (i GetTablesTableDefinedColumnArgs) ToGetTablesTableDefinedColumnOutputWithContext(ctx context.Context) GetTablesTableDefinedColumnOutput

type GetTablesTableDefinedColumnArray

type GetTablesTableDefinedColumnArray []GetTablesTableDefinedColumnInput

func (GetTablesTableDefinedColumnArray) ElementType

func (GetTablesTableDefinedColumnArray) ToGetTablesTableDefinedColumnArrayOutput

func (i GetTablesTableDefinedColumnArray) ToGetTablesTableDefinedColumnArrayOutput() GetTablesTableDefinedColumnArrayOutput

func (GetTablesTableDefinedColumnArray) ToGetTablesTableDefinedColumnArrayOutputWithContext

func (i GetTablesTableDefinedColumnArray) ToGetTablesTableDefinedColumnArrayOutputWithContext(ctx context.Context) GetTablesTableDefinedColumnArrayOutput

type GetTablesTableDefinedColumnArrayInput

type GetTablesTableDefinedColumnArrayInput interface {
	pulumi.Input

	ToGetTablesTableDefinedColumnArrayOutput() GetTablesTableDefinedColumnArrayOutput
	ToGetTablesTableDefinedColumnArrayOutputWithContext(context.Context) GetTablesTableDefinedColumnArrayOutput
}

GetTablesTableDefinedColumnArrayInput is an input type that accepts GetTablesTableDefinedColumnArray and GetTablesTableDefinedColumnArrayOutput values. You can construct a concrete instance of `GetTablesTableDefinedColumnArrayInput` via:

GetTablesTableDefinedColumnArray{ GetTablesTableDefinedColumnArgs{...} }

type GetTablesTableDefinedColumnArrayOutput

type GetTablesTableDefinedColumnArrayOutput struct{ *pulumi.OutputState }

func (GetTablesTableDefinedColumnArrayOutput) ElementType

func (GetTablesTableDefinedColumnArrayOutput) Index

func (GetTablesTableDefinedColumnArrayOutput) ToGetTablesTableDefinedColumnArrayOutput

func (o GetTablesTableDefinedColumnArrayOutput) ToGetTablesTableDefinedColumnArrayOutput() GetTablesTableDefinedColumnArrayOutput

func (GetTablesTableDefinedColumnArrayOutput) ToGetTablesTableDefinedColumnArrayOutputWithContext

func (o GetTablesTableDefinedColumnArrayOutput) ToGetTablesTableDefinedColumnArrayOutputWithContext(ctx context.Context) GetTablesTableDefinedColumnArrayOutput

type GetTablesTableDefinedColumnInput

type GetTablesTableDefinedColumnInput interface {
	pulumi.Input

	ToGetTablesTableDefinedColumnOutput() GetTablesTableDefinedColumnOutput
	ToGetTablesTableDefinedColumnOutputWithContext(context.Context) GetTablesTableDefinedColumnOutput
}

GetTablesTableDefinedColumnInput is an input type that accepts GetTablesTableDefinedColumnArgs and GetTablesTableDefinedColumnOutput values. You can construct a concrete instance of `GetTablesTableDefinedColumnInput` via:

GetTablesTableDefinedColumnArgs{...}

type GetTablesTableDefinedColumnOutput

type GetTablesTableDefinedColumnOutput struct{ *pulumi.OutputState }

func (GetTablesTableDefinedColumnOutput) ElementType

func (GetTablesTableDefinedColumnOutput) Name

func (GetTablesTableDefinedColumnOutput) ToGetTablesTableDefinedColumnOutput

func (o GetTablesTableDefinedColumnOutput) ToGetTablesTableDefinedColumnOutput() GetTablesTableDefinedColumnOutput

func (GetTablesTableDefinedColumnOutput) ToGetTablesTableDefinedColumnOutputWithContext

func (o GetTablesTableDefinedColumnOutput) ToGetTablesTableDefinedColumnOutputWithContext(ctx context.Context) GetTablesTableDefinedColumnOutput

func (GetTablesTableDefinedColumnOutput) Type

type GetTablesTableInput

type GetTablesTableInput interface {
	pulumi.Input

	ToGetTablesTableOutput() GetTablesTableOutput
	ToGetTablesTableOutputWithContext(context.Context) GetTablesTableOutput
}

GetTablesTableInput is an input type that accepts GetTablesTableArgs and GetTablesTableOutput values. You can construct a concrete instance of `GetTablesTableInput` via:

GetTablesTableArgs{...}

type GetTablesTableOutput

type GetTablesTableOutput struct{ *pulumi.OutputState }

func (GetTablesTableOutput) DefinedColumns

func (GetTablesTableOutput) ElementType

func (GetTablesTableOutput) ElementType() reflect.Type

func (GetTablesTableOutput) Id

ID of the table. The value is `<instance_name>:<table_name>`.

func (GetTablesTableOutput) InstanceName

func (o GetTablesTableOutput) InstanceName() pulumi.StringOutput

The name of OTS instance.

func (GetTablesTableOutput) MaxVersion

func (o GetTablesTableOutput) MaxVersion() pulumi.IntOutput

The maximum number of versions stored in this table.

func (GetTablesTableOutput) PrimaryKeys

The property of `TableMeta` which indicates the structure information of a table.

func (GetTablesTableOutput) TableName

The table name of the OTS which could not be changed.

func (GetTablesTableOutput) TimeToLive

func (o GetTablesTableOutput) TimeToLive() pulumi.IntOutput

The retention time of data stored in this table.

func (GetTablesTableOutput) ToGetTablesTableOutput

func (o GetTablesTableOutput) ToGetTablesTableOutput() GetTablesTableOutput

func (GetTablesTableOutput) ToGetTablesTableOutputWithContext

func (o GetTablesTableOutput) ToGetTablesTableOutputWithContext(ctx context.Context) GetTablesTableOutput

type GetTablesTablePrimaryKey

type GetTablesTablePrimaryKey struct {
	Name string `pulumi:"name"`
	Type string `pulumi:"type"`
}

type GetTablesTablePrimaryKeyArgs

type GetTablesTablePrimaryKeyArgs struct {
	Name pulumi.StringInput `pulumi:"name"`
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetTablesTablePrimaryKeyArgs) ElementType

func (GetTablesTablePrimaryKeyArgs) ToGetTablesTablePrimaryKeyOutput

func (i GetTablesTablePrimaryKeyArgs) ToGetTablesTablePrimaryKeyOutput() GetTablesTablePrimaryKeyOutput

func (GetTablesTablePrimaryKeyArgs) ToGetTablesTablePrimaryKeyOutputWithContext

func (i GetTablesTablePrimaryKeyArgs) ToGetTablesTablePrimaryKeyOutputWithContext(ctx context.Context) GetTablesTablePrimaryKeyOutput

type GetTablesTablePrimaryKeyArray

type GetTablesTablePrimaryKeyArray []GetTablesTablePrimaryKeyInput

func (GetTablesTablePrimaryKeyArray) ElementType

func (GetTablesTablePrimaryKeyArray) ToGetTablesTablePrimaryKeyArrayOutput

func (i GetTablesTablePrimaryKeyArray) ToGetTablesTablePrimaryKeyArrayOutput() GetTablesTablePrimaryKeyArrayOutput

func (GetTablesTablePrimaryKeyArray) ToGetTablesTablePrimaryKeyArrayOutputWithContext

func (i GetTablesTablePrimaryKeyArray) ToGetTablesTablePrimaryKeyArrayOutputWithContext(ctx context.Context) GetTablesTablePrimaryKeyArrayOutput

type GetTablesTablePrimaryKeyArrayInput

type GetTablesTablePrimaryKeyArrayInput interface {
	pulumi.Input

	ToGetTablesTablePrimaryKeyArrayOutput() GetTablesTablePrimaryKeyArrayOutput
	ToGetTablesTablePrimaryKeyArrayOutputWithContext(context.Context) GetTablesTablePrimaryKeyArrayOutput
}

GetTablesTablePrimaryKeyArrayInput is an input type that accepts GetTablesTablePrimaryKeyArray and GetTablesTablePrimaryKeyArrayOutput values. You can construct a concrete instance of `GetTablesTablePrimaryKeyArrayInput` via:

GetTablesTablePrimaryKeyArray{ GetTablesTablePrimaryKeyArgs{...} }

type GetTablesTablePrimaryKeyArrayOutput

type GetTablesTablePrimaryKeyArrayOutput struct{ *pulumi.OutputState }

func (GetTablesTablePrimaryKeyArrayOutput) ElementType

func (GetTablesTablePrimaryKeyArrayOutput) Index

func (GetTablesTablePrimaryKeyArrayOutput) ToGetTablesTablePrimaryKeyArrayOutput

func (o GetTablesTablePrimaryKeyArrayOutput) ToGetTablesTablePrimaryKeyArrayOutput() GetTablesTablePrimaryKeyArrayOutput

func (GetTablesTablePrimaryKeyArrayOutput) ToGetTablesTablePrimaryKeyArrayOutputWithContext

func (o GetTablesTablePrimaryKeyArrayOutput) ToGetTablesTablePrimaryKeyArrayOutputWithContext(ctx context.Context) GetTablesTablePrimaryKeyArrayOutput

type GetTablesTablePrimaryKeyInput

type GetTablesTablePrimaryKeyInput interface {
	pulumi.Input

	ToGetTablesTablePrimaryKeyOutput() GetTablesTablePrimaryKeyOutput
	ToGetTablesTablePrimaryKeyOutputWithContext(context.Context) GetTablesTablePrimaryKeyOutput
}

GetTablesTablePrimaryKeyInput is an input type that accepts GetTablesTablePrimaryKeyArgs and GetTablesTablePrimaryKeyOutput values. You can construct a concrete instance of `GetTablesTablePrimaryKeyInput` via:

GetTablesTablePrimaryKeyArgs{...}

type GetTablesTablePrimaryKeyOutput

type GetTablesTablePrimaryKeyOutput struct{ *pulumi.OutputState }

func (GetTablesTablePrimaryKeyOutput) ElementType

func (GetTablesTablePrimaryKeyOutput) Name

func (GetTablesTablePrimaryKeyOutput) ToGetTablesTablePrimaryKeyOutput

func (o GetTablesTablePrimaryKeyOutput) ToGetTablesTablePrimaryKeyOutput() GetTablesTablePrimaryKeyOutput

func (GetTablesTablePrimaryKeyOutput) ToGetTablesTablePrimaryKeyOutputWithContext

func (o GetTablesTablePrimaryKeyOutput) ToGetTablesTablePrimaryKeyOutputWithContext(ctx context.Context) GetTablesTablePrimaryKeyOutput

func (GetTablesTablePrimaryKeyOutput) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL