s3bucketacl

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 AccessControlPolicy

type AccessControlPolicy struct {
	// Grant: min=0
	Grant []Grant `hcl:"grant,block" validate:"min=0"`
	// Owner: required
	Owner *Owner `hcl:"owner,block" validate:"required"`
}

type AccessControlPolicyAttributes

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

func (AccessControlPolicyAttributes) Grant

func (AccessControlPolicyAttributes) InternalRef

func (acp AccessControlPolicyAttributes) InternalRef() (terra.Reference, error)

func (AccessControlPolicyAttributes) InternalTokens

func (acp AccessControlPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessControlPolicyAttributes) InternalWithRef

func (AccessControlPolicyAttributes) Owner

type AccessControlPolicyState

type AccessControlPolicyState struct {
	Grant []GrantState `json:"grant"`
	Owner []OwnerState `json:"owner"`
}

type Grant

type Grant struct {
	// Permission: string, required
	Permission terra.StringValue `hcl:"permission,attr" validate:"required"`
	// Grantee: optional
	Grantee *Grantee `hcl:"grantee,block"`
}

type GrantAttributes

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

func (GrantAttributes) Grantee

func (GrantAttributes) InternalRef

func (g GrantAttributes) InternalRef() (terra.Reference, error)

func (GrantAttributes) InternalTokens

func (g GrantAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GrantAttributes) InternalWithRef

func (g GrantAttributes) InternalWithRef(ref terra.Reference) GrantAttributes

func (GrantAttributes) Permission

func (g GrantAttributes) Permission() terra.StringValue

type GrantState

type GrantState struct {
	Permission string         `json:"permission"`
	Grantee    []GranteeState `json:"grantee"`
}

type Grantee

type Grantee struct {
	// EmailAddress: string, optional
	EmailAddress terra.StringValue `hcl:"email_address,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Uri: string, optional
	Uri terra.StringValue `hcl:"uri,attr"`
}

type GranteeAttributes

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

func (GranteeAttributes) DisplayName

func (g GranteeAttributes) DisplayName() terra.StringValue

func (GranteeAttributes) EmailAddress

func (g GranteeAttributes) EmailAddress() terra.StringValue

func (GranteeAttributes) Id

func (GranteeAttributes) InternalRef

func (g GranteeAttributes) InternalRef() (terra.Reference, error)

func (GranteeAttributes) InternalTokens

func (g GranteeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GranteeAttributes) InternalWithRef

func (g GranteeAttributes) InternalWithRef(ref terra.Reference) GranteeAttributes

func (GranteeAttributes) Type

func (GranteeAttributes) Uri

type GranteeState

type GranteeState struct {
	DisplayName  string `json:"display_name"`
	EmailAddress string `json:"email_address"`
	Id           string `json:"id"`
	Type         string `json:"type"`
	Uri          string `json:"uri"`
}

type Owner

type Owner struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
}

type OwnerAttributes

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

func (OwnerAttributes) DisplayName

func (o OwnerAttributes) DisplayName() terra.StringValue

func (OwnerAttributes) Id

func (OwnerAttributes) InternalRef

func (o OwnerAttributes) InternalRef() (terra.Reference, error)

func (OwnerAttributes) InternalTokens

func (o OwnerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OwnerAttributes) InternalWithRef

func (o OwnerAttributes) InternalWithRef(ref terra.Reference) OwnerAttributes

type OwnerState

type OwnerState struct {
	DisplayName string `json:"display_name"`
	Id          string `json:"id"`
}

Jump to

Keyboard shortcuts

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