Documentation ¶
Index ¶
- type AccessControlPolicy
- type AccessControlPolicyAttributes
- func (acp AccessControlPolicyAttributes) Grant() terra.SetValue[GrantAttributes]
- func (acp AccessControlPolicyAttributes) InternalRef() (terra.Reference, error)
- func (acp AccessControlPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acp AccessControlPolicyAttributes) InternalWithRef(ref terra.Reference) AccessControlPolicyAttributes
- func (acp AccessControlPolicyAttributes) Owner() terra.ListValue[OwnerAttributes]
- type AccessControlPolicyState
- type Grant
- type GrantAttributes
- func (g GrantAttributes) Grantee() terra.ListValue[GranteeAttributes]
- func (g GrantAttributes) InternalRef() (terra.Reference, error)
- func (g GrantAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g GrantAttributes) InternalWithRef(ref terra.Reference) GrantAttributes
- func (g GrantAttributes) Permission() terra.StringValue
- type GrantState
- type Grantee
- type GranteeAttributes
- func (g GranteeAttributes) DisplayName() terra.StringValue
- func (g GranteeAttributes) EmailAddress() terra.StringValue
- func (g GranteeAttributes) Id() terra.StringValue
- func (g GranteeAttributes) InternalRef() (terra.Reference, error)
- func (g GranteeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g GranteeAttributes) InternalWithRef(ref terra.Reference) GranteeAttributes
- func (g GranteeAttributes) Type() terra.StringValue
- func (g GranteeAttributes) Uri() terra.StringValue
- type GranteeState
- type Owner
- type OwnerAttributes
- func (o OwnerAttributes) DisplayName() terra.StringValue
- func (o OwnerAttributes) Id() terra.StringValue
- func (o OwnerAttributes) InternalRef() (terra.Reference, error)
- func (o OwnerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (o OwnerAttributes) InternalWithRef(ref terra.Reference) OwnerAttributes
- type OwnerState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessControlPolicy ¶
type AccessControlPolicyAttributes ¶
type AccessControlPolicyAttributes struct {
// contains filtered or unexported fields
}
func (AccessControlPolicyAttributes) Grant ¶
func (acp AccessControlPolicyAttributes) Grant() terra.SetValue[GrantAttributes]
func (AccessControlPolicyAttributes) InternalRef ¶
func (acp AccessControlPolicyAttributes) InternalRef() (terra.Reference, error)
func (AccessControlPolicyAttributes) InternalTokens ¶
func (acp AccessControlPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccessControlPolicyAttributes) InternalWithRef ¶
func (acp AccessControlPolicyAttributes) InternalWithRef(ref terra.Reference) AccessControlPolicyAttributes
func (AccessControlPolicyAttributes) Owner ¶
func (acp AccessControlPolicyAttributes) Owner() terra.ListValue[OwnerAttributes]
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 (g GrantAttributes) Grantee() terra.ListValue[GranteeAttributes]
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 (g GranteeAttributes) Id() terra.StringValue
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 (g GranteeAttributes) Type() terra.StringValue
func (GranteeAttributes) Uri ¶
func (g GranteeAttributes) Uri() terra.StringValue
type GranteeState ¶
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 (o OwnerAttributes) Id() terra.StringValue
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 ¶
Click to show internal directories.
Click to hide internal directories.