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:
- Outpost
Id string - The id of the customer outpost on which the bucket resides.
- Bucket
Name string - A name for the bucket.
- Lifecycle
Configuration 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.
- Outpost
Id string - The id of the customer outpost on which the bucket resides.
- Bucket
Name string - A name for the bucket.
- Lifecycle
Configuration BucketLifecycle Configuration Args - Rules that define how Amazon S3Outposts manages objects during their lifetime.
- Tag
Args - An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
- outpost
Id String - The id of the customer outpost on which the bucket resides.
- bucket
Name String - A name for the 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.
- outpost
Id string - The id of the customer outpost on which the bucket resides.
- bucket
Name string - A name for the 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.
- 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[Tag
Args] - An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
- outpost
Id String - The id of the customer outpost on which the bucket resides.
- bucket
Name String - A name for the 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Bucket resource produces the following output properties:
Supporting Types
BucketAbortIncompleteMultipartUpload, BucketAbortIncompleteMultipartUploadArgs
- 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, 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.
- []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, 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
[]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, BucketRuleArgs
- 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, BucketRuleFilterPropertiesArgs
- 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, BucketRuleStatusArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Bucket
Rule Status Enabled - Enabled
- Bucket
Rule 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.