s3

package
v0.56.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 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
	Grants                        []Grant
	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 Grant added in v0.55.0

type Grant struct {
	Metadata    iacTypes.Metadata
	Grantee     Grantee
	Permissions iacTypes.StringValueList
}

type Grantee added in v0.55.0

type Grantee struct {
	Metadata iacTypes.Metadata
	URI      iacTypes.StringValue
	Type     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