s3

package
v0.3.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	types.Metadata
	Name              types.StringValue
	PublicAccessBlock *PublicAccessBlock
	BucketPolicy      BucketPolicy
	Encryption        Encryption
	Versioning        Versioning
	Logging           Logging
	ACL               types.StringValue
}

func (*Bucket) GetMetadata

func (b *Bucket) GetMetadata() *types.Metadata

func (*Bucket) GetRawValue

func (b *Bucket) GetRawValue() interface{}

func (*Bucket) HasPublicExposureACL

func (b *Bucket) HasPublicExposureACL() bool

type BucketPolicy

type BucketPolicy struct {
}

type Encryption

type Encryption struct {
	Enabled   types.BoolValue
	Algorithm types.StringValue
	KMSKeyId  types.StringValue
}

type Logging

type Logging struct {
	Enabled      types.BoolValue
	TargetBucket types.StringValue
}

type PublicAccessBlock

type PublicAccessBlock struct {
	types.Metadata
	Bucket                *Bucket
	BlockPublicACLs       types.BoolValue
	BlockPublicPolicy     types.BoolValue
	IgnorePublicACLs      types.BoolValue
	RestrictPublicBuckets types.BoolValue
}

type S3

type S3 struct {
	Buckets            []Bucket
	PublicAccessBlocks []PublicAccessBlock
}

type Versioning

type Versioning struct {
	Enabled types.BoolValue
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL