accessKeyId

The AWS Access Key ID.

type

string

default

{
  accessKeyId = "";
}

arn

Amazon Resource Name (ARN) of the S3 bucket. This is set by NixOps.

type

string

default

{
  arn = "arn:aws:s3:::name";
}

lifeCycle

The JSON lifecycle management string to apply to the bucket.

type

string

default

{
  lifeCycle = "";
}

name

Name of the S3 bucket.

type

string

default

{
  name = "charon-{uuid}-{name}";
}

persistOnDestroy

If set to true nixops destroy won't delete the bucket on destroy.

type

boolean

default

{
  persistOnDestroy = false;
}

policy

The JSON Policy string to apply to the bucket.

type

string

default

{
  policy = "";
}

region

Amazon S3 region.

type

string

versioning

Whether to enable S3 versioning or not. Valid values are 'Enabled' or 'Suspended'

type

one of "Suspended", "Enabled"

default

{
  versioning = "Suspended";
}

website.enabled

Whether to serve the S3 bucket as public website.

type

boolean

default

{
  website.enabled = false;
}

website.errorDocument

The S3 key to serve when response is an error.

type

string

default

{
  website.errorDocument = "";
}

website.suffix

A suffix that is appended to a request that is for a directory on the website endpoint.

type

string

default

{
  website.suffix = "index.html";
}