Documentation ¶
Index ¶
- type Bucket
- type BucketArgs
- type BucketInput
- type BucketLifecycleConfiguration
- func (*BucketLifecycleConfiguration) ElementType() reflect.Type
- func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutput() BucketLifecycleConfigurationOutput
- func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationOutput
- type BucketLifecycleConfigurationArgs
- type BucketLifecycleConfigurationInput
- type BucketLifecycleConfigurationOutput
- func (BucketLifecycleConfigurationOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutput() BucketLifecycleConfigurationOutput
- func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationOutput
- type BucketLifecycleConfigurationRule
- type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUpload
- type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs
- func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ElementType() reflect.Type
- func (i BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput
- func (i BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput
- func (i BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
- func (i BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
- type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadInput
- type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput
- func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) DaysAfterInitiation() pulumi.IntOutput
- func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput
- func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput
- func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
- func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
- type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrInput
- type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
- func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) DaysAfterInitiation() pulumi.IntPtrOutput
- func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) Elem() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput
- func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
- func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
- type BucketLifecycleConfigurationRuleArgs
- func (BucketLifecycleConfigurationRuleArgs) ElementType() reflect.Type
- func (i BucketLifecycleConfigurationRuleArgs) ToBucketLifecycleConfigurationRuleOutput() BucketLifecycleConfigurationRuleOutput
- func (i BucketLifecycleConfigurationRuleArgs) ToBucketLifecycleConfigurationRuleOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleOutput
- type BucketLifecycleConfigurationRuleArray
- func (BucketLifecycleConfigurationRuleArray) ElementType() reflect.Type
- func (i BucketLifecycleConfigurationRuleArray) ToBucketLifecycleConfigurationRuleArrayOutput() BucketLifecycleConfigurationRuleArrayOutput
- func (i BucketLifecycleConfigurationRuleArray) ToBucketLifecycleConfigurationRuleArrayOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleArrayOutput
- type BucketLifecycleConfigurationRuleArrayInput
- type BucketLifecycleConfigurationRuleArrayOutput
- func (BucketLifecycleConfigurationRuleArrayOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationRuleArrayOutput) Index(i pulumi.IntInput) BucketLifecycleConfigurationRuleOutput
- func (o BucketLifecycleConfigurationRuleArrayOutput) ToBucketLifecycleConfigurationRuleArrayOutput() BucketLifecycleConfigurationRuleArrayOutput
- func (o BucketLifecycleConfigurationRuleArrayOutput) ToBucketLifecycleConfigurationRuleArrayOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleArrayOutput
- type BucketLifecycleConfigurationRuleExpiration
- type BucketLifecycleConfigurationRuleExpirationArgs
- func (BucketLifecycleConfigurationRuleExpirationArgs) ElementType() reflect.Type
- func (i BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationOutput() BucketLifecycleConfigurationRuleExpirationOutput
- func (i BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleExpirationOutput
- func (i BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationPtrOutput() BucketLifecycleConfigurationRuleExpirationPtrOutput
- func (i BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleExpirationPtrOutput
- type BucketLifecycleConfigurationRuleExpirationInput
- type BucketLifecycleConfigurationRuleExpirationOutput
- func (o BucketLifecycleConfigurationRuleExpirationOutput) Date() pulumi.StringPtrOutput
- func (o BucketLifecycleConfigurationRuleExpirationOutput) Days() pulumi.IntPtrOutput
- func (BucketLifecycleConfigurationRuleExpirationOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationRuleExpirationOutput) ExpiredObjectDeleteMarker() pulumi.BoolPtrOutput
- func (o BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationOutput() BucketLifecycleConfigurationRuleExpirationOutput
- func (o BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleExpirationOutput
- func (o BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutput() BucketLifecycleConfigurationRuleExpirationPtrOutput
- func (o BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleExpirationPtrOutput
- type BucketLifecycleConfigurationRuleExpirationPtrInput
- type BucketLifecycleConfigurationRuleExpirationPtrOutput
- func (o BucketLifecycleConfigurationRuleExpirationPtrOutput) Date() pulumi.StringPtrOutput
- func (o BucketLifecycleConfigurationRuleExpirationPtrOutput) Days() pulumi.IntPtrOutput
- func (o BucketLifecycleConfigurationRuleExpirationPtrOutput) Elem() BucketLifecycleConfigurationRuleExpirationOutput
- func (BucketLifecycleConfigurationRuleExpirationPtrOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationRuleExpirationPtrOutput) ExpiredObjectDeleteMarker() pulumi.BoolPtrOutput
- func (o BucketLifecycleConfigurationRuleExpirationPtrOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutput() BucketLifecycleConfigurationRuleExpirationPtrOutput
- func (o BucketLifecycleConfigurationRuleExpirationPtrOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleExpirationPtrOutput
- type BucketLifecycleConfigurationRuleFilter
- type BucketLifecycleConfigurationRuleFilterArgs
- func (BucketLifecycleConfigurationRuleFilterArgs) ElementType() reflect.Type
- func (i BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterOutput() BucketLifecycleConfigurationRuleFilterOutput
- func (i BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleFilterOutput
- func (i BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterPtrOutput() BucketLifecycleConfigurationRuleFilterPtrOutput
- func (i BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleFilterPtrOutput
- type BucketLifecycleConfigurationRuleFilterInput
- type BucketLifecycleConfigurationRuleFilterOutput
- func (BucketLifecycleConfigurationRuleFilterOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationRuleFilterOutput) Prefix() pulumi.StringPtrOutput
- func (o BucketLifecycleConfigurationRuleFilterOutput) Tags() pulumi.StringMapOutput
- func (o BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterOutput() BucketLifecycleConfigurationRuleFilterOutput
- func (o BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleFilterOutput
- func (o BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutput() BucketLifecycleConfigurationRuleFilterPtrOutput
- func (o BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleFilterPtrOutput
- type BucketLifecycleConfigurationRuleFilterPtrInput
- type BucketLifecycleConfigurationRuleFilterPtrOutput
- func (o BucketLifecycleConfigurationRuleFilterPtrOutput) Elem() BucketLifecycleConfigurationRuleFilterOutput
- func (BucketLifecycleConfigurationRuleFilterPtrOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationRuleFilterPtrOutput) Prefix() pulumi.StringPtrOutput
- func (o BucketLifecycleConfigurationRuleFilterPtrOutput) Tags() pulumi.StringMapOutput
- func (o BucketLifecycleConfigurationRuleFilterPtrOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutput() BucketLifecycleConfigurationRuleFilterPtrOutput
- func (o BucketLifecycleConfigurationRuleFilterPtrOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleFilterPtrOutput
- type BucketLifecycleConfigurationRuleInput
- type BucketLifecycleConfigurationRuleOutput
- func (o BucketLifecycleConfigurationRuleOutput) AbortIncompleteMultipartUpload() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
- func (BucketLifecycleConfigurationRuleOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationRuleOutput) Expiration() BucketLifecycleConfigurationRuleExpirationPtrOutput
- func (o BucketLifecycleConfigurationRuleOutput) Filter() BucketLifecycleConfigurationRuleFilterPtrOutput
- func (o BucketLifecycleConfigurationRuleOutput) Id() pulumi.StringOutput
- func (o BucketLifecycleConfigurationRuleOutput) Status() pulumi.StringPtrOutput
- func (o BucketLifecycleConfigurationRuleOutput) ToBucketLifecycleConfigurationRuleOutput() BucketLifecycleConfigurationRuleOutput
- func (o BucketLifecycleConfigurationRuleOutput) ToBucketLifecycleConfigurationRuleOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleOutput
- type BucketLifecycleConfigurationState
- type BucketOutput
- type BucketPolicy
- type BucketPolicyArgs
- type BucketPolicyInput
- type BucketPolicyOutput
- type BucketPolicyState
- type BucketState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the bucket. Arn pulumi.StringOutput `pulumi:"arn"` // Name of the bucket. Bucket pulumi.StringOutput `pulumi:"bucket"` // UTC creation date in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). CreationDate pulumi.StringOutput `pulumi:"creationDate"` // Identifier of the Outpost to contain this bucket. OutpostId pulumi.StringOutput `pulumi:"outpostId"` // Boolean whether Public Access Block is enabled. PublicAccessBlockEnabled pulumi.BoolOutput `pulumi:"publicAccessBlockEnabled"` // Key-value map of resource tags. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Provides a resource to manage an S3 Control Bucket.
> This functionality is for managing [S3 on Outposts](https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html). To manage S3 Buckets in an AWS Partition, see the [`s3.Bucket` resource](https://www.terraform.io/docs/providers/aws/r/s3_bucket.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/s3control" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := s3control.NewBucket(ctx, "example", &s3control.BucketArgs{ Bucket: pulumi.String("example"), OutpostId: pulumi.Any(data.Aws_outposts_outpost.Example.Id), }) if err != nil { return err } return nil }) }
```
## Import
S3 Control Buckets can be imported using Amazon Resource Name (ARN), e.g.
```sh
$ pulumi import aws:s3control/bucket:Bucket example arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-12345678/bucket/example
```
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 ¶ added in v3.13.0
func (*Bucket) ToBucketOutput ¶ added in v3.13.0
func (i *Bucket) ToBucketOutput() BucketOutput
func (*Bucket) ToBucketOutputWithContext ¶ added in v3.13.0
func (i *Bucket) ToBucketOutputWithContext(ctx context.Context) BucketOutput
type BucketArgs ¶
type BucketArgs struct { // Name of the bucket. Bucket pulumi.StringInput // Identifier of the Outpost to contain this bucket. OutpostId pulumi.StringInput // Key-value map of resource tags. Tags pulumi.StringMapInput }
The set of arguments for constructing a Bucket resource.
func (BucketArgs) ElementType ¶
func (BucketArgs) ElementType() reflect.Type
type BucketInput ¶ added in v3.13.0
type BucketInput interface { pulumi.Input ToBucketOutput() BucketOutput ToBucketOutputWithContext(ctx context.Context) BucketOutput }
type BucketLifecycleConfiguration ¶
type BucketLifecycleConfiguration struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the bucket. Bucket pulumi.StringOutput `pulumi:"bucket"` // Configuration block(s) containing lifecycle rules for the bucket. Rules BucketLifecycleConfigurationRuleArrayOutput `pulumi:"rules"` }
## Import
S3 Control Bucket Lifecycle Configurations can be imported using the Amazon Resource Name (ARN), e.g.
```sh
$ pulumi import aws:s3control/bucketLifecycleConfiguration:BucketLifecycleConfiguration example arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-12345678/bucket/example
```
func GetBucketLifecycleConfiguration ¶
func GetBucketLifecycleConfiguration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BucketLifecycleConfigurationState, opts ...pulumi.ResourceOption) (*BucketLifecycleConfiguration, error)
GetBucketLifecycleConfiguration gets an existing BucketLifecycleConfiguration 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 NewBucketLifecycleConfiguration ¶
func NewBucketLifecycleConfiguration(ctx *pulumi.Context, name string, args *BucketLifecycleConfigurationArgs, opts ...pulumi.ResourceOption) (*BucketLifecycleConfiguration, error)
NewBucketLifecycleConfiguration registers a new resource with the given unique name, arguments, and options.
func (*BucketLifecycleConfiguration) ElementType ¶ added in v3.13.0
func (*BucketLifecycleConfiguration) ElementType() reflect.Type
func (*BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutput ¶ added in v3.13.0
func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutput() BucketLifecycleConfigurationOutput
func (*BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutputWithContext ¶ added in v3.13.0
func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationOutput
type BucketLifecycleConfigurationArgs ¶
type BucketLifecycleConfigurationArgs struct { // Amazon Resource Name (ARN) of the bucket. Bucket pulumi.StringInput // Configuration block(s) containing lifecycle rules for the bucket. Rules BucketLifecycleConfigurationRuleArrayInput }
The set of arguments for constructing a BucketLifecycleConfiguration resource.
func (BucketLifecycleConfigurationArgs) ElementType ¶
func (BucketLifecycleConfigurationArgs) ElementType() reflect.Type
type BucketLifecycleConfigurationInput ¶ added in v3.13.0
type BucketLifecycleConfigurationInput interface { pulumi.Input ToBucketLifecycleConfigurationOutput() BucketLifecycleConfigurationOutput ToBucketLifecycleConfigurationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationOutput }
type BucketLifecycleConfigurationOutput ¶ added in v3.13.0
type BucketLifecycleConfigurationOutput struct {
*pulumi.OutputState
}
func (BucketLifecycleConfigurationOutput) ElementType ¶ added in v3.13.0
func (BucketLifecycleConfigurationOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutput ¶ added in v3.13.0
func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutput() BucketLifecycleConfigurationOutput
func (BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutputWithContext ¶ added in v3.13.0
func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationOutput
type BucketLifecycleConfigurationRule ¶
type BucketLifecycleConfigurationRule struct { // Configuration block containing settings for abort incomplete multipart upload. AbortIncompleteMultipartUpload *BucketLifecycleConfigurationRuleAbortIncompleteMultipartUpload `pulumi:"abortIncompleteMultipartUpload"` // Configuration block containing settings for expiration of objects. Expiration *BucketLifecycleConfigurationRuleExpiration `pulumi:"expiration"` // Configuration block containing settings for filtering. Filter *BucketLifecycleConfigurationRuleFilter `pulumi:"filter"` // Unique identifier for the rule. Id string `pulumi:"id"` // Status of the rule. Valid values: `Enabled` and `Disabled`. Defaults to `Enabled`. Status *string `pulumi:"status"` }
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUpload ¶
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUpload struct { // Number of days after which Amazon S3 aborts an incomplete multipart upload. DaysAfterInitiation int `pulumi:"daysAfterInitiation"` }
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs ¶
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs struct { // Number of days after which Amazon S3 aborts an incomplete multipart upload. DaysAfterInitiation pulumi.IntInput `pulumi:"daysAfterInitiation"` }
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ElementType ¶
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput ¶
func (i BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutputWithContext ¶
func (i BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput ¶
func (i BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutputWithContext ¶
func (i BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadInput ¶
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadInput interface { pulumi.Input ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutputWithContext(context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput }
BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadInput is an input type that accepts BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs and BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput values. You can construct a concrete instance of `BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadInput` via:
BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs{...}
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput ¶
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) DaysAfterInitiation ¶
func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) DaysAfterInitiation() pulumi.IntOutput
Number of days after which Amazon S3 aborts an incomplete multipart upload.
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ElementType ¶
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput ¶
func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutputWithContext ¶
func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput ¶
func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutputWithContext ¶
func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrInput ¶
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrInput interface { pulumi.Input ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutputWithContext(context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput }
BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrInput is an input type that accepts BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs, BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtr and BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput values. You can construct a concrete instance of `BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrInput` via:
BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs{...} or: nil
func BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtr ¶
func BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtr(v *BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadArgs) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrInput
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput ¶
type BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) DaysAfterInitiation ¶
func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) DaysAfterInitiation() pulumi.IntPtrOutput
Number of days after which Amazon S3 aborts an incomplete multipart upload.
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) ElementType ¶
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput ¶
func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
func (BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutputWithContext ¶
func (o BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput) ToBucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
type BucketLifecycleConfigurationRuleArgs ¶
type BucketLifecycleConfigurationRuleArgs struct { // Configuration block containing settings for abort incomplete multipart upload. AbortIncompleteMultipartUpload BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrInput `pulumi:"abortIncompleteMultipartUpload"` // Configuration block containing settings for expiration of objects. Expiration BucketLifecycleConfigurationRuleExpirationPtrInput `pulumi:"expiration"` // Configuration block containing settings for filtering. Filter BucketLifecycleConfigurationRuleFilterPtrInput `pulumi:"filter"` // Unique identifier for the rule. Id pulumi.StringInput `pulumi:"id"` // Status of the rule. Valid values: `Enabled` and `Disabled`. Defaults to `Enabled`. Status pulumi.StringPtrInput `pulumi:"status"` }
func (BucketLifecycleConfigurationRuleArgs) ElementType ¶
func (BucketLifecycleConfigurationRuleArgs) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleArgs) ToBucketLifecycleConfigurationRuleOutput ¶
func (i BucketLifecycleConfigurationRuleArgs) ToBucketLifecycleConfigurationRuleOutput() BucketLifecycleConfigurationRuleOutput
func (BucketLifecycleConfigurationRuleArgs) ToBucketLifecycleConfigurationRuleOutputWithContext ¶
func (i BucketLifecycleConfigurationRuleArgs) ToBucketLifecycleConfigurationRuleOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleOutput
type BucketLifecycleConfigurationRuleArray ¶
type BucketLifecycleConfigurationRuleArray []BucketLifecycleConfigurationRuleInput
func (BucketLifecycleConfigurationRuleArray) ElementType ¶
func (BucketLifecycleConfigurationRuleArray) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleArray) ToBucketLifecycleConfigurationRuleArrayOutput ¶
func (i BucketLifecycleConfigurationRuleArray) ToBucketLifecycleConfigurationRuleArrayOutput() BucketLifecycleConfigurationRuleArrayOutput
func (BucketLifecycleConfigurationRuleArray) ToBucketLifecycleConfigurationRuleArrayOutputWithContext ¶
func (i BucketLifecycleConfigurationRuleArray) ToBucketLifecycleConfigurationRuleArrayOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleArrayOutput
type BucketLifecycleConfigurationRuleArrayInput ¶
type BucketLifecycleConfigurationRuleArrayInput interface { pulumi.Input ToBucketLifecycleConfigurationRuleArrayOutput() BucketLifecycleConfigurationRuleArrayOutput ToBucketLifecycleConfigurationRuleArrayOutputWithContext(context.Context) BucketLifecycleConfigurationRuleArrayOutput }
BucketLifecycleConfigurationRuleArrayInput is an input type that accepts BucketLifecycleConfigurationRuleArray and BucketLifecycleConfigurationRuleArrayOutput values. You can construct a concrete instance of `BucketLifecycleConfigurationRuleArrayInput` via:
BucketLifecycleConfigurationRuleArray{ BucketLifecycleConfigurationRuleArgs{...} }
type BucketLifecycleConfigurationRuleArrayOutput ¶
type BucketLifecycleConfigurationRuleArrayOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationRuleArrayOutput) ElementType ¶
func (BucketLifecycleConfigurationRuleArrayOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleArrayOutput) ToBucketLifecycleConfigurationRuleArrayOutput ¶
func (o BucketLifecycleConfigurationRuleArrayOutput) ToBucketLifecycleConfigurationRuleArrayOutput() BucketLifecycleConfigurationRuleArrayOutput
func (BucketLifecycleConfigurationRuleArrayOutput) ToBucketLifecycleConfigurationRuleArrayOutputWithContext ¶
func (o BucketLifecycleConfigurationRuleArrayOutput) ToBucketLifecycleConfigurationRuleArrayOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleArrayOutput
type BucketLifecycleConfigurationRuleExpiration ¶
type BucketLifecycleConfigurationRuleExpiration struct { // Date the object is to be deleted. Should be in `YYYY-MM-DD` date format, e.g. `2020-09-30`. Date *string `pulumi:"date"` // Number of days before the object is to be deleted. Days *int `pulumi:"days"` // Enable to remove a delete marker with no noncurrent versions. Cannot be specified with `date` or `days`. ExpiredObjectDeleteMarker *bool `pulumi:"expiredObjectDeleteMarker"` }
type BucketLifecycleConfigurationRuleExpirationArgs ¶
type BucketLifecycleConfigurationRuleExpirationArgs struct { // Date the object is to be deleted. Should be in `YYYY-MM-DD` date format, e.g. `2020-09-30`. Date pulumi.StringPtrInput `pulumi:"date"` // Number of days before the object is to be deleted. Days pulumi.IntPtrInput `pulumi:"days"` // Enable to remove a delete marker with no noncurrent versions. Cannot be specified with `date` or `days`. ExpiredObjectDeleteMarker pulumi.BoolPtrInput `pulumi:"expiredObjectDeleteMarker"` }
func (BucketLifecycleConfigurationRuleExpirationArgs) ElementType ¶
func (BucketLifecycleConfigurationRuleExpirationArgs) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationOutput ¶
func (i BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationOutput() BucketLifecycleConfigurationRuleExpirationOutput
func (BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationOutputWithContext ¶
func (i BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleExpirationOutput
func (BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationPtrOutput ¶
func (i BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationPtrOutput() BucketLifecycleConfigurationRuleExpirationPtrOutput
func (BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationPtrOutputWithContext ¶
func (i BucketLifecycleConfigurationRuleExpirationArgs) ToBucketLifecycleConfigurationRuleExpirationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleExpirationPtrOutput
type BucketLifecycleConfigurationRuleExpirationInput ¶
type BucketLifecycleConfigurationRuleExpirationInput interface { pulumi.Input ToBucketLifecycleConfigurationRuleExpirationOutput() BucketLifecycleConfigurationRuleExpirationOutput ToBucketLifecycleConfigurationRuleExpirationOutputWithContext(context.Context) BucketLifecycleConfigurationRuleExpirationOutput }
BucketLifecycleConfigurationRuleExpirationInput is an input type that accepts BucketLifecycleConfigurationRuleExpirationArgs and BucketLifecycleConfigurationRuleExpirationOutput values. You can construct a concrete instance of `BucketLifecycleConfigurationRuleExpirationInput` via:
BucketLifecycleConfigurationRuleExpirationArgs{...}
type BucketLifecycleConfigurationRuleExpirationOutput ¶
type BucketLifecycleConfigurationRuleExpirationOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationRuleExpirationOutput) Date ¶
func (o BucketLifecycleConfigurationRuleExpirationOutput) Date() pulumi.StringPtrOutput
Date the object is to be deleted. Should be in `YYYY-MM-DD` date format, e.g. `2020-09-30`.
func (BucketLifecycleConfigurationRuleExpirationOutput) Days ¶
func (o BucketLifecycleConfigurationRuleExpirationOutput) Days() pulumi.IntPtrOutput
Number of days before the object is to be deleted.
func (BucketLifecycleConfigurationRuleExpirationOutput) ElementType ¶
func (BucketLifecycleConfigurationRuleExpirationOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleExpirationOutput) ExpiredObjectDeleteMarker ¶
func (o BucketLifecycleConfigurationRuleExpirationOutput) ExpiredObjectDeleteMarker() pulumi.BoolPtrOutput
Enable to remove a delete marker with no noncurrent versions. Cannot be specified with `date` or `days`.
func (BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationOutput ¶
func (o BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationOutput() BucketLifecycleConfigurationRuleExpirationOutput
func (BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationOutputWithContext ¶
func (o BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleExpirationOutput
func (BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutput ¶
func (o BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutput() BucketLifecycleConfigurationRuleExpirationPtrOutput
func (BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutputWithContext ¶
func (o BucketLifecycleConfigurationRuleExpirationOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleExpirationPtrOutput
type BucketLifecycleConfigurationRuleExpirationPtrInput ¶
type BucketLifecycleConfigurationRuleExpirationPtrInput interface { pulumi.Input ToBucketLifecycleConfigurationRuleExpirationPtrOutput() BucketLifecycleConfigurationRuleExpirationPtrOutput ToBucketLifecycleConfigurationRuleExpirationPtrOutputWithContext(context.Context) BucketLifecycleConfigurationRuleExpirationPtrOutput }
BucketLifecycleConfigurationRuleExpirationPtrInput is an input type that accepts BucketLifecycleConfigurationRuleExpirationArgs, BucketLifecycleConfigurationRuleExpirationPtr and BucketLifecycleConfigurationRuleExpirationPtrOutput values. You can construct a concrete instance of `BucketLifecycleConfigurationRuleExpirationPtrInput` via:
BucketLifecycleConfigurationRuleExpirationArgs{...} or: nil
func BucketLifecycleConfigurationRuleExpirationPtr ¶
func BucketLifecycleConfigurationRuleExpirationPtr(v *BucketLifecycleConfigurationRuleExpirationArgs) BucketLifecycleConfigurationRuleExpirationPtrInput
type BucketLifecycleConfigurationRuleExpirationPtrOutput ¶
type BucketLifecycleConfigurationRuleExpirationPtrOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationRuleExpirationPtrOutput) Date ¶
func (o BucketLifecycleConfigurationRuleExpirationPtrOutput) Date() pulumi.StringPtrOutput
Date the object is to be deleted. Should be in `YYYY-MM-DD` date format, e.g. `2020-09-30`.
func (BucketLifecycleConfigurationRuleExpirationPtrOutput) Days ¶
func (o BucketLifecycleConfigurationRuleExpirationPtrOutput) Days() pulumi.IntPtrOutput
Number of days before the object is to be deleted.
func (BucketLifecycleConfigurationRuleExpirationPtrOutput) ElementType ¶
func (BucketLifecycleConfigurationRuleExpirationPtrOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleExpirationPtrOutput) ExpiredObjectDeleteMarker ¶
func (o BucketLifecycleConfigurationRuleExpirationPtrOutput) ExpiredObjectDeleteMarker() pulumi.BoolPtrOutput
Enable to remove a delete marker with no noncurrent versions. Cannot be specified with `date` or `days`.
func (BucketLifecycleConfigurationRuleExpirationPtrOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutput ¶
func (o BucketLifecycleConfigurationRuleExpirationPtrOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutput() BucketLifecycleConfigurationRuleExpirationPtrOutput
func (BucketLifecycleConfigurationRuleExpirationPtrOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutputWithContext ¶
func (o BucketLifecycleConfigurationRuleExpirationPtrOutput) ToBucketLifecycleConfigurationRuleExpirationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleExpirationPtrOutput
type BucketLifecycleConfigurationRuleFilterArgs ¶
type BucketLifecycleConfigurationRuleFilterArgs struct { // Object prefix for rule filtering. Prefix pulumi.StringPtrInput `pulumi:"prefix"` // Key-value map of object tags for rule filtering. Tags pulumi.StringMapInput `pulumi:"tags"` }
func (BucketLifecycleConfigurationRuleFilterArgs) ElementType ¶
func (BucketLifecycleConfigurationRuleFilterArgs) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterOutput ¶
func (i BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterOutput() BucketLifecycleConfigurationRuleFilterOutput
func (BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterOutputWithContext ¶
func (i BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleFilterOutput
func (BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterPtrOutput ¶
func (i BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterPtrOutput() BucketLifecycleConfigurationRuleFilterPtrOutput
func (BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterPtrOutputWithContext ¶
func (i BucketLifecycleConfigurationRuleFilterArgs) ToBucketLifecycleConfigurationRuleFilterPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleFilterPtrOutput
type BucketLifecycleConfigurationRuleFilterInput ¶
type BucketLifecycleConfigurationRuleFilterInput interface { pulumi.Input ToBucketLifecycleConfigurationRuleFilterOutput() BucketLifecycleConfigurationRuleFilterOutput ToBucketLifecycleConfigurationRuleFilterOutputWithContext(context.Context) BucketLifecycleConfigurationRuleFilterOutput }
BucketLifecycleConfigurationRuleFilterInput is an input type that accepts BucketLifecycleConfigurationRuleFilterArgs and BucketLifecycleConfigurationRuleFilterOutput values. You can construct a concrete instance of `BucketLifecycleConfigurationRuleFilterInput` via:
BucketLifecycleConfigurationRuleFilterArgs{...}
type BucketLifecycleConfigurationRuleFilterOutput ¶
type BucketLifecycleConfigurationRuleFilterOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationRuleFilterOutput) ElementType ¶
func (BucketLifecycleConfigurationRuleFilterOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleFilterOutput) Prefix ¶
func (o BucketLifecycleConfigurationRuleFilterOutput) Prefix() pulumi.StringPtrOutput
Object prefix for rule filtering.
func (BucketLifecycleConfigurationRuleFilterOutput) Tags ¶
func (o BucketLifecycleConfigurationRuleFilterOutput) Tags() pulumi.StringMapOutput
Key-value map of object tags for rule filtering.
func (BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterOutput ¶
func (o BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterOutput() BucketLifecycleConfigurationRuleFilterOutput
func (BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterOutputWithContext ¶
func (o BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleFilterOutput
func (BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutput ¶
func (o BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutput() BucketLifecycleConfigurationRuleFilterPtrOutput
func (BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutputWithContext ¶
func (o BucketLifecycleConfigurationRuleFilterOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleFilterPtrOutput
type BucketLifecycleConfigurationRuleFilterPtrInput ¶
type BucketLifecycleConfigurationRuleFilterPtrInput interface { pulumi.Input ToBucketLifecycleConfigurationRuleFilterPtrOutput() BucketLifecycleConfigurationRuleFilterPtrOutput ToBucketLifecycleConfigurationRuleFilterPtrOutputWithContext(context.Context) BucketLifecycleConfigurationRuleFilterPtrOutput }
BucketLifecycleConfigurationRuleFilterPtrInput is an input type that accepts BucketLifecycleConfigurationRuleFilterArgs, BucketLifecycleConfigurationRuleFilterPtr and BucketLifecycleConfigurationRuleFilterPtrOutput values. You can construct a concrete instance of `BucketLifecycleConfigurationRuleFilterPtrInput` via:
BucketLifecycleConfigurationRuleFilterArgs{...} or: nil
func BucketLifecycleConfigurationRuleFilterPtr ¶
func BucketLifecycleConfigurationRuleFilterPtr(v *BucketLifecycleConfigurationRuleFilterArgs) BucketLifecycleConfigurationRuleFilterPtrInput
type BucketLifecycleConfigurationRuleFilterPtrOutput ¶
type BucketLifecycleConfigurationRuleFilterPtrOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationRuleFilterPtrOutput) ElementType ¶
func (BucketLifecycleConfigurationRuleFilterPtrOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleFilterPtrOutput) Prefix ¶
func (o BucketLifecycleConfigurationRuleFilterPtrOutput) Prefix() pulumi.StringPtrOutput
Object prefix for rule filtering.
func (BucketLifecycleConfigurationRuleFilterPtrOutput) Tags ¶
func (o BucketLifecycleConfigurationRuleFilterPtrOutput) Tags() pulumi.StringMapOutput
Key-value map of object tags for rule filtering.
func (BucketLifecycleConfigurationRuleFilterPtrOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutput ¶
func (o BucketLifecycleConfigurationRuleFilterPtrOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutput() BucketLifecycleConfigurationRuleFilterPtrOutput
func (BucketLifecycleConfigurationRuleFilterPtrOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutputWithContext ¶
func (o BucketLifecycleConfigurationRuleFilterPtrOutput) ToBucketLifecycleConfigurationRuleFilterPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleFilterPtrOutput
type BucketLifecycleConfigurationRuleInput ¶
type BucketLifecycleConfigurationRuleInput interface { pulumi.Input ToBucketLifecycleConfigurationRuleOutput() BucketLifecycleConfigurationRuleOutput ToBucketLifecycleConfigurationRuleOutputWithContext(context.Context) BucketLifecycleConfigurationRuleOutput }
BucketLifecycleConfigurationRuleInput is an input type that accepts BucketLifecycleConfigurationRuleArgs and BucketLifecycleConfigurationRuleOutput values. You can construct a concrete instance of `BucketLifecycleConfigurationRuleInput` via:
BucketLifecycleConfigurationRuleArgs{...}
type BucketLifecycleConfigurationRuleOutput ¶
type BucketLifecycleConfigurationRuleOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationRuleOutput) AbortIncompleteMultipartUpload ¶
func (o BucketLifecycleConfigurationRuleOutput) AbortIncompleteMultipartUpload() BucketLifecycleConfigurationRuleAbortIncompleteMultipartUploadPtrOutput
Configuration block containing settings for abort incomplete multipart upload.
func (BucketLifecycleConfigurationRuleOutput) ElementType ¶
func (BucketLifecycleConfigurationRuleOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationRuleOutput) Expiration ¶
func (o BucketLifecycleConfigurationRuleOutput) Expiration() BucketLifecycleConfigurationRuleExpirationPtrOutput
Configuration block containing settings for expiration of objects.
func (BucketLifecycleConfigurationRuleOutput) Filter ¶
func (o BucketLifecycleConfigurationRuleOutput) Filter() BucketLifecycleConfigurationRuleFilterPtrOutput
Configuration block containing settings for filtering.
func (BucketLifecycleConfigurationRuleOutput) Id ¶
func (o BucketLifecycleConfigurationRuleOutput) Id() pulumi.StringOutput
Unique identifier for the rule.
func (BucketLifecycleConfigurationRuleOutput) Status ¶
func (o BucketLifecycleConfigurationRuleOutput) Status() pulumi.StringPtrOutput
Status of the rule. Valid values: `Enabled` and `Disabled`. Defaults to `Enabled`.
func (BucketLifecycleConfigurationRuleOutput) ToBucketLifecycleConfigurationRuleOutput ¶
func (o BucketLifecycleConfigurationRuleOutput) ToBucketLifecycleConfigurationRuleOutput() BucketLifecycleConfigurationRuleOutput
func (BucketLifecycleConfigurationRuleOutput) ToBucketLifecycleConfigurationRuleOutputWithContext ¶
func (o BucketLifecycleConfigurationRuleOutput) ToBucketLifecycleConfigurationRuleOutputWithContext(ctx context.Context) BucketLifecycleConfigurationRuleOutput
type BucketLifecycleConfigurationState ¶
type BucketLifecycleConfigurationState struct { // Amazon Resource Name (ARN) of the bucket. Bucket pulumi.StringPtrInput // Configuration block(s) containing lifecycle rules for the bucket. Rules BucketLifecycleConfigurationRuleArrayInput }
func (BucketLifecycleConfigurationState) ElementType ¶
func (BucketLifecycleConfigurationState) ElementType() reflect.Type
type BucketOutput ¶ added in v3.13.0
type BucketOutput struct {
*pulumi.OutputState
}
func (BucketOutput) ElementType ¶ added in v3.13.0
func (BucketOutput) ElementType() reflect.Type
func (BucketOutput) ToBucketOutput ¶ added in v3.13.0
func (o BucketOutput) ToBucketOutput() BucketOutput
func (BucketOutput) ToBucketOutputWithContext ¶ added in v3.13.0
func (o BucketOutput) ToBucketOutputWithContext(ctx context.Context) BucketOutput
type BucketPolicy ¶
type BucketPolicy struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the bucket. Bucket pulumi.StringOutput `pulumi:"bucket"` Policy pulumi.StringOutput `pulumi:"policy"` }
Provides a resource to manage an S3 Control Bucket Policy.
> This functionality is for managing [S3 on Outposts](https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html). To manage S3 Bucket Policies in an AWS Partition, see the [`s3.BucketPolicy` resource](https://www.terraform.io/docs/providers/aws/r/s3_bucket_policy.html).
## Example Usage
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/s3control" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal(map[string]interface{}{ "Id": "testBucketPolicy", "Statement": []map[string]interface{}{ map[string]interface{}{ "Action": "s3-outposts:PutBucketLifecycleConfiguration", "Effect": "Deny", "Principal": map[string]interface{}{ "AWS": "*", }, "Resource": aws_s3control_bucket.Example.Arn, "Sid": "statement1", }, }, "Version": "2012-10-17", }) if err != nil { return err } json0 := string(tmpJSON0) _, err := s3control.NewBucketPolicy(ctx, "example", &s3control.BucketPolicyArgs{ Bucket: pulumi.Any(aws_s3control_bucket.Example.Arn), Policy: pulumi.String(json0), }) if err != nil { return err } return nil }) }
```
## Import
S3 Control Bucket Policies can be imported using the Amazon Resource Name (ARN), e.g.
```sh
$ pulumi import aws:s3control/bucketPolicy:BucketPolicy example arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-12345678/bucket/example
```
func GetBucketPolicy ¶
func GetBucketPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BucketPolicyState, opts ...pulumi.ResourceOption) (*BucketPolicy, error)
GetBucketPolicy gets an existing BucketPolicy 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 NewBucketPolicy ¶
func NewBucketPolicy(ctx *pulumi.Context, name string, args *BucketPolicyArgs, opts ...pulumi.ResourceOption) (*BucketPolicy, error)
NewBucketPolicy registers a new resource with the given unique name, arguments, and options.
func (*BucketPolicy) ElementType ¶ added in v3.13.0
func (*BucketPolicy) ElementType() reflect.Type
func (*BucketPolicy) ToBucketPolicyOutput ¶ added in v3.13.0
func (i *BucketPolicy) ToBucketPolicyOutput() BucketPolicyOutput
func (*BucketPolicy) ToBucketPolicyOutputWithContext ¶ added in v3.13.0
func (i *BucketPolicy) ToBucketPolicyOutputWithContext(ctx context.Context) BucketPolicyOutput
type BucketPolicyArgs ¶
type BucketPolicyArgs struct { // Amazon Resource Name (ARN) of the bucket. Bucket pulumi.StringInput Policy pulumi.StringInput }
The set of arguments for constructing a BucketPolicy resource.
func (BucketPolicyArgs) ElementType ¶
func (BucketPolicyArgs) ElementType() reflect.Type
type BucketPolicyInput ¶ added in v3.13.0
type BucketPolicyInput interface { pulumi.Input ToBucketPolicyOutput() BucketPolicyOutput ToBucketPolicyOutputWithContext(ctx context.Context) BucketPolicyOutput }
type BucketPolicyOutput ¶ added in v3.13.0
type BucketPolicyOutput struct {
*pulumi.OutputState
}
func (BucketPolicyOutput) ElementType ¶ added in v3.13.0
func (BucketPolicyOutput) ElementType() reflect.Type
func (BucketPolicyOutput) ToBucketPolicyOutput ¶ added in v3.13.0
func (o BucketPolicyOutput) ToBucketPolicyOutput() BucketPolicyOutput
func (BucketPolicyOutput) ToBucketPolicyOutputWithContext ¶ added in v3.13.0
func (o BucketPolicyOutput) ToBucketPolicyOutputWithContext(ctx context.Context) BucketPolicyOutput
type BucketPolicyState ¶
type BucketPolicyState struct { // Amazon Resource Name (ARN) of the bucket. Bucket pulumi.StringPtrInput Policy pulumi.StringPtrInput }
func (BucketPolicyState) ElementType ¶
func (BucketPolicyState) ElementType() reflect.Type
type BucketState ¶
type BucketState struct { // Amazon Resource Name (ARN) of the bucket. Arn pulumi.StringPtrInput // Name of the bucket. Bucket pulumi.StringPtrInput // UTC creation date in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). CreationDate pulumi.StringPtrInput // Identifier of the Outpost to contain this bucket. OutpostId pulumi.StringPtrInput // Boolean whether Public Access Block is enabled. PublicAccessBlockEnabled pulumi.BoolPtrInput // Key-value map of resource tags. Tags pulumi.StringMapInput }
func (BucketState) ElementType ¶
func (BucketState) ElementType() reflect.Type