Documentation ¶
Index ¶
- type Bucket
- func (*Bucket) ElementType() reflect.Type
- func (i *Bucket) ToBucketOutput() BucketOutput
- func (i *Bucket) ToBucketOutputWithContext(ctx context.Context) BucketOutput
- func (i *Bucket) ToBucketPtrOutput() BucketPtrOutput
- func (i *Bucket) ToBucketPtrOutputWithContext(ctx context.Context) BucketPtrOutput
- type BucketArgs
- type BucketArray
- type BucketArrayInput
- type BucketArrayOutput
- type BucketInput
- type BucketLifecycleConfiguration
- func (*BucketLifecycleConfiguration) ElementType() reflect.Type
- func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutput() BucketLifecycleConfigurationOutput
- func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationOutput
- func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationPtrOutput() BucketLifecycleConfigurationPtrOutput
- func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationPtrOutput
- type BucketLifecycleConfigurationArgs
- type BucketLifecycleConfigurationArray
- func (BucketLifecycleConfigurationArray) ElementType() reflect.Type
- func (i BucketLifecycleConfigurationArray) ToBucketLifecycleConfigurationArrayOutput() BucketLifecycleConfigurationArrayOutput
- func (i BucketLifecycleConfigurationArray) ToBucketLifecycleConfigurationArrayOutputWithContext(ctx context.Context) BucketLifecycleConfigurationArrayOutput
- type BucketLifecycleConfigurationArrayInput
- type BucketLifecycleConfigurationArrayOutput
- func (BucketLifecycleConfigurationArrayOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationArrayOutput) Index(i pulumi.IntInput) BucketLifecycleConfigurationOutput
- func (o BucketLifecycleConfigurationArrayOutput) ToBucketLifecycleConfigurationArrayOutput() BucketLifecycleConfigurationArrayOutput
- func (o BucketLifecycleConfigurationArrayOutput) ToBucketLifecycleConfigurationArrayOutputWithContext(ctx context.Context) BucketLifecycleConfigurationArrayOutput
- type BucketLifecycleConfigurationInput
- type BucketLifecycleConfigurationMap
- func (BucketLifecycleConfigurationMap) ElementType() reflect.Type
- func (i BucketLifecycleConfigurationMap) ToBucketLifecycleConfigurationMapOutput() BucketLifecycleConfigurationMapOutput
- func (i BucketLifecycleConfigurationMap) ToBucketLifecycleConfigurationMapOutputWithContext(ctx context.Context) BucketLifecycleConfigurationMapOutput
- type BucketLifecycleConfigurationMapInput
- type BucketLifecycleConfigurationMapOutput
- func (BucketLifecycleConfigurationMapOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationMapOutput) MapIndex(k pulumi.StringInput) BucketLifecycleConfigurationOutput
- func (o BucketLifecycleConfigurationMapOutput) ToBucketLifecycleConfigurationMapOutput() BucketLifecycleConfigurationMapOutput
- func (o BucketLifecycleConfigurationMapOutput) ToBucketLifecycleConfigurationMapOutputWithContext(ctx context.Context) BucketLifecycleConfigurationMapOutput
- type BucketLifecycleConfigurationOutput
- func (BucketLifecycleConfigurationOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutput() BucketLifecycleConfigurationOutput
- func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationOutput
- func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationPtrOutput() BucketLifecycleConfigurationPtrOutput
- func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationPtrOutput
- type BucketLifecycleConfigurationPtrInput
- type BucketLifecycleConfigurationPtrOutput
- func (BucketLifecycleConfigurationPtrOutput) ElementType() reflect.Type
- func (o BucketLifecycleConfigurationPtrOutput) ToBucketLifecycleConfigurationPtrOutput() BucketLifecycleConfigurationPtrOutput
- func (o BucketLifecycleConfigurationPtrOutput) ToBucketLifecycleConfigurationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationPtrOutput
- 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 BucketMap
- type BucketMapInput
- type BucketMapOutput
- type BucketOutput
- func (BucketOutput) ElementType() reflect.Type
- func (o BucketOutput) ToBucketOutput() BucketOutput
- func (o BucketOutput) ToBucketOutputWithContext(ctx context.Context) BucketOutput
- func (o BucketOutput) ToBucketPtrOutput() BucketPtrOutput
- func (o BucketOutput) ToBucketPtrOutputWithContext(ctx context.Context) BucketPtrOutput
- type BucketPolicy
- func (*BucketPolicy) ElementType() reflect.Type
- func (i *BucketPolicy) ToBucketPolicyOutput() BucketPolicyOutput
- func (i *BucketPolicy) ToBucketPolicyOutputWithContext(ctx context.Context) BucketPolicyOutput
- func (i *BucketPolicy) ToBucketPolicyPtrOutput() BucketPolicyPtrOutput
- func (i *BucketPolicy) ToBucketPolicyPtrOutputWithContext(ctx context.Context) BucketPolicyPtrOutput
- type BucketPolicyArgs
- type BucketPolicyArray
- type BucketPolicyArrayInput
- type BucketPolicyArrayOutput
- func (BucketPolicyArrayOutput) ElementType() reflect.Type
- func (o BucketPolicyArrayOutput) Index(i pulumi.IntInput) BucketPolicyOutput
- func (o BucketPolicyArrayOutput) ToBucketPolicyArrayOutput() BucketPolicyArrayOutput
- func (o BucketPolicyArrayOutput) ToBucketPolicyArrayOutputWithContext(ctx context.Context) BucketPolicyArrayOutput
- type BucketPolicyInput
- type BucketPolicyMap
- type BucketPolicyMapInput
- type BucketPolicyMapOutput
- func (BucketPolicyMapOutput) ElementType() reflect.Type
- func (o BucketPolicyMapOutput) MapIndex(k pulumi.StringInput) BucketPolicyOutput
- func (o BucketPolicyMapOutput) ToBucketPolicyMapOutput() BucketPolicyMapOutput
- func (o BucketPolicyMapOutput) ToBucketPolicyMapOutputWithContext(ctx context.Context) BucketPolicyMapOutput
- type BucketPolicyOutput
- func (BucketPolicyOutput) ElementType() reflect.Type
- func (o BucketPolicyOutput) ToBucketPolicyOutput() BucketPolicyOutput
- func (o BucketPolicyOutput) ToBucketPolicyOutputWithContext(ctx context.Context) BucketPolicyOutput
- func (o BucketPolicyOutput) ToBucketPolicyPtrOutput() BucketPolicyPtrOutput
- func (o BucketPolicyOutput) ToBucketPolicyPtrOutputWithContext(ctx context.Context) BucketPolicyPtrOutput
- type BucketPolicyPtrInput
- type BucketPolicyPtrOutput
- type BucketPolicyState
- type BucketPtrInput
- type BucketPtrOutput
- 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.
## 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
func (*Bucket) ToBucketPtrOutput ¶ added in v3.25.0
func (i *Bucket) ToBucketPtrOutput() BucketPtrOutput
func (*Bucket) ToBucketPtrOutputWithContext ¶ added in v3.25.0
func (i *Bucket) ToBucketPtrOutputWithContext(ctx context.Context) BucketPtrOutput
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 BucketArray ¶ added in v3.25.0
type BucketArray []BucketInput
func (BucketArray) ElementType ¶ added in v3.25.0
func (BucketArray) ElementType() reflect.Type
func (BucketArray) ToBucketArrayOutput ¶ added in v3.25.0
func (i BucketArray) ToBucketArrayOutput() BucketArrayOutput
func (BucketArray) ToBucketArrayOutputWithContext ¶ added in v3.25.0
func (i BucketArray) ToBucketArrayOutputWithContext(ctx context.Context) BucketArrayOutput
type BucketArrayInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type BucketArrayOutput struct{ *pulumi.OutputState }
func (BucketArrayOutput) ElementType ¶ added in v3.25.0
func (BucketArrayOutput) ElementType() reflect.Type
func (BucketArrayOutput) Index ¶ added in v3.25.0
func (o BucketArrayOutput) Index(i pulumi.IntInput) BucketOutput
func (BucketArrayOutput) ToBucketArrayOutput ¶ added in v3.25.0
func (o BucketArrayOutput) ToBucketArrayOutput() BucketArrayOutput
func (BucketArrayOutput) ToBucketArrayOutputWithContext ¶ added in v3.25.0
func (o BucketArrayOutput) ToBucketArrayOutputWithContext(ctx context.Context) BucketArrayOutput
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"` }
Provides a resource to manage an S3 Control Bucket Lifecycle Configuration.
> **NOTE:** Each S3 Control Bucket can only have one Lifecycle Configuration. Using multiple of this resource against the same S3 Control Bucket will result in perpetual differences each provider run.
> This functionality is for managing [S3 on Outposts](https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html). To manage S3 Bucket Lifecycle Configurations in an AWS Partition, see the `s3.Bucket` resource.
## 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.NewBucketLifecycleConfiguration(ctx, "example", &s3control.BucketLifecycleConfigurationArgs{ Bucket: pulumi.Any(aws_s3control_bucket.Example.Arn), Rules: s3control.BucketLifecycleConfigurationRuleArray{ &s3control.BucketLifecycleConfigurationRuleArgs{ Expiration: &s3control.BucketLifecycleConfigurationRuleExpirationArgs{ Days: pulumi.Int(365), }, Filter: &s3control.BucketLifecycleConfigurationRuleFilterArgs{ Prefix: pulumi.String("logs/"), }, Id: pulumi.String("logs"), }, &s3control.BucketLifecycleConfigurationRuleArgs{ Expiration: &s3control.BucketLifecycleConfigurationRuleExpirationArgs{ Days: pulumi.Int(7), }, Filter: &s3control.BucketLifecycleConfigurationRuleFilterArgs{ Prefix: pulumi.String("temp/"), }, Id: pulumi.String("temp"), }, }, }) if err != nil { return err } return nil }) }
```
## 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
func (*BucketLifecycleConfiguration) ToBucketLifecycleConfigurationPtrOutput ¶ added in v3.25.0
func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationPtrOutput() BucketLifecycleConfigurationPtrOutput
func (*BucketLifecycleConfiguration) ToBucketLifecycleConfigurationPtrOutputWithContext ¶ added in v3.25.0
func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationPtrOutput
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 BucketLifecycleConfigurationArray ¶ added in v3.25.0
type BucketLifecycleConfigurationArray []BucketLifecycleConfigurationInput
func (BucketLifecycleConfigurationArray) ElementType ¶ added in v3.25.0
func (BucketLifecycleConfigurationArray) ElementType() reflect.Type
func (BucketLifecycleConfigurationArray) ToBucketLifecycleConfigurationArrayOutput ¶ added in v3.25.0
func (i BucketLifecycleConfigurationArray) ToBucketLifecycleConfigurationArrayOutput() BucketLifecycleConfigurationArrayOutput
func (BucketLifecycleConfigurationArray) ToBucketLifecycleConfigurationArrayOutputWithContext ¶ added in v3.25.0
func (i BucketLifecycleConfigurationArray) ToBucketLifecycleConfigurationArrayOutputWithContext(ctx context.Context) BucketLifecycleConfigurationArrayOutput
type BucketLifecycleConfigurationArrayInput ¶ added in v3.25.0
type BucketLifecycleConfigurationArrayInput interface { pulumi.Input ToBucketLifecycleConfigurationArrayOutput() BucketLifecycleConfigurationArrayOutput ToBucketLifecycleConfigurationArrayOutputWithContext(context.Context) BucketLifecycleConfigurationArrayOutput }
BucketLifecycleConfigurationArrayInput is an input type that accepts BucketLifecycleConfigurationArray and BucketLifecycleConfigurationArrayOutput values. You can construct a concrete instance of `BucketLifecycleConfigurationArrayInput` via:
BucketLifecycleConfigurationArray{ BucketLifecycleConfigurationArgs{...} }
type BucketLifecycleConfigurationArrayOutput ¶ added in v3.25.0
type BucketLifecycleConfigurationArrayOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationArrayOutput) ElementType ¶ added in v3.25.0
func (BucketLifecycleConfigurationArrayOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationArrayOutput) ToBucketLifecycleConfigurationArrayOutput ¶ added in v3.25.0
func (o BucketLifecycleConfigurationArrayOutput) ToBucketLifecycleConfigurationArrayOutput() BucketLifecycleConfigurationArrayOutput
func (BucketLifecycleConfigurationArrayOutput) ToBucketLifecycleConfigurationArrayOutputWithContext ¶ added in v3.25.0
func (o BucketLifecycleConfigurationArrayOutput) ToBucketLifecycleConfigurationArrayOutputWithContext(ctx context.Context) BucketLifecycleConfigurationArrayOutput
type BucketLifecycleConfigurationInput ¶ added in v3.13.0
type BucketLifecycleConfigurationInput interface { pulumi.Input ToBucketLifecycleConfigurationOutput() BucketLifecycleConfigurationOutput ToBucketLifecycleConfigurationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationOutput }
type BucketLifecycleConfigurationMap ¶ added in v3.25.0
type BucketLifecycleConfigurationMap map[string]BucketLifecycleConfigurationInput
func (BucketLifecycleConfigurationMap) ElementType ¶ added in v3.25.0
func (BucketLifecycleConfigurationMap) ElementType() reflect.Type
func (BucketLifecycleConfigurationMap) ToBucketLifecycleConfigurationMapOutput ¶ added in v3.25.0
func (i BucketLifecycleConfigurationMap) ToBucketLifecycleConfigurationMapOutput() BucketLifecycleConfigurationMapOutput
func (BucketLifecycleConfigurationMap) ToBucketLifecycleConfigurationMapOutputWithContext ¶ added in v3.25.0
func (i BucketLifecycleConfigurationMap) ToBucketLifecycleConfigurationMapOutputWithContext(ctx context.Context) BucketLifecycleConfigurationMapOutput
type BucketLifecycleConfigurationMapInput ¶ added in v3.25.0
type BucketLifecycleConfigurationMapInput interface { pulumi.Input ToBucketLifecycleConfigurationMapOutput() BucketLifecycleConfigurationMapOutput ToBucketLifecycleConfigurationMapOutputWithContext(context.Context) BucketLifecycleConfigurationMapOutput }
BucketLifecycleConfigurationMapInput is an input type that accepts BucketLifecycleConfigurationMap and BucketLifecycleConfigurationMapOutput values. You can construct a concrete instance of `BucketLifecycleConfigurationMapInput` via:
BucketLifecycleConfigurationMap{ "key": BucketLifecycleConfigurationArgs{...} }
type BucketLifecycleConfigurationMapOutput ¶ added in v3.25.0
type BucketLifecycleConfigurationMapOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationMapOutput) ElementType ¶ added in v3.25.0
func (BucketLifecycleConfigurationMapOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationMapOutput) MapIndex ¶ added in v3.25.0
func (o BucketLifecycleConfigurationMapOutput) MapIndex(k pulumi.StringInput) BucketLifecycleConfigurationOutput
func (BucketLifecycleConfigurationMapOutput) ToBucketLifecycleConfigurationMapOutput ¶ added in v3.25.0
func (o BucketLifecycleConfigurationMapOutput) ToBucketLifecycleConfigurationMapOutput() BucketLifecycleConfigurationMapOutput
func (BucketLifecycleConfigurationMapOutput) ToBucketLifecycleConfigurationMapOutputWithContext ¶ added in v3.25.0
func (o BucketLifecycleConfigurationMapOutput) ToBucketLifecycleConfigurationMapOutputWithContext(ctx context.Context) BucketLifecycleConfigurationMapOutput
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
func (BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationPtrOutput ¶ added in v3.25.0
func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationPtrOutput() BucketLifecycleConfigurationPtrOutput
func (BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationPtrOutputWithContext ¶ added in v3.25.0
func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationPtrOutput
type BucketLifecycleConfigurationPtrInput ¶ added in v3.25.0
type BucketLifecycleConfigurationPtrInput interface { pulumi.Input ToBucketLifecycleConfigurationPtrOutput() BucketLifecycleConfigurationPtrOutput ToBucketLifecycleConfigurationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationPtrOutput }
type BucketLifecycleConfigurationPtrOutput ¶ added in v3.25.0
type BucketLifecycleConfigurationPtrOutput struct {
*pulumi.OutputState
}
func (BucketLifecycleConfigurationPtrOutput) ElementType ¶ added in v3.25.0
func (BucketLifecycleConfigurationPtrOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationPtrOutput) ToBucketLifecycleConfigurationPtrOutput ¶ added in v3.25.0
func (o BucketLifecycleConfigurationPtrOutput) ToBucketLifecycleConfigurationPtrOutput() BucketLifecycleConfigurationPtrOutput
func (BucketLifecycleConfigurationPtrOutput) ToBucketLifecycleConfigurationPtrOutputWithContext ¶ added in v3.25.0
func (o BucketLifecycleConfigurationPtrOutput) ToBucketLifecycleConfigurationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationPtrOutput
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 BucketMap ¶ added in v3.25.0
type BucketMap map[string]BucketInput
func (BucketMap) ElementType ¶ added in v3.25.0
func (BucketMap) ToBucketMapOutput ¶ added in v3.25.0
func (i BucketMap) ToBucketMapOutput() BucketMapOutput
func (BucketMap) ToBucketMapOutputWithContext ¶ added in v3.25.0
func (i BucketMap) ToBucketMapOutputWithContext(ctx context.Context) BucketMapOutput
type BucketMapInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type BucketMapOutput struct{ *pulumi.OutputState }
func (BucketMapOutput) ElementType ¶ added in v3.25.0
func (BucketMapOutput) ElementType() reflect.Type
func (BucketMapOutput) MapIndex ¶ added in v3.25.0
func (o BucketMapOutput) MapIndex(k pulumi.StringInput) BucketOutput
func (BucketMapOutput) ToBucketMapOutput ¶ added in v3.25.0
func (o BucketMapOutput) ToBucketMapOutput() BucketMapOutput
func (BucketMapOutput) ToBucketMapOutputWithContext ¶ added in v3.25.0
func (o BucketMapOutput) ToBucketMapOutputWithContext(ctx context.Context) BucketMapOutput
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
func (BucketOutput) ToBucketPtrOutput ¶ added in v3.25.0
func (o BucketOutput) ToBucketPtrOutput() BucketPtrOutput
func (BucketOutput) ToBucketPtrOutputWithContext ¶ added in v3.25.0
func (o BucketOutput) ToBucketPtrOutputWithContext(ctx context.Context) BucketPtrOutput
type BucketPolicy ¶
type BucketPolicy struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the bucket. Bucket pulumi.StringOutput `pulumi:"bucket"` // JSON string of the resource policy. 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.
## 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
func (*BucketPolicy) ToBucketPolicyPtrOutput ¶ added in v3.25.0
func (i *BucketPolicy) ToBucketPolicyPtrOutput() BucketPolicyPtrOutput
func (*BucketPolicy) ToBucketPolicyPtrOutputWithContext ¶ added in v3.25.0
func (i *BucketPolicy) ToBucketPolicyPtrOutputWithContext(ctx context.Context) BucketPolicyPtrOutput
type BucketPolicyArgs ¶
type BucketPolicyArgs struct { // Amazon Resource Name (ARN) of the bucket. Bucket pulumi.StringInput // JSON string of the resource policy. Policy pulumi.StringInput }
The set of arguments for constructing a BucketPolicy resource.
func (BucketPolicyArgs) ElementType ¶
func (BucketPolicyArgs) ElementType() reflect.Type
type BucketPolicyArray ¶ added in v3.25.0
type BucketPolicyArray []BucketPolicyInput
func (BucketPolicyArray) ElementType ¶ added in v3.25.0
func (BucketPolicyArray) ElementType() reflect.Type
func (BucketPolicyArray) ToBucketPolicyArrayOutput ¶ added in v3.25.0
func (i BucketPolicyArray) ToBucketPolicyArrayOutput() BucketPolicyArrayOutput
func (BucketPolicyArray) ToBucketPolicyArrayOutputWithContext ¶ added in v3.25.0
func (i BucketPolicyArray) ToBucketPolicyArrayOutputWithContext(ctx context.Context) BucketPolicyArrayOutput
type BucketPolicyArrayInput ¶ added in v3.25.0
type BucketPolicyArrayInput interface { pulumi.Input ToBucketPolicyArrayOutput() BucketPolicyArrayOutput ToBucketPolicyArrayOutputWithContext(context.Context) BucketPolicyArrayOutput }
BucketPolicyArrayInput is an input type that accepts BucketPolicyArray and BucketPolicyArrayOutput values. You can construct a concrete instance of `BucketPolicyArrayInput` via:
BucketPolicyArray{ BucketPolicyArgs{...} }
type BucketPolicyArrayOutput ¶ added in v3.25.0
type BucketPolicyArrayOutput struct{ *pulumi.OutputState }
func (BucketPolicyArrayOutput) ElementType ¶ added in v3.25.0
func (BucketPolicyArrayOutput) ElementType() reflect.Type
func (BucketPolicyArrayOutput) Index ¶ added in v3.25.0
func (o BucketPolicyArrayOutput) Index(i pulumi.IntInput) BucketPolicyOutput
func (BucketPolicyArrayOutput) ToBucketPolicyArrayOutput ¶ added in v3.25.0
func (o BucketPolicyArrayOutput) ToBucketPolicyArrayOutput() BucketPolicyArrayOutput
func (BucketPolicyArrayOutput) ToBucketPolicyArrayOutputWithContext ¶ added in v3.25.0
func (o BucketPolicyArrayOutput) ToBucketPolicyArrayOutputWithContext(ctx context.Context) BucketPolicyArrayOutput
type BucketPolicyInput ¶ added in v3.13.0
type BucketPolicyInput interface { pulumi.Input ToBucketPolicyOutput() BucketPolicyOutput ToBucketPolicyOutputWithContext(ctx context.Context) BucketPolicyOutput }
type BucketPolicyMap ¶ added in v3.25.0
type BucketPolicyMap map[string]BucketPolicyInput
func (BucketPolicyMap) ElementType ¶ added in v3.25.0
func (BucketPolicyMap) ElementType() reflect.Type
func (BucketPolicyMap) ToBucketPolicyMapOutput ¶ added in v3.25.0
func (i BucketPolicyMap) ToBucketPolicyMapOutput() BucketPolicyMapOutput
func (BucketPolicyMap) ToBucketPolicyMapOutputWithContext ¶ added in v3.25.0
func (i BucketPolicyMap) ToBucketPolicyMapOutputWithContext(ctx context.Context) BucketPolicyMapOutput
type BucketPolicyMapInput ¶ added in v3.25.0
type BucketPolicyMapInput interface { pulumi.Input ToBucketPolicyMapOutput() BucketPolicyMapOutput ToBucketPolicyMapOutputWithContext(context.Context) BucketPolicyMapOutput }
BucketPolicyMapInput is an input type that accepts BucketPolicyMap and BucketPolicyMapOutput values. You can construct a concrete instance of `BucketPolicyMapInput` via:
BucketPolicyMap{ "key": BucketPolicyArgs{...} }
type BucketPolicyMapOutput ¶ added in v3.25.0
type BucketPolicyMapOutput struct{ *pulumi.OutputState }
func (BucketPolicyMapOutput) ElementType ¶ added in v3.25.0
func (BucketPolicyMapOutput) ElementType() reflect.Type
func (BucketPolicyMapOutput) MapIndex ¶ added in v3.25.0
func (o BucketPolicyMapOutput) MapIndex(k pulumi.StringInput) BucketPolicyOutput
func (BucketPolicyMapOutput) ToBucketPolicyMapOutput ¶ added in v3.25.0
func (o BucketPolicyMapOutput) ToBucketPolicyMapOutput() BucketPolicyMapOutput
func (BucketPolicyMapOutput) ToBucketPolicyMapOutputWithContext ¶ added in v3.25.0
func (o BucketPolicyMapOutput) ToBucketPolicyMapOutputWithContext(ctx context.Context) BucketPolicyMapOutput
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
func (BucketPolicyOutput) ToBucketPolicyPtrOutput ¶ added in v3.25.0
func (o BucketPolicyOutput) ToBucketPolicyPtrOutput() BucketPolicyPtrOutput
func (BucketPolicyOutput) ToBucketPolicyPtrOutputWithContext ¶ added in v3.25.0
func (o BucketPolicyOutput) ToBucketPolicyPtrOutputWithContext(ctx context.Context) BucketPolicyPtrOutput
type BucketPolicyPtrInput ¶ added in v3.25.0
type BucketPolicyPtrInput interface { pulumi.Input ToBucketPolicyPtrOutput() BucketPolicyPtrOutput ToBucketPolicyPtrOutputWithContext(ctx context.Context) BucketPolicyPtrOutput }
type BucketPolicyPtrOutput ¶ added in v3.25.0
type BucketPolicyPtrOutput struct {
*pulumi.OutputState
}
func (BucketPolicyPtrOutput) ElementType ¶ added in v3.25.0
func (BucketPolicyPtrOutput) ElementType() reflect.Type
func (BucketPolicyPtrOutput) ToBucketPolicyPtrOutput ¶ added in v3.25.0
func (o BucketPolicyPtrOutput) ToBucketPolicyPtrOutput() BucketPolicyPtrOutput
func (BucketPolicyPtrOutput) ToBucketPolicyPtrOutputWithContext ¶ added in v3.25.0
func (o BucketPolicyPtrOutput) ToBucketPolicyPtrOutputWithContext(ctx context.Context) BucketPolicyPtrOutput
type BucketPolicyState ¶
type BucketPolicyState struct { // Amazon Resource Name (ARN) of the bucket. Bucket pulumi.StringPtrInput // JSON string of the resource policy. Policy pulumi.StringPtrInput }
func (BucketPolicyState) ElementType ¶
func (BucketPolicyState) ElementType() reflect.Type
type BucketPtrInput ¶ added in v3.25.0
type BucketPtrInput interface { pulumi.Input ToBucketPtrOutput() BucketPtrOutput ToBucketPtrOutputWithContext(ctx context.Context) BucketPtrOutput }
type BucketPtrOutput ¶ added in v3.25.0
type BucketPtrOutput struct {
*pulumi.OutputState
}
func (BucketPtrOutput) ElementType ¶ added in v3.25.0
func (BucketPtrOutput) ElementType() reflect.Type
func (BucketPtrOutput) ToBucketPtrOutput ¶ added in v3.25.0
func (o BucketPtrOutput) ToBucketPtrOutput() BucketPtrOutput
func (BucketPtrOutput) ToBucketPtrOutputWithContext ¶ added in v3.25.0
func (o BucketPtrOutput) ToBucketPtrOutputWithContext(ctx context.Context) BucketPtrOutput
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