storage_locations
Creates, updates, deletes, gets or lists a storage_locations resource.
Overview
| Name | storage_locations |
| Type | Resource |
| Id | aws.elasticbeanstalk.storage_locations |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_storage_location | insert | region | Creates a bucket in Amazon S3 to store application versions, logs, and other files used by Elastic Beanstalk environments. The Elastic Beanstalk console and EB CLI call this API the first time you create an environment in a region. If the storage location already exists, CreateStorageLocation still returns the bucket name but does not create a new bucket. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
INSERT examples
- create_storage_location
- Manifest
Creates a bucket in Amazon S3 to store application versions, logs, and other files used by Elastic Beanstalk environments. The Elastic Beanstalk console and EB CLI call this API the first time you create an environment in a region. If the storage location already exists, CreateStorageLocation still returns the bucket name but does not create a new bucket.
INSERT INTO aws.elasticbeanstalk.storage_locations (
region
)
SELECT
'{{ region }}'
RETURNING
s3_bucket
;
# Description fields are for documentation purposes
- name: storage_locations
props:
- name: region
value: "{{ region }}"
description: Required parameter for the storage_locations resource.