> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.aws.s3.DeleteBucket

- Component: `appmixer.aws.s3.DeleteBucket`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.aws.s3 2.2.2](https://connectors.appmixer.com/connector/appmixer.aws.s3/2.2.2.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.aws.s3/2.2.2/component/appmixer.aws.s3.DeleteBucket>

Delete bucket from AWS S3.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Region (`region`) | text | Your AWS instance region. If not select, us-east-1 will be used as default. |

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Bucket (`bucket`) | text | Your AWS S3 Bucket. |

## Output ports

### Port `deleted`

| Field | Type | Description |
| --- | --- | --- |
| Bucket Name (`Name`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.aws.s3.DeleteBucket",
  "author": "Jimoh Damilola <jimoh@client.io>",
  "description": "Delete bucket from AWS S3.",
  "private": false,
  "auth": {
    "service": "appmixer:aws:s3"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "bucket": {
            "type": "string"
          }
        },
        "required": [
          "bucket"
        ]
      },
      "inspector": {
        "inputs": {
          "bucket": {
            "type": "text",
            "label": "Bucket",
            "index": 1,
            "tooltip": "Your AWS S3 Bucket.",
            "source": {
              "url": "/component/appmixer/aws/s3/ListBuckets?outPort=bucket",
              "data": {
                "properties": {
                  "sendWholeArray": true
                },
                "transform": "./ListBuckets#bucketsToSelectArray"
              }
            }
          }
        }
      }
    }
  ],
  "properties": {
    "schema": {
      "properties": {
        "region": {
          "type": "string"
        }
      }
    },
    "inspector": {
      "inputs": {
        "region": {
          "type": "text",
          "label": "Region",
          "index": 1,
          "tooltip": "Your AWS instance region. If not select, us-east-1 will be used as default.",
          "source": {
            "url": "/component/appmixer/aws/s3/ListRegions?outPort=out"
          }
        }
      }
    }
  },
  "outPorts": [
    {
      "name": "deleted",
      "options": [
        {
          "label": "Bucket Name",
          "value": "Name",
          "schema": {
            "type": "string",
            "example": "my-app-data-bucket"
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
