We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.s3outposts.getBucket
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
Resource Type Definition for AWS::S3Outposts::Bucket
Using getBucket
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBucket(args: GetBucketArgs, opts?: InvokeOptions): Promise<GetBucketResult>
function getBucketOutput(args: GetBucketOutputArgs, opts?: InvokeOptions): Output<GetBucketResult>def get_bucket(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBucketResult
def get_bucket_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBucketResult]func LookupBucket(ctx *Context, args *LookupBucketArgs, opts ...InvokeOption) (*LookupBucketResult, error)
func LookupBucketOutput(ctx *Context, args *LookupBucketOutputArgs, opts ...InvokeOption) LookupBucketResultOutput> Note: This function is named LookupBucket in the Go SDK.
public static class GetBucket
{
public static Task<GetBucketResult> InvokeAsync(GetBucketArgs args, InvokeOptions? opts = null)
public static Output<GetBucketResult> Invoke(GetBucketInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBucketResult> getBucket(GetBucketArgs args, InvokeOptions options)
public static Output<GetBucketResult> getBucket(GetBucketArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:s3outposts:getBucket
arguments:
# arguments dictionaryThe following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the specified bucket.
- Arn string
- The Amazon Resource Name (ARN) of the specified bucket.
- arn String
- The Amazon Resource Name (ARN) of the specified bucket.
- arn string
- The Amazon Resource Name (ARN) of the specified bucket.
- arn str
- The Amazon Resource Name (ARN) of the specified bucket.
- arn String
- The Amazon Resource Name (ARN) of the specified bucket.
getBucket Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the specified bucket.
- Lifecycle
Configuration Pulumi.Aws Native. S3Outposts. Outputs. Bucket Lifecycle Configuration - Rules that define how Amazon S3Outposts manages objects during their lifetime.
-
List<Pulumi.
Aws Native. Outputs. Tag> - An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
- Arn string
- The Amazon Resource Name (ARN) of the specified bucket.
- Lifecycle
Configuration BucketLifecycle Configuration - Rules that define how Amazon S3Outposts manages objects during their lifetime.
- Tag
- An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
- arn String
- The Amazon Resource Name (ARN) of the specified bucket.
- lifecycle
Configuration BucketLifecycle Configuration - Rules that define how Amazon S3Outposts manages objects during their lifetime.
- List<Tag>
- An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
- arn string
- The Amazon Resource Name (ARN) of the specified bucket.
- lifecycle
Configuration BucketLifecycle Configuration - Rules that define how Amazon S3Outposts manages objects during their lifetime.
- Tag[]
- An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
- arn str
- The Amazon Resource Name (ARN) of the specified bucket.
- lifecycle_
configuration BucketLifecycle Configuration - Rules that define how Amazon S3Outposts manages objects during their lifetime.
- Sequence[root_Tag]
- An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
- arn String
- The Amazon Resource Name (ARN) of the specified bucket.
- lifecycle
Configuration Property Map - Rules that define how Amazon S3Outposts manages objects during their lifetime.
- List<Property Map>
- An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
Supporting Types
BucketAbortIncompleteMultipartUpload
- Days
After intInitiation - Specifies the number of days after which Amazon S3Outposts aborts an incomplete multipart upload.
- Days
After intInitiation - Specifies the number of days after which Amazon S3Outposts aborts an incomplete multipart upload.
- days
After IntegerInitiation - Specifies the number of days after which Amazon S3Outposts aborts an incomplete multipart upload.
- days
After numberInitiation - Specifies the number of days after which Amazon S3Outposts aborts an incomplete multipart upload.
- days_
after_ intinitiation - Specifies the number of days after which Amazon S3Outposts aborts an incomplete multipart upload.
- days
After NumberInitiation - Specifies the number of days after which Amazon S3Outposts aborts an incomplete multipart upload.
BucketFilterAndOperatorProperties
-
List<Pulumi.
Aws Native. S3Outposts. Inputs. Bucket Filter Tag> - All of these tags must exist in the object's tag set in order for the rule to apply.
- Prefix string
- Prefix identifies one or more objects to which the rule applies.
-
[]Bucket
Filter Tag - All of these tags must exist in the object's tag set in order for the rule to apply.
- Prefix string
- Prefix identifies one or more objects to which the rule applies.
-
List<Bucket
Filter Tag> - All of these tags must exist in the object's tag set in order for the rule to apply.
- prefix String
- Prefix identifies one or more objects to which the rule applies.
-
Bucket
Filter Tag[] - All of these tags must exist in the object's tag set in order for the rule to apply.
- prefix string
- Prefix identifies one or more objects to which the rule applies.
-
Sequence[Bucket
Filter Tag] - All of these tags must exist in the object's tag set in order for the rule to apply.
- prefix str
- Prefix identifies one or more objects to which the rule applies.
- List<Property Map>
- All of these tags must exist in the object's tag set in order for the rule to apply.
- prefix String
- Prefix identifies one or more objects to which the rule applies.
BucketFilterTag
BucketLifecycleConfiguration
- Rules
List<Pulumi.
Aws Native. S3Outposts. Inputs. Bucket Rule> - A list of lifecycle rules for individual objects in an Amazon S3Outposts bucket.
- Rules
[]Bucket
Rule - A list of lifecycle rules for individual objects in an Amazon S3Outposts bucket.
- rules
List<Bucket
Rule> - A list of lifecycle rules for individual objects in an Amazon S3Outposts bucket.
- rules
Bucket
Rule[] - A list of lifecycle rules for individual objects in an Amazon S3Outposts bucket.
- rules
Sequence[Bucket
Rule] - A list of lifecycle rules for individual objects in an Amazon S3Outposts bucket.
- rules List<Property Map>
- A list of lifecycle rules for individual objects in an Amazon S3Outposts bucket.
BucketRule
- Abort
Incomplete Pulumi.Multipart Upload Aws Native. S3Outposts. Inputs. Bucket Abort Incomplete Multipart Upload - Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket.
- Expiration
Date string - Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC.
- Expiration
In intDays - Indicates the number of days after creation when objects are deleted from Amazon S3Outposts.
- Filter
Pulumi.
Aws Native. S3Outposts. Inputs. Bucket Rule Filter Properties - The container for the filter of the lifecycle rule.
- Id string
- Unique identifier for the lifecycle rule. The value can't be longer than 255 characters.
- Status
Pulumi.
Aws Native. S3Outposts. Bucket Rule Status - If
Enabled, the rule is currently being applied. IfDisabled, the rule is not currently being applied.
- Abort
Incomplete BucketMultipart Upload Abort Incomplete Multipart Upload - Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket.
- Expiration
Date string - Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC.
- Expiration
In intDays - Indicates the number of days after creation when objects are deleted from Amazon S3Outposts.
- Filter
Bucket
Rule Filter Properties - The container for the filter of the lifecycle rule.
- Id string
- Unique identifier for the lifecycle rule. The value can't be longer than 255 characters.
- Status
Bucket
Rule Status - If
Enabled, the rule is currently being applied. IfDisabled, the rule is not currently being applied.
- abort
Incomplete BucketMultipart Upload Abort Incomplete Multipart Upload - Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket.
- expiration
Date String - Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC.
- expiration
In IntegerDays - Indicates the number of days after creation when objects are deleted from Amazon S3Outposts.
- filter
Bucket
Rule Filter Properties - The container for the filter of the lifecycle rule.
- id String
- Unique identifier for the lifecycle rule. The value can't be longer than 255 characters.
- status
Bucket
Rule Status - If
Enabled, the rule is currently being applied. IfDisabled, the rule is not currently being applied.
- abort
Incomplete BucketMultipart Upload Abort Incomplete Multipart Upload - Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket.
- expiration
Date string - Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC.
- expiration
In numberDays - Indicates the number of days after creation when objects are deleted from Amazon S3Outposts.
- filter
Bucket
Rule Filter Properties - The container for the filter of the lifecycle rule.
- id string
- Unique identifier for the lifecycle rule. The value can't be longer than 255 characters.
- status
Bucket
Rule Status - If
Enabled, the rule is currently being applied. IfDisabled, the rule is not currently being applied.
- abort_
incomplete_ Bucketmultipart_ upload Abort Incomplete Multipart Upload - Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket.
- expiration_
date str - Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC.
- expiration_
in_ intdays - Indicates the number of days after creation when objects are deleted from Amazon S3Outposts.
- filter
Bucket
Rule Filter Properties - The container for the filter of the lifecycle rule.
- id str
- Unique identifier for the lifecycle rule. The value can't be longer than 255 characters.
- status
Bucket
Rule Status - If
Enabled, the rule is currently being applied. IfDisabled, the rule is not currently being applied.
- abort
Incomplete Property MapMultipart Upload - Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket.
- expiration
Date String - Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC.
- expiration
In NumberDays - Indicates the number of days after creation when objects are deleted from Amazon S3Outposts.
- filter Property Map
- The container for the filter of the lifecycle rule.
- id String
- Unique identifier for the lifecycle rule. The value can't be longer than 255 characters.
- status "Enabled" | "Disabled"
- If
Enabled, the rule is currently being applied. IfDisabled, the rule is not currently being applied.
BucketRuleFilterProperties
- And
Operator Pulumi.Aws Native. S3Outposts. Inputs. Bucket Filter And Operator Properties - The container for the AND condition for the lifecycle rule. A combination of Prefix and 1 or more Tags OR a minimum of 2 or more tags.
- Prefix string
- Object key prefix that identifies one or more objects to which this rule applies.
- Tag
Pulumi.
Aws Native. S3Outposts. Inputs. Bucket Filter Tag - Specifies a tag used to identify a subset of objects for an Amazon S3Outposts bucket.
- And
Operator BucketFilter And Operator Properties - The container for the AND condition for the lifecycle rule. A combination of Prefix and 1 or more Tags OR a minimum of 2 or more tags.
- Prefix string
- Object key prefix that identifies one or more objects to which this rule applies.
- Tag
Bucket
Filter Tag - Specifies a tag used to identify a subset of objects for an Amazon S3Outposts bucket.
- and
Operator BucketFilter And Operator Properties - The container for the AND condition for the lifecycle rule. A combination of Prefix and 1 or more Tags OR a minimum of 2 or more tags.
- prefix String
- Object key prefix that identifies one or more objects to which this rule applies.
- tag
Bucket
Filter Tag - Specifies a tag used to identify a subset of objects for an Amazon S3Outposts bucket.
- and
Operator BucketFilter And Operator Properties - The container for the AND condition for the lifecycle rule. A combination of Prefix and 1 or more Tags OR a minimum of 2 or more tags.
- prefix string
- Object key prefix that identifies one or more objects to which this rule applies.
- tag
Bucket
Filter Tag - Specifies a tag used to identify a subset of objects for an Amazon S3Outposts bucket.
- and_
operator BucketFilter And Operator Properties - The container for the AND condition for the lifecycle rule. A combination of Prefix and 1 or more Tags OR a minimum of 2 or more tags.
- prefix str
- Object key prefix that identifies one or more objects to which this rule applies.
- tag
Bucket
Filter Tag - Specifies a tag used to identify a subset of objects for an Amazon S3Outposts bucket.
- and
Operator Property Map - The container for the AND condition for the lifecycle rule. A combination of Prefix and 1 or more Tags OR a minimum of 2 or more tags.
- prefix String
- Object key prefix that identifies one or more objects to which this rule applies.
- tag Property Map
- Specifies a tag used to identify a subset of objects for an Amazon S3Outposts bucket.
BucketRuleStatus
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
