s3

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 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 {
	types.Metadata
}

func (*BucketPolicy) GetMetadata added in v0.3.24

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

func (*BucketPolicy) GetRawValue added in v0.3.24

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

type Encryption

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

func (*Encryption) GetMetadata added in v0.3.24

func (e *Encryption) GetMetadata() *types.Metadata

func (*Encryption) GetRawValue added in v0.3.24

func (e *Encryption) GetRawValue() interface{}

type Logging

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

func (*Logging) GetMetadata added in v0.3.24

func (l *Logging) GetMetadata() *types.Metadata

func (*Logging) GetRawValue added in v0.3.24

func (l *Logging) GetRawValue() interface{}

type PublicAccessBlock

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

func (*PublicAccessBlock) GetMetadata added in v0.3.24

func (p *PublicAccessBlock) GetMetadata() *types.Metadata

func (*PublicAccessBlock) GetRawValue added in v0.3.24

func (p *PublicAccessBlock) GetRawValue() interface{}

type S3

type S3 struct {
	types.Metadata
	Buckets            []Bucket
	PublicAccessBlocks []PublicAccessBlock
}

func (*S3) GetMetadata added in v0.3.24

func (s *S3) GetMetadata() *types.Metadata

func (*S3) GetRawValue added in v0.3.24

func (s *S3) GetRawValue() interface{}

type Versioning

type Versioning struct {
	types.Metadata
	Enabled types.BoolValue
}

func (*Versioning) GetMetadata added in v0.3.24

func (v *Versioning) GetMetadata() *types.Metadata

func (*Versioning) GetRawValue added in v0.3.24

func (v *Versioning) GetRawValue() interface{}

Jump to

Keyboard shortcuts

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