s3controlmultiregionaccesspoint

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 Details

type Details struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PublicAccessBlock: optional
	PublicAccessBlock *PublicAccessBlock `hcl:"public_access_block,block"`
	// Region: min=1,max=20
	Region []Region `hcl:"region,block" validate:"min=1,max=20"`
}

type DetailsAttributes

type DetailsAttributes struct {
	// contains filtered or unexported fields
}

func (DetailsAttributes) InternalRef

func (d DetailsAttributes) InternalRef() (terra.Reference, error)

func (DetailsAttributes) InternalTokens

func (d DetailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DetailsAttributes) InternalWithRef

func (d DetailsAttributes) InternalWithRef(ref terra.Reference) DetailsAttributes

func (DetailsAttributes) Name

func (DetailsAttributes) PublicAccessBlock

func (DetailsAttributes) Region

type DetailsState

type DetailsState struct {
	Name              string                   `json:"name"`
	PublicAccessBlock []PublicAccessBlockState `json:"public_access_block"`
	Region            []RegionState            `json:"region"`
}

type PublicAccessBlock

type PublicAccessBlock struct {
	// BlockPublicAcls: bool, optional
	BlockPublicAcls terra.BoolValue `hcl:"block_public_acls,attr"`
	// BlockPublicPolicy: bool, optional
	BlockPublicPolicy terra.BoolValue `hcl:"block_public_policy,attr"`
	// IgnorePublicAcls: bool, optional
	IgnorePublicAcls terra.BoolValue `hcl:"ignore_public_acls,attr"`
	// RestrictPublicBuckets: bool, optional
	RestrictPublicBuckets terra.BoolValue `hcl:"restrict_public_buckets,attr"`
}

type PublicAccessBlockAttributes

type PublicAccessBlockAttributes struct {
	// contains filtered or unexported fields
}

func (PublicAccessBlockAttributes) BlockPublicAcls

func (pab PublicAccessBlockAttributes) BlockPublicAcls() terra.BoolValue

func (PublicAccessBlockAttributes) BlockPublicPolicy

func (pab PublicAccessBlockAttributes) BlockPublicPolicy() terra.BoolValue

func (PublicAccessBlockAttributes) IgnorePublicAcls

func (pab PublicAccessBlockAttributes) IgnorePublicAcls() terra.BoolValue

func (PublicAccessBlockAttributes) InternalRef

func (pab PublicAccessBlockAttributes) InternalRef() (terra.Reference, error)

func (PublicAccessBlockAttributes) InternalTokens

func (pab PublicAccessBlockAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PublicAccessBlockAttributes) InternalWithRef

func (PublicAccessBlockAttributes) RestrictPublicBuckets

func (pab PublicAccessBlockAttributes) RestrictPublicBuckets() terra.BoolValue

type PublicAccessBlockState

type PublicAccessBlockState struct {
	BlockPublicAcls       bool `json:"block_public_acls"`
	BlockPublicPolicy     bool `json:"block_public_policy"`
	IgnorePublicAcls      bool `json:"ignore_public_acls"`
	RestrictPublicBuckets bool `json:"restrict_public_buckets"`
}

type Region

type Region struct {
	// Bucket: string, required
	Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"`
	// BucketAccountId: string, optional
	BucketAccountId terra.StringValue `hcl:"bucket_account_id,attr"`
}

type RegionAttributes

type RegionAttributes struct {
	// contains filtered or unexported fields
}

func (RegionAttributes) Bucket

func (r RegionAttributes) Bucket() terra.StringValue

func (RegionAttributes) BucketAccountId

func (r RegionAttributes) BucketAccountId() terra.StringValue

func (RegionAttributes) InternalRef

func (r RegionAttributes) InternalRef() (terra.Reference, error)

func (RegionAttributes) InternalTokens

func (r RegionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RegionAttributes) InternalWithRef

func (r RegionAttributes) InternalWithRef(ref terra.Reference) RegionAttributes

func (RegionAttributes) Region

func (r RegionAttributes) Region() terra.StringValue

type RegionState

type RegionState struct {
	Bucket          string `json:"bucket"`
	BucketAccountId string `json:"bucket_account_id"`
	Region          string `json:"region"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
}

Jump to

Keyboard shortcuts

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