package s3bucket
import "github.com/oslokommune/okctl/pkg/cfn/components/s3bucket"
Package s3bucket knows how to create an AWS S3 bucket cloud formation resource
Index ¶
Types ¶
type S3Bucket ¶
type S3Bucket struct { StoredName string BucketName string BlockAllPublicAccess bool Encrypt bool Versioning bool }
S3Bucket contains the state required for building the cloud formation template
func New ¶
New returns an initialised AWS S3 cloud formation template - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html
func (*S3Bucket) Name ¶
Name returns the name of the resource
func (*S3Bucket) NamedOutputs ¶
func (s *S3Bucket) NamedOutputs() map[string]cloudformation.Output
NamedOutputs returns the named outputs
func (*S3Bucket) Ref ¶
Ref returns an AWS intrinsic ref to the resource
func (*S3Bucket) Resource ¶
func (s *S3Bucket) Resource() cloudformation.Resource
Resource returns the cloud formation template
Source Files ¶
- Version
- v0.0.106 (latest)
- Published
- Oct 21, 2022
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 5 days ago –
Tools for package owners.