We recommend new projects start with resources from the AWS provider.
aws-native.s3outposts.Bucket
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type Definition for AWS::S3Outposts::Bucket
Create Bucket Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Bucket(name: string, args: BucketArgs, opts?: CustomResourceOptions);@overload
def Bucket(resource_name: str,
           args: BucketArgs,
           opts: Optional[ResourceOptions] = None)
@overload
def Bucket(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           outpost_id: Optional[str] = None,
           bucket_name: Optional[str] = None,
           lifecycle_configuration: Optional[BucketLifecycleConfigurationArgs] = None,
           tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewBucket(ctx *Context, name string, args BucketArgs, opts ...ResourceOption) (*Bucket, error)public Bucket(string name, BucketArgs args, CustomResourceOptions? opts = null)
public Bucket(String name, BucketArgs args)
public Bucket(String name, BucketArgs args, CustomResourceOptions options)
type: aws-native:s3outposts:Bucket
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BucketArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BucketArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BucketArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Bucket Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Bucket resource accepts the following input properties:
- OutpostId string
- The id of the customer outpost on which the bucket resides.
- BucketName string
- A name for the bucket.
- LifecycleConfiguration Pulumi.Aws Native. S3Outposts. Inputs. Bucket Lifecycle Configuration 
- Rules that define how Amazon S3Outposts manages objects during their lifetime.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
- OutpostId string
- The id of the customer outpost on which the bucket resides.
- BucketName string
- A name for the bucket.
- LifecycleConfiguration BucketLifecycle Configuration Args 
- Rules that define how Amazon S3Outposts manages objects during their lifetime.
- 
TagArgs 
- An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
- outpostId String
- The id of the customer outpost on which the bucket resides.
- bucketName String
- A name for the 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.
- outpostId string
- The id of the customer outpost on which the bucket resides.
- bucketName string
- A name for the 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.
- outpost_id str
- The id of the customer outpost on which the bucket resides.
- bucket_name str
- A name for the bucket.
- lifecycle_configuration BucketLifecycle Configuration Args 
- Rules that define how Amazon S3Outposts manages objects during their lifetime.
- 
Sequence[TagArgs] 
- An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
- outpostId String
- The id of the customer outpost on which the bucket resides.
- bucketName String
- A name for the 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Bucket resource produces the following output properties:
Supporting Types
BucketAbortIncompleteMultipartUpload, BucketAbortIncompleteMultipartUploadArgs          
- 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, BucketFilterAndOperatorPropertiesArgs          
- 
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, BucketFilterTagArgs      
BucketLifecycleConfiguration, BucketLifecycleConfigurationArgs      
- 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, BucketRuleArgs    
- 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, BucketRuleFilterPropertiesArgs        
- 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, BucketRuleStatusArgs      
- Enabled
- Enabled
- Disabled
- Disabled
- BucketRule Status Enabled 
- Enabled
- BucketRule Status Disabled 
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.