acceleration_status |
Sets the accelerate configuration of an existing bucket. Can be Enabled or Suspended. |
string |
"Suspended" |
no |
acl |
The access control list assigned to this bucket |
string |
"private" |
no |
bucket_iam_user |
The name of the iam user assigned to the created s3 bucket |
string |
n/a |
yes |
cors_allowed_headers |
Specifies which headers are allowed. |
list |
<list> |
no |
cors_allowed_methods |
Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD. |
list |
<list> |
no |
cors_allowed_origins |
Specifies which origins are allowed. |
list |
<list> |
no |
cors_expose_headers |
Specifies expose header in the response. |
list |
<list> |
no |
cors_max_age_seconds |
Specifies time in seconds that browser can cache the response for a preflight request. |
string |
"3000" |
no |
environment |
The environment the S3 is running in i.e. dev, prod etc |
string |
n/a |
yes |
iam_user_policy_name |
The policy name of attached to the user |
string |
n/a |
yes |
kms_alias |
The alias name for the kms key used to encrypt and decrypt the created S3 bucket objects |
string |
"" |
no |
lifecycle_days_to_expiration |
Specifies the number of days after object creation when the object expires. |
string |
"365" |
no |
lifecycle_days_to_glacier_transition |
Specifies the number of days after object creation when it will be moved to Glacier storage. |
string |
"180" |
no |
lifecycle_days_to_infrequent_storage_transition |
Specifies the number of days after object creation when it will be moved to standard infrequent access storage. |
string |
"60" |
no |
lifecycle_expiration_enabled |
Specifies expiration lifecycle rule status. |
string |
"false" |
no |
lifecycle_expiration_object_prefix |
Object key prefix identifying one or more objects to which the lifecycle rule applies. |
string |
"" |
no |
lifecycle_expiration_object_tags |
Object tags to filter on for the expire object lifecycle rule. |
map |
<map> |
no |
lifecycle_glacier_object_prefix |
Object key prefix identifying one or more objects to which the lifecycle rule applies. |
string |
"" |
no |
lifecycle_glacier_object_tags |
Object tags to filter on for the transition to glacier lifecycle rule. |
map |
<map> |
no |
lifecycle_glacier_transition_enabled |
Specifies Glacier transition lifecycle rule status. |
string |
"false" |
no |
lifecycle_infrequent_storage_object_prefix |
Object key prefix identifying one or more objects to which the lifecycle rule applies. |
string |
"" |
no |
lifecycle_infrequent_storage_object_tags |
Object tags to filter on for the transition to infrequent storage lifecycle rule. |
map |
<map> |
no |
lifecycle_infrequent_storage_transition_enabled |
Specifies infrequent storage transition lifecycle rule status. |
string |
"false" |
no |
log_target_bucket |
The S3 bucket that access logs should be sent to. |
string |
"" |
no |
log_target_prefix |
The object prefix for access logs |
string |
"" |
no |
logging_enabled |
Specifies whether server access logging is enabled or not. |
string |
"false" |
no |
name |
A descriptive name for the S3 instance |
string |
n/a |
yes |
number_of_users |
The number of user to generate credentials for |
string |
"1" |
no |
server_side_encryption_configuration |
Provides access to override the server side encryption configuration |
list |
<list> |
no |
tags |
A map of tags to add to all resources |
map |
<map> |
no |
versioning_enabled |
If versioning is set for buckets in case of accidental deletion |
string |
"false" |
no |
website_error_document |
The path to the document to return in case of a 4XX error for static website hosting |
string |
"error.html" |
no |
website_hosting |
Specifies if the bucket will be used for static website hosting |
string |
"false" |
no |
website_index_document |
The path of index document when requests are made for static website hosting |
string |
"index.html" |
no |
whitelist_ip |
Whitelisted ip allowed to access the created s3 bucket (note: this allows all by default) |
list |
<list> |
no |
whitelist_vpc |
Whitelisted vpc allowed to access the created s3 bucket |
list |
<list> |
no |