Documentation ¶
Index ¶
- type Args
- type Resource
- func (giabp *Resource) Attributes() googleIamAccessBoundaryPolicyAttributes
- func (giabp *Resource) Configuration() interface{}
- func (giabp *Resource) DependOn() terra.Reference
- func (giabp *Resource) Dependencies() terra.Dependencies
- func (giabp *Resource) ImportState(state io.Reader) error
- func (giabp *Resource) LifecycleManagement() *terra.Lifecycle
- func (giabp *Resource) LocalName() string
- func (giabp *Resource) State() (*googleIamAccessBoundaryPolicyState, bool)
- func (giabp *Resource) StateMust() *googleIamAccessBoundaryPolicyState
- func (giabp *Resource) Type() string
- type Rules
- type RulesAccessBoundaryRule
- type RulesAccessBoundaryRuleAttributes
- func (abr RulesAccessBoundaryRuleAttributes) AvailabilityCondition() terra.ListValue[RulesAccessBoundaryRuleAvailabilityConditionAttributes]
- func (abr RulesAccessBoundaryRuleAttributes) AvailablePermissions() terra.ListValue[terra.StringValue]
- func (abr RulesAccessBoundaryRuleAttributes) AvailableResource() terra.StringValue
- func (abr RulesAccessBoundaryRuleAttributes) InternalRef() (terra.Reference, error)
- func (abr RulesAccessBoundaryRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (abr RulesAccessBoundaryRuleAttributes) InternalWithRef(ref terra.Reference) RulesAccessBoundaryRuleAttributes
- type RulesAccessBoundaryRuleAvailabilityCondition
- type RulesAccessBoundaryRuleAvailabilityConditionAttributes
- func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) Description() terra.StringValue
- func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) Expression() terra.StringValue
- func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) InternalRef() (terra.Reference, error)
- func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) InternalWithRef(ref terra.Reference) RulesAccessBoundaryRuleAvailabilityConditionAttributes
- func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) Location() terra.StringValue
- func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) Title() terra.StringValue
- type RulesAccessBoundaryRuleAvailabilityConditionState
- type RulesAccessBoundaryRuleState
- type RulesAttributes
- func (r RulesAttributes) AccessBoundaryRule() terra.ListValue[RulesAccessBoundaryRuleAttributes]
- func (r RulesAttributes) Description() terra.StringValue
- func (r RulesAttributes) InternalRef() (terra.Reference, error)
- func (r RulesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RulesAttributes) InternalWithRef(ref terra.Reference) RulesAttributes
- type RulesState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Parent: string, required Parent terra.StringValue `hcl:"parent,attr" validate:"required"` // Rules: min=1 Rules []Rules `hcl:"rules,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_iam_access_boundary_policy.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource google_iam_access_boundary_policy.
func (*Resource) Attributes ¶
func (giabp *Resource) Attributes() googleIamAccessBoundaryPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (giabp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (giabp *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Rules ¶
type Rules struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // RulesAccessBoundaryRule: optional AccessBoundaryRule *RulesAccessBoundaryRule `hcl:"access_boundary_rule,block"` }
type RulesAccessBoundaryRule ¶
type RulesAccessBoundaryRule struct { // AvailablePermissions: list of string, optional AvailablePermissions terra.ListValue[terra.StringValue] `hcl:"available_permissions,attr"` // AvailableResource: string, optional AvailableResource terra.StringValue `hcl:"available_resource,attr"` // RulesAccessBoundaryRuleAvailabilityCondition: optional AvailabilityCondition *RulesAccessBoundaryRuleAvailabilityCondition `hcl:"availability_condition,block"` }
type RulesAccessBoundaryRuleAttributes ¶
type RulesAccessBoundaryRuleAttributes struct {
// contains filtered or unexported fields
}
func (RulesAccessBoundaryRuleAttributes) AvailabilityCondition ¶
func (abr RulesAccessBoundaryRuleAttributes) AvailabilityCondition() terra.ListValue[RulesAccessBoundaryRuleAvailabilityConditionAttributes]
func (RulesAccessBoundaryRuleAttributes) AvailablePermissions ¶
func (abr RulesAccessBoundaryRuleAttributes) AvailablePermissions() terra.ListValue[terra.StringValue]
func (RulesAccessBoundaryRuleAttributes) AvailableResource ¶
func (abr RulesAccessBoundaryRuleAttributes) AvailableResource() terra.StringValue
func (RulesAccessBoundaryRuleAttributes) InternalRef ¶
func (abr RulesAccessBoundaryRuleAttributes) InternalRef() (terra.Reference, error)
func (RulesAccessBoundaryRuleAttributes) InternalTokens ¶
func (abr RulesAccessBoundaryRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RulesAccessBoundaryRuleAttributes) InternalWithRef ¶
func (abr RulesAccessBoundaryRuleAttributes) InternalWithRef(ref terra.Reference) RulesAccessBoundaryRuleAttributes
type RulesAccessBoundaryRuleAvailabilityCondition ¶
type RulesAccessBoundaryRuleAvailabilityCondition struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Expression: string, required Expression terra.StringValue `hcl:"expression,attr" validate:"required"` // Location: string, optional Location terra.StringValue `hcl:"location,attr"` // Title: string, optional Title terra.StringValue `hcl:"title,attr"` }
type RulesAccessBoundaryRuleAvailabilityConditionAttributes ¶
type RulesAccessBoundaryRuleAvailabilityConditionAttributes struct {
// contains filtered or unexported fields
}
func (RulesAccessBoundaryRuleAvailabilityConditionAttributes) Description ¶
func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) Description() terra.StringValue
func (RulesAccessBoundaryRuleAvailabilityConditionAttributes) Expression ¶
func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) Expression() terra.StringValue
func (RulesAccessBoundaryRuleAvailabilityConditionAttributes) InternalRef ¶
func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) InternalRef() (terra.Reference, error)
func (RulesAccessBoundaryRuleAvailabilityConditionAttributes) InternalTokens ¶
func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RulesAccessBoundaryRuleAvailabilityConditionAttributes) InternalWithRef ¶
func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) InternalWithRef(ref terra.Reference) RulesAccessBoundaryRuleAvailabilityConditionAttributes
func (RulesAccessBoundaryRuleAvailabilityConditionAttributes) Location ¶
func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) Location() terra.StringValue
func (RulesAccessBoundaryRuleAvailabilityConditionAttributes) Title ¶
func (ac RulesAccessBoundaryRuleAvailabilityConditionAttributes) Title() terra.StringValue
type RulesAccessBoundaryRuleState ¶
type RulesAccessBoundaryRuleState struct { AvailablePermissions []string `json:"available_permissions"` AvailableResource string `json:"available_resource"` AvailabilityCondition []RulesAccessBoundaryRuleAvailabilityConditionState `json:"availability_condition"` }
type RulesAttributes ¶
type RulesAttributes struct {
// contains filtered or unexported fields
}
func (RulesAttributes) AccessBoundaryRule ¶
func (r RulesAttributes) AccessBoundaryRule() terra.ListValue[RulesAccessBoundaryRuleAttributes]
func (RulesAttributes) Description ¶
func (r RulesAttributes) Description() terra.StringValue
func (RulesAttributes) InternalRef ¶
func (r RulesAttributes) InternalRef() (terra.Reference, error)
func (RulesAttributes) InternalTokens ¶
func (r RulesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RulesAttributes) InternalWithRef ¶
func (r RulesAttributes) InternalWithRef(ref terra.Reference) RulesAttributes
type RulesState ¶
type RulesState struct { Description string `json:"description"` AccessBoundaryRule []RulesAccessBoundaryRuleState `json:"access_boundary_rule"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.