We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.s3outposts.getBucket
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 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.
- LifecycleConfiguration 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.
- LifecycleConfiguration 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.
- lifecycleConfiguration 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.
- lifecycleConfiguration 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.
- lifecycleConfiguration 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    
- DaysAfter intInitiation 
- Specifies the number of days after which Amazon S3Outposts aborts an incomplete multipart upload.
- DaysAfter intInitiation 
- Specifies the number of days after which Amazon S3Outposts aborts an incomplete multipart upload.
- daysAfter IntegerInitiation 
- Specifies the number of days after which Amazon S3Outposts aborts an incomplete multipart upload.
- daysAfter 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.
- daysAfter 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.
- 
[]BucketFilter 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<BucketFilter 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.
- 
BucketFilter 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[BucketFilter 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
[]BucketRule 
- A list of lifecycle rules for individual objects in an Amazon S3Outposts bucket.
- rules
List<BucketRule> 
- A list of lifecycle rules for individual objects in an Amazon S3Outposts bucket.
- rules
BucketRule[] 
- A list of lifecycle rules for individual objects in an Amazon S3Outposts bucket.
- rules
Sequence[BucketRule] 
- 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 
- AbortIncomplete 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.
- ExpirationDate string
- Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC.
- ExpirationIn 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.
- AbortIncomplete BucketMultipart Upload Abort Incomplete Multipart Upload 
- Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket.
- ExpirationDate string
- Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC.
- ExpirationIn intDays 
- Indicates the number of days after creation when objects are deleted from Amazon S3Outposts.
- Filter
BucketRule 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
BucketRule Status 
- If Enabled, the rule is currently being applied. IfDisabled, the rule is not currently being applied.
- abortIncomplete BucketMultipart Upload Abort Incomplete Multipart Upload 
- Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket.
- expirationDate String
- Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC.
- expirationIn IntegerDays 
- Indicates the number of days after creation when objects are deleted from Amazon S3Outposts.
- filter
BucketRule 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
BucketRule Status 
- If Enabled, the rule is currently being applied. IfDisabled, the rule is not currently being applied.
- abortIncomplete BucketMultipart Upload Abort Incomplete Multipart Upload 
- Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket.
- expirationDate string
- Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC.
- expirationIn numberDays 
- Indicates the number of days after creation when objects are deleted from Amazon S3Outposts.
- filter
BucketRule 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
BucketRule 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
BucketRule 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
BucketRule Status 
- If Enabled, the rule is currently being applied. IfDisabled, the rule is not currently being applied.
- abortIncomplete Property MapMultipart Upload 
- Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket.
- expirationDate String
- Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC.
- expirationIn 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   
- AndOperator 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.
- AndOperator 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
BucketFilter Tag 
- Specifies a tag used to identify a subset of objects for an Amazon S3Outposts bucket.
- andOperator 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
BucketFilter Tag 
- Specifies a tag used to identify a subset of objects for an Amazon S3Outposts bucket.
- andOperator 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
BucketFilter 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
BucketFilter Tag 
- Specifies a tag used to identify a subset of objects for an Amazon S3Outposts bucket.
- andOperator 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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi