

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::S3Outposts::Bucket
<a name="aws-resource-s3outposts-bucket"></a>

The AWS::S3Outposts::Bucket resource specifies a new Amazon S3 on Outposts bucket. To create an S3 on Outposts bucket, you must have S3 on Outposts capacity provisioned on your Outpost. For more information, see [ Using Amazon S3 on Outposts](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html).

S3 on Outposts buckets support the following:
+ Tags
+ Lifecycle configuration rules for deleting expired objects

For a complete list of restrictions and Amazon S3 feature limitations on S3 on Outposts, see [ Amazon S3 on Outposts Restrictions and Limitations](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OnOutpostsRestrictionsLimitations.html).

## Syntax
<a name="aws-resource-s3outposts-bucket-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-s3outposts-bucket-syntax.json"></a>

```
{
  "Type" : "AWS::S3Outposts::Bucket",
  "Properties" : {
      "[BucketName](#cfn-s3outposts-bucket-bucketname)" : String,
      "[LifecycleConfiguration](#cfn-s3outposts-bucket-lifecycleconfiguration)" : LifecycleConfiguration,
      "[OutpostId](#cfn-s3outposts-bucket-outpostid)" : String,
      "[Tags](#cfn-s3outposts-bucket-tags)" : [ Tag, ... ]
    }
}
```

### YAML
<a name="aws-resource-s3outposts-bucket-syntax.yaml"></a>

```
Type: AWS::S3Outposts::Bucket
Properties:
  [BucketName](#cfn-s3outposts-bucket-bucketname): String
  [LifecycleConfiguration](#cfn-s3outposts-bucket-lifecycleconfiguration): 
    LifecycleConfiguration
  [OutpostId](#cfn-s3outposts-bucket-outpostid): String
  [Tags](#cfn-s3outposts-bucket-tags): 
    - Tag
```

## Properties
<a name="aws-resource-s3outposts-bucket-properties"></a>

`BucketName`  <a name="cfn-s3outposts-bucket-bucketname"></a>
A name for the S3 on Outposts bucket. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name. The bucket name must contain only lowercase letters, numbers, periods (.), and dashes (-) and must follow [ Amazon S3 bucket restrictions and limitations](https://docs.aws.amazon.com/AmazonS3/latest/userguide/BucketRestrictions.html). For more information, see [Bucket naming rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/BucketRestrictions.html#bucketnamingrules).   
If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
*Required*: Yes  
*Type*: String  
*Pattern*: `(?=^.{3,63}$)(?!^(\d+\.)+\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])\.)*([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])$)`  
*Minimum*: `3`  
*Maximum*: `63`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`LifecycleConfiguration`  <a name="cfn-s3outposts-bucket-lifecycleconfiguration"></a>
Creates a new lifecycle configuration for the S3 on Outposts bucket or replaces an existing lifecycle configuration. Outposts buckets only support lifecycle configurations that delete/expire objects after a certain period of time and abort incomplete multipart uploads.  
*Required*: No  
*Type*: [LifecycleConfiguration](aws-properties-s3outposts-bucket-lifecycleconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`OutpostId`  <a name="cfn-s3outposts-bucket-outpostid"></a>
The ID of the Outpost of the specified bucket.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^(op-[a-f0-9]{17}|\d{12}|ec2)$`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Tags`  <a name="cfn-s3outposts-bucket-tags"></a>
Sets the tags for an S3 on Outposts bucket. For more information, see [Using Amazon S3 on Outposts](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html).  
Use tags to organize your AWS bill to reflect your own cost structure. To do this, sign up to get your AWS account bill with tag key values included. Then, to see the cost of combined resources, organize your billing information according to resources with the same tag key values. For example, you can tag several resources with a specific application name, and then organize your billing information to see the total cost of that application across several services. For more information, see [Cost allocation and tags](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html).  
Within a bucket, if you add a tag that has the same key as an existing tag, the new value overwrites the old value. For more information, see [ Using cost allocation and bucket tags](https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html).
To use this resource, you must have permissions to perform the `s3-outposts:PutBucketTagging`. The S3 on Outposts bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see [Permissions Related to Bucket Subresource Operations](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources) and [Managing access permissions to your Amazon S3 resources](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html).  
*Required*: No  
*Type*: Array of [Tag](aws-properties-s3outposts-bucket-tag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-s3outposts-bucket-return-values"></a>

### Ref
<a name="aws-resource-s3outposts-bucket-return-values-ref"></a>

When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the S3 on Outposts bucket Amazon Resource Name (ARN).

For more information about using the `Ref` function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html).

### Fn::GetAtt
<a name="aws-resource-s3outposts-bucket-return-values-fn--getatt"></a>

The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the `Fn::GetAtt` intrinsic function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html).

#### 
<a name="aws-resource-s3outposts-bucket-return-values-fn--getatt-fn--getatt"></a>

`Arn`  <a name="Arn-fn::getatt"></a>
Returns the ARN of the specified bucket.  
Example: `arn:aws:s3Outposts:::DOC-EXAMPLE-BUCKET`

## Examples
<a name="aws-resource-s3outposts-bucket--examples"></a>

The following examples create an Amazon S3 on Outposts bucket using AWS CloudFormation.

**Topics**
+ [Create an S3 on Outposts bucket](#aws-resource-s3outposts-bucket--examples--Create_an_S3_on_Outposts_bucket)
+ [Creates an S3 on Outposts bucket with tags](#aws-resource-s3outposts-bucket--examples--Creates_an_S3_on_Outposts_bucket_with_tags)
+ [Creates an S3 on Outposts bucket with tags and lifecycle configuration](#aws-resource-s3outposts-bucket--examples--Creates_an_S3_on_Outposts_bucket_with_tags_and_lifecycle_configuration)

### Create an S3 on Outposts bucket
<a name="aws-resource-s3outposts-bucket--examples--Create_an_S3_on_Outposts_bucket"></a>

The following example creates an S3 on Outposts bucket without tags or lifecycle configuration.

#### JSON
<a name="aws-resource-s3outposts-bucket--examples--Create_an_S3_on_Outposts_bucket--json"></a>

```
{
    "AWSTemplateFormatVersion": "2010-09-09",
    "Description": "Bucket, no tags, no lifecycle configuration",
    "Resources": {
        "ExampleS3OutpostsBucket": {
            "Type": "AWS::S3Outposts::Bucket",
            "Properties": {
                "BucketName": "DOC-EXAMPLE-BUCKET",
                "OutpostId": "op-01ac5d28a6a232904"
            }
        }
    },
    "Outputs": {
        "ExampleS3OutpostsBucketARN": {
            "Description": "The ARN of ExampleS3OutpostsBucket",
            "Value": {
                "Ref": "ExampleS3OutpostsBucket"
            }
        },
        "ExampleS3OutpostsStackID": {
            "Description": "The stack ID",
            "Value": {
                "Ref": "AWS::StackID"
            },
            "Export": {
                "Name": {
                    "Fn::Sub": "${AWS::StackName}-StackID"
                }
            }
        }
    }
}
```

#### YAML
<a name="aws-resource-s3outposts-bucket--examples--Create_an_S3_on_Outposts_bucket--yaml"></a>

```
AWSTemplateFormatVersion: '2010-09-09'
Description: Bucket, no tags, no lifecycle configuration
Resources:
  ExampleS3OutpostsBucket:
    Type: AWS::S3Outposts::Bucket
    Properties:
      BucketName: DOC-EXAMPLE-BUCKET
      OutpostId: op-01ac5d28a6a232904
Outputs:
  ExampleS3OutpostsBucketARN:
    Description: The ARN of ExampleS3OutpostsBucket
    Value:
      Ref: ExampleS3OutpostsBucket
  ExampleS3OutpostsStackID:
    Description: The stack ID
    Value:
      Ref: AWS::StackID
    Export:
      Name:
        Fn::Sub: "${AWS::StackName}-StackID"
```

### Creates an S3 on Outposts bucket with tags
<a name="aws-resource-s3outposts-bucket--examples--Creates_an_S3_on_Outposts_bucket_with_tags"></a>

The following example creates an S3 on Outposts bucket with tags and no lifecycle configuration.

#### JSON
<a name="aws-resource-s3outposts-bucket--examples--Creates_an_S3_on_Outposts_bucket_with_tags--json"></a>

```
{
    "AWSTemplateFormatVersion": "2010-09-09",
    "Description": "Bucket, tags, no lifecycle configuration",
    "Resources": {
        "ExampleS3OutpostsBucket": {
            "Type": "AWS::S3Outposts::Bucket",
            "Properties": {
                "BucketName": "DOC-EXAMPLE-BUCKET",
                "OutpostId": "op-01ac5d28a6a232904",
                "Tags": [
                    {
                        "Key": "stage",
                        "Value": "beta"
                    },
                    {
                        "Key": "purpose",
                        "Value": "testing"
                    }
                ]
            }
        }
    },
    "Outputs": {
        "ExampleS3OutpostsBucketARN": {
            "Description": "The ARN of ExampleS3OutpostsBucket",
            "Value": {
                "Ref": "ExampleS3OutpostsBucket"
            }
        },
        "ExampleS3OutpostsStackID": {
            "Description": "The stack ID",
            "Value": {
                "Ref": "AWS::StackID"
            },
            "Export": {
                "Name": {
                    "Fn::Sub": "${AWS::StackName}-StackID"
                }
            }
        }
    }
}
```

#### YAML
<a name="aws-resource-s3outposts-bucket--examples--Creates_an_S3_on_Outposts_bucket_with_tags--yaml"></a>

```
AWSTemplateFormatVersion: '2010-09-09'
Description: Bucket, tags, no lifecycle configuration
Resources:
  ExampleS3OutpostsBucket:
    Type: AWS::S3Outposts::Bucket
    Properties:
      BucketName: DOC-EXAMPLE-BUCKET
      OutpostId: op-01ac5d28a6a232904
      Tags:
      - Key: stage
        Value: beta
      - Key: purpose
        Value: testing
Outputs:
  ExampleS3OutpostsBucketARN:
    Description: The ARN of ExampleS3OutpostsBucket
    Value:
      Ref: ExampleS3OutpostsBucket
  ExampleS3OutpostsStackID:
    Description: The stack ID
    Value:
      Ref: AWS::StackID
    Export:
      Name:
        Fn::Sub: "${AWS::StackName}-StackID"
```

### Creates an S3 on Outposts bucket with tags and lifecycle configuration
<a name="aws-resource-s3outposts-bucket--examples--Creates_an_S3_on_Outposts_bucket_with_tags_and_lifecycle_configuration"></a>

The following example creates an S3 on Outposts bucket with tags and four lifecycle configuration rules. Three of the four lifecycle rules are disabled.

**Note**  
All lifecycle rules must have values for either `ExpirationInDays`, `ExpirationDate`, or `DaysAfterInitiation` for `AbortIncompleteMultipartUpload` to be valid.

#### JSON
<a name="aws-resource-s3outposts-bucket--examples--Creates_an_S3_on_Outposts_bucket_with_tags_and_lifecycle_configuration--json"></a>

```
{
    "AWSTemplateFormatVersion": "2010-09-09",
    "Description": "Bucket, tags, lifecycle configuration",
    "Resources": {
        "ExampleS3OutpostsBucket": {
            "Type": "AWS::S3Outposts::Bucket",
            "Properties": {
                "BucketName": "DOC-EXAMPLE-BUCKET",
                "OutpostId": "op-01ac5d28a6a232904",
                "Tags": [
                    {
                        "Key": "stage",
                        "Value": "beta"
                    },
                    {
                        "Key": "purpose",
                        "Value": "testing"
                    }
                ],
                "LifecycleConfiguration": {
                    "Rules": [
                        {
                            "ExpirationInDays": 2,
                            "ID": "rule1",
                            "Status": "Enabled"
                        },
                        {
                            "AbortIncompleteMultipartUpload": {
                                "DaysAfterInitiation": 2
                            },
                            "ID": "rule2",
                            "Status": "Disabled",
                            "Filter": {
                                "AndOperator": {
                                    "Prefix": "st",
                                    "Tags": [
                                        {
                                            "Key": "purpose",
                                            "Value": "testing"
                                        }
                                    ]
                                }
                            }
                        },
                        {
                            "ExpirationDate": "2020-02-25T00:00:00Z",
                            "ID": "rule3",
                            "Status": "Disabled",
                            "Filter": {
                                "Tag": {
                                    "Key": "stage",
                                    "Value": "beta"
                                }
                            }
                        },
                        {
                            "ExpirationInDays": 4,
                            "ID": "rule4",
                            "Status": "Disabled",
                            "Filter": {
                                "Prefix": "st"
                            }
                        }
                    ]
                }
            }
        }
    },
    "Outputs": {
        "ExampleS3OutpostsBucketARN": {
            "Description": "The ARN of ExampleS3OutpostsBucket",
            "Value": {
                "Ref": "ExampleS3OutpostsBucket"
            }
        },
        "ExampleStackID": {
            "Description": "The stack ID",
            "Value": {
                "Ref": "AWS::StackID"
            },
            "Export": {
                "Name": {
                    "Fn::Sub": "${AWS::StackName}-StackID"
                }
            }
        }
    }
}
```

#### YAML
<a name="aws-resource-s3outposts-bucket--examples--Creates_an_S3_on_Outposts_bucket_with_tags_and_lifecycle_configuration--yaml"></a>

```
---
AWSTemplateFormatVersion: '2010-09-09'
Description: Bucket, tags, lifecycle configuration
Resources:
  ExampleS3OutpostsBucket:
    Type: AWS::S3Outposts::Bucket
    Properties:
      BucketName: DOC-EXAMPLE-BUCKET
      OutpostId: op-01ac5d28a6a232904
      Tags:
      - Key: stage
        Value: beta
      - Key: purpose
        Value: testing
      LifecycleConfiguration:
        Rules:
        - ExpirationInDays: 2
          ID: rule1
          Status: Enabled
        - AbortIncompleteMultipartUpload:
            DaysAfterInitiation: 2
          ID: rule2
          Status: Disabled
          Filter:
            AndOperator:
              Prefix: st
              Tags:
              - Key: purpose
                Value: testing
        - ExpirationDate: '2020-02-25T00:00:00Z'
          ID: rule3
          Status: Disabled
          Filter:
            Tag:
              Key: stage
              Value: beta
        - ExpirationInDays: 4
          ID: rule4
          Status: Disabled
          Filter:
            Prefix: st
Outputs:
  ExampleS3OutpostsBucketARN:
    Description: The ARN of ExampleS3OutpostsBucket
    Value:
      Ref: ExampleS3OutpostsBucket
  ExampleStackID:
    Description: The stack ID
    Value:
      Ref: AWS::StackID
    Export:
      Name:
        Fn::Sub: "${AWS::StackName}-StackID"
```

# AWS::S3Outposts::Bucket AbortIncompleteMultipartUpload
<a name="aws-properties-s3outposts-bucket-abortincompletemultipartupload"></a>

Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 on Outposts waits before permanently removing all parts of the upload. For more information, see [Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config).

## Syntax
<a name="aws-properties-s3outposts-bucket-abortincompletemultipartupload-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-s3outposts-bucket-abortincompletemultipartupload-syntax.json"></a>

```
{
  "[DaysAfterInitiation](#cfn-s3outposts-bucket-abortincompletemultipartupload-daysafterinitiation)" : Integer
}
```

### YAML
<a name="aws-properties-s3outposts-bucket-abortincompletemultipartupload-syntax.yaml"></a>

```
  [DaysAfterInitiation](#cfn-s3outposts-bucket-abortincompletemultipartupload-daysafterinitiation): Integer
```

## Properties
<a name="aws-properties-s3outposts-bucket-abortincompletemultipartupload-properties"></a>

`DaysAfterInitiation`  <a name="cfn-s3outposts-bucket-abortincompletemultipartupload-daysafterinitiation"></a>
Specifies the number of days after initiation that Amazon S3 on Outposts aborts an incomplete multipart upload.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `0`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::S3Outposts::Bucket Filter
<a name="aws-properties-s3outposts-bucket-filter"></a>

<a name="aws-properties-s3outposts-bucket-filter-description"></a>The `Filter` property type specifies Property description not available. for an [AWS::S3Outposts::Bucket](aws-resource-s3outposts-bucket.md).

## Syntax
<a name="aws-properties-s3outposts-bucket-filter-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-s3outposts-bucket-filter-syntax.json"></a>

```
{
  "[AndOperator](#cfn-s3outposts-bucket-filter-andoperator)" : FilterAndOperator,
  "[Prefix](#cfn-s3outposts-bucket-filter-prefix)" : String,
  "[Tag](#cfn-s3outposts-bucket-filter-tag)" : FilterTag
}
```

### YAML
<a name="aws-properties-s3outposts-bucket-filter-syntax.yaml"></a>

```
  [AndOperator](#cfn-s3outposts-bucket-filter-andoperator): 
    FilterAndOperator
  [Prefix](#cfn-s3outposts-bucket-filter-prefix): String
  [Tag](#cfn-s3outposts-bucket-filter-tag): 
    FilterTag
```

## Properties
<a name="aws-properties-s3outposts-bucket-filter-properties"></a>

`AndOperator`  <a name="cfn-s3outposts-bucket-filter-andoperator"></a>
Property description not available.  
*Required*: No  
*Type*: [FilterAndOperator](aws-properties-s3outposts-bucket-filterandoperator.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Prefix`  <a name="cfn-s3outposts-bucket-filter-prefix"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tag`  <a name="cfn-s3outposts-bucket-filter-tag"></a>
Property description not available.  
*Required*: No  
*Type*: [FilterTag](aws-properties-s3outposts-bucket-filtertag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::S3Outposts::Bucket FilterAndOperator
<a name="aws-properties-s3outposts-bucket-filterandoperator"></a>

<a name="aws-properties-s3outposts-bucket-filterandoperator-description"></a>The `FilterAndOperator` property type specifies Property description not available. for an [AWS::S3Outposts::Bucket](aws-resource-s3outposts-bucket.md).

## Syntax
<a name="aws-properties-s3outposts-bucket-filterandoperator-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-s3outposts-bucket-filterandoperator-syntax.json"></a>

```
{
  "[Prefix](#cfn-s3outposts-bucket-filterandoperator-prefix)" : String,
  "[Tags](#cfn-s3outposts-bucket-filterandoperator-tags)" : [ FilterTag, ... ]
}
```

### YAML
<a name="aws-properties-s3outposts-bucket-filterandoperator-syntax.yaml"></a>

```
  [Prefix](#cfn-s3outposts-bucket-filterandoperator-prefix): String
  [Tags](#cfn-s3outposts-bucket-filterandoperator-tags): 
    - FilterTag
```

## Properties
<a name="aws-properties-s3outposts-bucket-filterandoperator-properties"></a>

`Prefix`  <a name="cfn-s3outposts-bucket-filterandoperator-prefix"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-s3outposts-bucket-filterandoperator-tags"></a>
Property description not available.  
*Required*: Yes  
*Type*: Array of [FilterTag](aws-properties-s3outposts-bucket-filtertag.md)  
*Minimum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::S3Outposts::Bucket FilterTag
<a name="aws-properties-s3outposts-bucket-filtertag"></a>

<a name="aws-properties-s3outposts-bucket-filtertag-description"></a>The `FilterTag` property type specifies Property description not available. for an [AWS::S3Outposts::Bucket](aws-resource-s3outposts-bucket.md).

## Syntax
<a name="aws-properties-s3outposts-bucket-filtertag-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-s3outposts-bucket-filtertag-syntax.json"></a>

```
{
  "[Key](#cfn-s3outposts-bucket-filtertag-key)" : String,
  "[Value](#cfn-s3outposts-bucket-filtertag-value)" : String
}
```

### YAML
<a name="aws-properties-s3outposts-bucket-filtertag-syntax.yaml"></a>

```
  [Key](#cfn-s3outposts-bucket-filtertag-key): String
  [Value](#cfn-s3outposts-bucket-filtertag-value): String
```

## Properties
<a name="aws-properties-s3outposts-bucket-filtertag-properties"></a>

`Key`  <a name="cfn-s3outposts-bucket-filtertag-key"></a>
Property description not available.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^([\p{L}\p{Z}\p{N}_.:=+\/\-@%]*)$`  
*Minimum*: `1`  
*Maximum*: `1024`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-s3outposts-bucket-filtertag-value"></a>
Property description not available.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^([\p{L}\p{Z}\p{N}_.:=+\/\-@%]*)$`  
*Minimum*: `1`  
*Maximum*: `1024`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::S3Outposts::Bucket LifecycleConfiguration
<a name="aws-properties-s3outposts-bucket-lifecycleconfiguration"></a>

The container for the lifecycle configuration for the objects stored in an S3 on Outposts bucket.

## Syntax
<a name="aws-properties-s3outposts-bucket-lifecycleconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-s3outposts-bucket-lifecycleconfiguration-syntax.json"></a>

```
{
  "[Rules](#cfn-s3outposts-bucket-lifecycleconfiguration-rules)" : [ Rule, ... ]
}
```

### YAML
<a name="aws-properties-s3outposts-bucket-lifecycleconfiguration-syntax.yaml"></a>

```
  [Rules](#cfn-s3outposts-bucket-lifecycleconfiguration-rules): 
    - Rule
```

## Properties
<a name="aws-properties-s3outposts-bucket-lifecycleconfiguration-properties"></a>

`Rules`  <a name="cfn-s3outposts-bucket-lifecycleconfiguration-rules"></a>
The container for the lifecycle configuration rules for the objects stored in the S3 on Outposts bucket.  
*Required*: Yes  
*Type*: Array of [Rule](aws-properties-s3outposts-bucket-rule.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::S3Outposts::Bucket Rule
<a name="aws-properties-s3outposts-bucket-rule"></a>

A container for an Amazon S3 on Outposts bucket lifecycle rule.

## Syntax
<a name="aws-properties-s3outposts-bucket-rule-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-s3outposts-bucket-rule-syntax.json"></a>

```
{
  "[AbortIncompleteMultipartUpload](#cfn-s3outposts-bucket-rule-abortincompletemultipartupload)" : AbortIncompleteMultipartUpload,
  "[ExpirationDate](#cfn-s3outposts-bucket-rule-expirationdate)" : String,
  "[ExpirationInDays](#cfn-s3outposts-bucket-rule-expirationindays)" : Integer,
  "[Filter](#cfn-s3outposts-bucket-rule-filter)" : Filter,
  "[Id](#cfn-s3outposts-bucket-rule-id)" : String,
  "[Status](#cfn-s3outposts-bucket-rule-status)" : String
}
```

### YAML
<a name="aws-properties-s3outposts-bucket-rule-syntax.yaml"></a>

```
  [AbortIncompleteMultipartUpload](#cfn-s3outposts-bucket-rule-abortincompletemultipartupload): 
    AbortIncompleteMultipartUpload
  [ExpirationDate](#cfn-s3outposts-bucket-rule-expirationdate): String
  [ExpirationInDays](#cfn-s3outposts-bucket-rule-expirationindays): Integer
  [Filter](#cfn-s3outposts-bucket-rule-filter): 
    Filter
  [Id](#cfn-s3outposts-bucket-rule-id): String
  [Status](#cfn-s3outposts-bucket-rule-status): String
```

## Properties
<a name="aws-properties-s3outposts-bucket-rule-properties"></a>

`AbortIncompleteMultipartUpload`  <a name="cfn-s3outposts-bucket-rule-abortincompletemultipartupload"></a>
The container for the abort incomplete multipart upload rule.  
*Required*: No  
*Type*: [AbortIncompleteMultipartUpload](aws-properties-s3outposts-bucket-abortincompletemultipartupload.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ExpirationDate`  <a name="cfn-s3outposts-bucket-rule-expirationdate"></a>
Specifies the expiration for the lifecycle of the object by specifying an expiry date.  
*Required*: No  
*Type*: String  
*Pattern*: `^([0-2]\d{3})-(0[0-9]|1[0-2])-([0-2]\d|3[01])T([01]\d|2[0-4]):([0-5]\d):([0-6]\d)((\.\d{3})?)Z$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ExpirationInDays`  <a name="cfn-s3outposts-bucket-rule-expirationindays"></a>
Specifies the expiration for the lifecycle of the object in the form of days that the object has been in the S3 on Outposts bucket.   
*Required*: No  
*Type*: Integer  
*Minimum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Filter`  <a name="cfn-s3outposts-bucket-rule-filter"></a>
The container for the filter of the lifecycle rule.  
*Required*: No  
*Type*: [Filter](aws-properties-s3outposts-bucket-filter.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Id`  <a name="cfn-s3outposts-bucket-rule-id"></a>
Property description not available.  
*Required*: No  
*Type*: String  
*Maximum*: `255`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Status`  <a name="cfn-s3outposts-bucket-rule-status"></a>
If `Enabled`, the rule is currently being applied. If `Disabled`, the rule is not currently being applied.   
*Required*: No  
*Type*: String  
*Allowed values*: `Enabled | Disabled`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::S3Outposts::Bucket Tag
<a name="aws-properties-s3outposts-bucket-tag"></a>

<a name="aws-properties-s3outposts-bucket-tag-description"></a>The `Tag` property type specifies Property description not available. for an [AWS::S3Outposts::Bucket](aws-resource-s3outposts-bucket.md).

## Syntax
<a name="aws-properties-s3outposts-bucket-tag-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-s3outposts-bucket-tag-syntax.json"></a>

```
{
  "[Key](#cfn-s3outposts-bucket-tag-key)" : String,
  "[Value](#cfn-s3outposts-bucket-tag-value)" : String
}
```

### YAML
<a name="aws-properties-s3outposts-bucket-tag-syntax.yaml"></a>

```
  [Key](#cfn-s3outposts-bucket-tag-key): String
  [Value](#cfn-s3outposts-bucket-tag-value): String
```

## Properties
<a name="aws-properties-s3outposts-bucket-tag-properties"></a>

`Key`  <a name="cfn-s3outposts-bucket-tag-key"></a>
Property description not available.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^(?!aws:.*)([\p{L}\p{Z}\p{N}_.:=+\/\-@%]*)$`  
*Minimum*: `1`  
*Maximum*: `1024`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-s3outposts-bucket-tag-value"></a>
Property description not available.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^([\p{L}\p{Z}\p{N}_.:=+\/\-@%]*)$`  
*Minimum*: `1`  
*Maximum*: `1024`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)