Skip to content

Instantly share code, notes, and snippets.

@grahamc

grahamc/ex.py Secret

Created May 12, 2020 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/94c1503012595b6e7934ba6326586a8a to your computer and use it in GitHub Desktop.
Save grahamc/94c1503012595b6e7934ba6326586a8a to your computer and use it in GitHub Desktop.
class S3BucketWebsiteOptions(nixops.resources.ResourceOptions):
enabled: bool
suffix: str
errorDocument: str
class S3BucketOptions(nixops.resources.ResourceOptions):
name: str
region: str
accessKeyId: str
arn: str
policy: str
lifeCycle: str
versioning: Union[Literal["Suspended"], Literal["Enabled"]]
persistOnDestroy: bool
website: S3BucketWebsiteOptions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment