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 (o BucketLifecycleConfigurationPtrOutput) Elem() BucketLifecycleConfigurationOutput
- 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
- func (o BucketPolicyPtrOutput) Elem() BucketPolicyOutput
- func (BucketPolicyPtrOutput) ElementType() reflect.Type
- func (o BucketPolicyPtrOutput) ToBucketPolicyPtrOutput() BucketPolicyPtrOutput
- func (o BucketPolicyPtrOutput) ToBucketPolicyPtrOutputWithContext(ctx context.Context) 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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
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/v4/go/aws/s3control" "github.com/pulumi/pulumi/sdk/v3/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 ¶
func (*Bucket) ToBucketOutput ¶
func (i *Bucket) ToBucketOutput() BucketOutput
func (*Bucket) ToBucketOutputWithContext ¶
func (i *Bucket) ToBucketOutputWithContext(ctx context.Context) BucketOutput
func (*Bucket) ToBucketPtrOutput ¶
func (i *Bucket) ToBucketPtrOutput() BucketPtrOutput
func (*Bucket) ToBucketPtrOutputWithContext ¶
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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Bucket resource.
func (BucketArgs) ElementType ¶
func (BucketArgs) ElementType() reflect.Type
type BucketArray ¶
type BucketArray []BucketInput
func (BucketArray) ElementType ¶
func (BucketArray) ElementType() reflect.Type
func (BucketArray) ToBucketArrayOutput ¶
func (i BucketArray) ToBucketArrayOutput() BucketArrayOutput
func (BucketArray) ToBucketArrayOutputWithContext ¶
func (i BucketArray) ToBucketArrayOutputWithContext(ctx context.Context) BucketArrayOutput
type BucketArrayInput ¶
type BucketArrayInput interface { pulumi.Input ToBucketArrayOutput() BucketArrayOutput ToBucketArrayOutputWithContext(context.Context) BucketArrayOutput }
BucketArrayInput is an input type that accepts BucketArray and BucketArrayOutput values. You can construct a concrete instance of `BucketArrayInput` via:
BucketArray{ BucketArgs{...} }
type BucketArrayOutput ¶
type BucketArrayOutput struct{ *pulumi.OutputState }
func (BucketArrayOutput) ElementType ¶
func (BucketArrayOutput) ElementType() reflect.Type
func (BucketArrayOutput) Index ¶
func (o BucketArrayOutput) Index(i pulumi.IntInput) BucketOutput
func (BucketArrayOutput) ToBucketArrayOutput ¶
func (o BucketArrayOutput) ToBucketArrayOutput() BucketArrayOutput
func (BucketArrayOutput) ToBucketArrayOutputWithContext ¶
func (o BucketArrayOutput) ToBucketArrayOutputWithContext(ctx context.Context) BucketArrayOutput
type BucketInput ¶
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/v4/go/aws/s3control" "github.com/pulumi/pulumi/sdk/v3/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 ¶
func (*BucketLifecycleConfiguration) ElementType() reflect.Type
func (*BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutput ¶
func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutput() BucketLifecycleConfigurationOutput
func (*BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutputWithContext ¶
func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationOutput
func (*BucketLifecycleConfiguration) ToBucketLifecycleConfigurationPtrOutput ¶
func (i *BucketLifecycleConfiguration) ToBucketLifecycleConfigurationPtrOutput() BucketLifecycleConfigurationPtrOutput
func (*BucketLifecycleConfiguration) ToBucketLifecycleConfigurationPtrOutputWithContext ¶
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 ¶
type BucketLifecycleConfigurationArray []BucketLifecycleConfigurationInput
func (BucketLifecycleConfigurationArray) ElementType ¶
func (BucketLifecycleConfigurationArray) ElementType() reflect.Type
func (BucketLifecycleConfigurationArray) ToBucketLifecycleConfigurationArrayOutput ¶
func (i BucketLifecycleConfigurationArray) ToBucketLifecycleConfigurationArrayOutput() BucketLifecycleConfigurationArrayOutput
func (BucketLifecycleConfigurationArray) ToBucketLifecycleConfigurationArrayOutputWithContext ¶
func (i BucketLifecycleConfigurationArray) ToBucketLifecycleConfigurationArrayOutputWithContext(ctx context.Context) BucketLifecycleConfigurationArrayOutput
type BucketLifecycleConfigurationArrayInput ¶
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 ¶
type BucketLifecycleConfigurationArrayOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationArrayOutput) ElementType ¶
func (BucketLifecycleConfigurationArrayOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationArrayOutput) ToBucketLifecycleConfigurationArrayOutput ¶
func (o BucketLifecycleConfigurationArrayOutput) ToBucketLifecycleConfigurationArrayOutput() BucketLifecycleConfigurationArrayOutput
func (BucketLifecycleConfigurationArrayOutput) ToBucketLifecycleConfigurationArrayOutputWithContext ¶
func (o BucketLifecycleConfigurationArrayOutput) ToBucketLifecycleConfigurationArrayOutputWithContext(ctx context.Context) BucketLifecycleConfigurationArrayOutput
type BucketLifecycleConfigurationInput ¶
type BucketLifecycleConfigurationInput interface { pulumi.Input ToBucketLifecycleConfigurationOutput() BucketLifecycleConfigurationOutput ToBucketLifecycleConfigurationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationOutput }
type BucketLifecycleConfigurationMap ¶
type BucketLifecycleConfigurationMap map[string]BucketLifecycleConfigurationInput
func (BucketLifecycleConfigurationMap) ElementType ¶
func (BucketLifecycleConfigurationMap) ElementType() reflect.Type
func (BucketLifecycleConfigurationMap) ToBucketLifecycleConfigurationMapOutput ¶
func (i BucketLifecycleConfigurationMap) ToBucketLifecycleConfigurationMapOutput() BucketLifecycleConfigurationMapOutput
func (BucketLifecycleConfigurationMap) ToBucketLifecycleConfigurationMapOutputWithContext ¶
func (i BucketLifecycleConfigurationMap) ToBucketLifecycleConfigurationMapOutputWithContext(ctx context.Context) BucketLifecycleConfigurationMapOutput
type BucketLifecycleConfigurationMapInput ¶
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 ¶
type BucketLifecycleConfigurationMapOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationMapOutput) ElementType ¶
func (BucketLifecycleConfigurationMapOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationMapOutput) MapIndex ¶
func (o BucketLifecycleConfigurationMapOutput) MapIndex(k pulumi.StringInput) BucketLifecycleConfigurationOutput
func (BucketLifecycleConfigurationMapOutput) ToBucketLifecycleConfigurationMapOutput ¶
func (o BucketLifecycleConfigurationMapOutput) ToBucketLifecycleConfigurationMapOutput() BucketLifecycleConfigurationMapOutput
func (BucketLifecycleConfigurationMapOutput) ToBucketLifecycleConfigurationMapOutputWithContext ¶
func (o BucketLifecycleConfigurationMapOutput) ToBucketLifecycleConfigurationMapOutputWithContext(ctx context.Context) BucketLifecycleConfigurationMapOutput
type BucketLifecycleConfigurationOutput ¶
type BucketLifecycleConfigurationOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationOutput) ElementType ¶
func (BucketLifecycleConfigurationOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutput ¶
func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutput() BucketLifecycleConfigurationOutput
func (BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutputWithContext ¶
func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationOutputWithContext(ctx context.Context) BucketLifecycleConfigurationOutput
func (BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationPtrOutput ¶
func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationPtrOutput() BucketLifecycleConfigurationPtrOutput
func (BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationPtrOutputWithContext ¶
func (o BucketLifecycleConfigurationOutput) ToBucketLifecycleConfigurationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationPtrOutput
type BucketLifecycleConfigurationPtrInput ¶
type BucketLifecycleConfigurationPtrInput interface { pulumi.Input ToBucketLifecycleConfigurationPtrOutput() BucketLifecycleConfigurationPtrOutput ToBucketLifecycleConfigurationPtrOutputWithContext(ctx context.Context) BucketLifecycleConfigurationPtrOutput }
type BucketLifecycleConfigurationPtrOutput ¶
type BucketLifecycleConfigurationPtrOutput struct{ *pulumi.OutputState }
func (BucketLifecycleConfigurationPtrOutput) ElementType ¶
func (BucketLifecycleConfigurationPtrOutput) ElementType() reflect.Type
func (BucketLifecycleConfigurationPtrOutput) ToBucketLifecycleConfigurationPtrOutput ¶
func (o BucketLifecycleConfigurationPtrOutput) ToBucketLifecycleConfigurationPtrOutput() BucketLifecycleConfigurationPtrOutput
func (BucketLifecycleConfigurationPtrOutput) ToBucketLifecycleConfigurationPtrOutputWithContext ¶
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 ¶
type BucketMap map[string]BucketInput
func (BucketMap) ElementType ¶
func (BucketMap) ToBucketMapOutput ¶
func (i BucketMap) ToBucketMapOutput() BucketMapOutput
func (BucketMap) ToBucketMapOutputWithContext ¶
func (i BucketMap) ToBucketMapOutputWithContext(ctx context.Context) BucketMapOutput
type BucketMapInput ¶
type BucketMapInput interface { pulumi.Input ToBucketMapOutput() BucketMapOutput ToBucketMapOutputWithContext(context.Context) BucketMapOutput }
BucketMapInput is an input type that accepts BucketMap and BucketMapOutput values. You can construct a concrete instance of `BucketMapInput` via:
BucketMap{ "key": BucketArgs{...} }
type BucketMapOutput ¶
type BucketMapOutput struct{ *pulumi.OutputState }
func (BucketMapOutput) ElementType ¶
func (BucketMapOutput) ElementType() reflect.Type
func (BucketMapOutput) MapIndex ¶
func (o BucketMapOutput) MapIndex(k pulumi.StringInput) BucketOutput
func (BucketMapOutput) ToBucketMapOutput ¶
func (o BucketMapOutput) ToBucketMapOutput() BucketMapOutput
func (BucketMapOutput) ToBucketMapOutputWithContext ¶
func (o BucketMapOutput) ToBucketMapOutputWithContext(ctx context.Context) BucketMapOutput
type BucketOutput ¶
type BucketOutput struct{ *pulumi.OutputState }
func (BucketOutput) ElementType ¶
func (BucketOutput) ElementType() reflect.Type
func (BucketOutput) ToBucketOutput ¶
func (o BucketOutput) ToBucketOutput() BucketOutput
func (BucketOutput) ToBucketOutputWithContext ¶
func (o BucketOutput) ToBucketOutputWithContext(ctx context.Context) BucketOutput
func (BucketOutput) ToBucketPtrOutput ¶
func (o BucketOutput) ToBucketPtrOutput() BucketPtrOutput
func (BucketOutput) ToBucketPtrOutputWithContext ¶
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/v4/go/aws/s3control" "github.com/pulumi/pulumi/sdk/v3/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 ¶
func (*BucketPolicy) ElementType() reflect.Type
func (*BucketPolicy) ToBucketPolicyOutput ¶
func (i *BucketPolicy) ToBucketPolicyOutput() BucketPolicyOutput
func (*BucketPolicy) ToBucketPolicyOutputWithContext ¶
func (i *BucketPolicy) ToBucketPolicyOutputWithContext(ctx context.Context) BucketPolicyOutput
func (*BucketPolicy) ToBucketPolicyPtrOutput ¶
func (i *BucketPolicy) ToBucketPolicyPtrOutput() BucketPolicyPtrOutput
func (*BucketPolicy) ToBucketPolicyPtrOutputWithContext ¶
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 ¶
type BucketPolicyArray []BucketPolicyInput
func (BucketPolicyArray) ElementType ¶
func (BucketPolicyArray) ElementType() reflect.Type
func (BucketPolicyArray) ToBucketPolicyArrayOutput ¶
func (i BucketPolicyArray) ToBucketPolicyArrayOutput() BucketPolicyArrayOutput
func (BucketPolicyArray) ToBucketPolicyArrayOutputWithContext ¶
func (i BucketPolicyArray) ToBucketPolicyArrayOutputWithContext(ctx context.Context) BucketPolicyArrayOutput
type BucketPolicyArrayInput ¶
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 ¶
type BucketPolicyArrayOutput struct{ *pulumi.OutputState }
func (BucketPolicyArrayOutput) ElementType ¶
func (BucketPolicyArrayOutput) ElementType() reflect.Type
func (BucketPolicyArrayOutput) Index ¶
func (o BucketPolicyArrayOutput) Index(i pulumi.IntInput) BucketPolicyOutput
func (BucketPolicyArrayOutput) ToBucketPolicyArrayOutput ¶
func (o BucketPolicyArrayOutput) ToBucketPolicyArrayOutput() BucketPolicyArrayOutput
func (BucketPolicyArrayOutput) ToBucketPolicyArrayOutputWithContext ¶
func (o BucketPolicyArrayOutput) ToBucketPolicyArrayOutputWithContext(ctx context.Context) BucketPolicyArrayOutput
type BucketPolicyInput ¶
type BucketPolicyInput interface { pulumi.Input ToBucketPolicyOutput() BucketPolicyOutput ToBucketPolicyOutputWithContext(ctx context.Context) BucketPolicyOutput }
type BucketPolicyMap ¶
type BucketPolicyMap map[string]BucketPolicyInput
func (BucketPolicyMap) ElementType ¶
func (BucketPolicyMap) ElementType() reflect.Type
func (BucketPolicyMap) ToBucketPolicyMapOutput ¶
func (i BucketPolicyMap) ToBucketPolicyMapOutput() BucketPolicyMapOutput
func (BucketPolicyMap) ToBucketPolicyMapOutputWithContext ¶
func (i BucketPolicyMap) ToBucketPolicyMapOutputWithContext(ctx context.Context) BucketPolicyMapOutput
type BucketPolicyMapInput ¶
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 ¶
type BucketPolicyMapOutput struct{ *pulumi.OutputState }
func (BucketPolicyMapOutput) ElementType ¶
func (BucketPolicyMapOutput) ElementType() reflect.Type
func (BucketPolicyMapOutput) MapIndex ¶
func (o BucketPolicyMapOutput) MapIndex(k pulumi.StringInput) BucketPolicyOutput
func (BucketPolicyMapOutput) ToBucketPolicyMapOutput ¶
func (o BucketPolicyMapOutput) ToBucketPolicyMapOutput() BucketPolicyMapOutput
func (BucketPolicyMapOutput) ToBucketPolicyMapOutputWithContext ¶
func (o BucketPolicyMapOutput) ToBucketPolicyMapOutputWithContext(ctx context.Context) BucketPolicyMapOutput
type BucketPolicyOutput ¶
type BucketPolicyOutput struct{ *pulumi.OutputState }
func (BucketPolicyOutput) ElementType ¶
func (BucketPolicyOutput) ElementType() reflect.Type
func (BucketPolicyOutput) ToBucketPolicyOutput ¶
func (o BucketPolicyOutput) ToBucketPolicyOutput() BucketPolicyOutput
func (BucketPolicyOutput) ToBucketPolicyOutputWithContext ¶
func (o BucketPolicyOutput) ToBucketPolicyOutputWithContext(ctx context.Context) BucketPolicyOutput
func (BucketPolicyOutput) ToBucketPolicyPtrOutput ¶
func (o BucketPolicyOutput) ToBucketPolicyPtrOutput() BucketPolicyPtrOutput
func (BucketPolicyOutput) ToBucketPolicyPtrOutputWithContext ¶
func (o BucketPolicyOutput) ToBucketPolicyPtrOutputWithContext(ctx context.Context) BucketPolicyPtrOutput
type BucketPolicyPtrInput ¶
type BucketPolicyPtrInput interface { pulumi.Input ToBucketPolicyPtrOutput() BucketPolicyPtrOutput ToBucketPolicyPtrOutputWithContext(ctx context.Context) BucketPolicyPtrOutput }
type BucketPolicyPtrOutput ¶
type BucketPolicyPtrOutput struct{ *pulumi.OutputState }
func (BucketPolicyPtrOutput) Elem ¶ added in v4.15.0
func (o BucketPolicyPtrOutput) Elem() BucketPolicyOutput
func (BucketPolicyPtrOutput) ElementType ¶
func (BucketPolicyPtrOutput) ElementType() reflect.Type
func (BucketPolicyPtrOutput) ToBucketPolicyPtrOutput ¶
func (o BucketPolicyPtrOutput) ToBucketPolicyPtrOutput() BucketPolicyPtrOutput
func (BucketPolicyPtrOutput) ToBucketPolicyPtrOutputWithContext ¶
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 ¶
type BucketPtrInput interface { pulumi.Input ToBucketPtrOutput() BucketPtrOutput ToBucketPtrOutputWithContext(ctx context.Context) BucketPtrOutput }
type BucketPtrOutput ¶
type BucketPtrOutput struct{ *pulumi.OutputState }
func (BucketPtrOutput) Elem ¶ added in v4.15.0
func (o BucketPtrOutput) Elem() BucketOutput
func (BucketPtrOutput) ElementType ¶
func (BucketPtrOutput) ElementType() reflect.Type
func (BucketPtrOutput) ToBucketPtrOutput ¶
func (o BucketPtrOutput) ToBucketPtrOutput() BucketPtrOutput
func (BucketPtrOutput) ToBucketPtrOutputWithContext ¶
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. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (BucketState) ElementType ¶
func (BucketState) ElementType() reflect.Type