s3

package
v0.51.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 2 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 {
	Metadata                      iacTypes.Metadata
	Name                          iacTypes.StringValue
	PublicAccessBlock             *PublicAccessBlock
	BucketPolicies                []iam.Policy
	Encryption                    Encryption
	Versioning                    Versioning
	Logging                       Logging
	ACL                           iacTypes.StringValue
	BucketLocation                iacTypes.StringValue
	AccelerateConfigurationStatus iacTypes.StringValue
	LifecycleConfiguration        []Rules
	Objects                       []Contents
	Website                       *Website
}

func (*Bucket) HasPublicExposureACL

func (b *Bucket) HasPublicExposureACL() bool

type Contents

type Contents struct {
	Metadata iacTypes.Metadata
}

type Encryption

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

type Logging

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

type PublicAccessBlock

type PublicAccessBlock struct {
	Metadata              iacTypes.Metadata
	BlockPublicACLs       iacTypes.BoolValue
	BlockPublicPolicy     iacTypes.BoolValue
	IgnorePublicACLs      iacTypes.BoolValue
	RestrictPublicBuckets iacTypes.BoolValue
}

func NewPublicAccessBlock

func NewPublicAccessBlock(metadata iacTypes.Metadata) PublicAccessBlock

type Rules

type Rules struct {
	Metadata iacTypes.Metadata
	Status   iacTypes.StringValue
}

type S3

type S3 struct {
	Buckets []Bucket
}

type Versioning

type Versioning struct {
	Metadata  iacTypes.Metadata
	Enabled   iacTypes.BoolValue
	MFADelete iacTypes.BoolValue
}

type Website

type Website struct {
	Metadata iacTypes.Metadata
}

Jump to

Keyboard shortcuts

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