Documentation ¶
Index ¶
- type DataArgs
- type DataAuditConfig
- type DataAuditConfigAttributes
- func (ac DataAuditConfigAttributes) AuditLogConfigs() terra.SetValue[DataAuditConfigAuditLogConfigsAttributes]
- func (ac DataAuditConfigAttributes) InternalRef() (terra.Reference, error)
- func (ac DataAuditConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac DataAuditConfigAttributes) InternalWithRef(ref terra.Reference) DataAuditConfigAttributes
- func (ac DataAuditConfigAttributes) Service() terra.StringValue
- type DataAuditConfigAuditLogConfigs
- type DataAuditConfigAuditLogConfigsAttributes
- func (alc DataAuditConfigAuditLogConfigsAttributes) ExemptedMembers() terra.SetValue[terra.StringValue]
- func (alc DataAuditConfigAuditLogConfigsAttributes) InternalRef() (terra.Reference, error)
- func (alc DataAuditConfigAuditLogConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (alc DataAuditConfigAuditLogConfigsAttributes) InternalWithRef(ref terra.Reference) DataAuditConfigAuditLogConfigsAttributes
- func (alc DataAuditConfigAuditLogConfigsAttributes) LogType() terra.StringValue
- type DataAuditConfigAuditLogConfigsState
- type DataAuditConfigState
- type DataBinding
- type DataBindingAttributes
- func (b DataBindingAttributes) Condition() terra.ListValue[DataBindingConditionAttributes]
- func (b DataBindingAttributes) InternalRef() (terra.Reference, error)
- func (b DataBindingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (b DataBindingAttributes) InternalWithRef(ref terra.Reference) DataBindingAttributes
- func (b DataBindingAttributes) Members() terra.SetValue[terra.StringValue]
- func (b DataBindingAttributes) Role() terra.StringValue
- type DataBindingCondition
- type DataBindingConditionAttributes
- func (c DataBindingConditionAttributes) Description() terra.StringValue
- func (c DataBindingConditionAttributes) Expression() terra.StringValue
- func (c DataBindingConditionAttributes) InternalRef() (terra.Reference, error)
- func (c DataBindingConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c DataBindingConditionAttributes) InternalWithRef(ref terra.Reference) DataBindingConditionAttributes
- func (c DataBindingConditionAttributes) Title() terra.StringValue
- type DataBindingConditionState
- type DataBindingState
- type DataSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // AuditConfig: min=0 AuditConfig []DataAuditConfig `hcl:"audit_config,block" validate:"min=0"` // Binding: min=0 Binding []DataBinding `hcl:"binding,block" validate:"min=0"` }
DataArgs contains the configurations for google_iam_policy.
type DataAuditConfig ¶
type DataAuditConfig struct { // Service: string, required Service terra.StringValue `hcl:"service,attr" validate:"required"` // AuditConfigAuditLogConfigs: min=1 AuditLogConfigs []DataAuditConfigAuditLogConfigs `hcl:"audit_log_configs,block" validate:"min=1"` }
type DataAuditConfigAttributes ¶
type DataAuditConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataAuditConfigAttributes) AuditLogConfigs ¶
func (ac DataAuditConfigAttributes) AuditLogConfigs() terra.SetValue[DataAuditConfigAuditLogConfigsAttributes]
func (DataAuditConfigAttributes) InternalRef ¶
func (ac DataAuditConfigAttributes) InternalRef() (terra.Reference, error)
func (DataAuditConfigAttributes) InternalTokens ¶
func (ac DataAuditConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAuditConfigAttributes) InternalWithRef ¶
func (ac DataAuditConfigAttributes) InternalWithRef(ref terra.Reference) DataAuditConfigAttributes
func (DataAuditConfigAttributes) Service ¶
func (ac DataAuditConfigAttributes) Service() terra.StringValue
type DataAuditConfigAuditLogConfigs ¶
type DataAuditConfigAuditLogConfigs struct { // ExemptedMembers: set of string, optional ExemptedMembers terra.SetValue[terra.StringValue] `hcl:"exempted_members,attr"` // LogType: string, required LogType terra.StringValue `hcl:"log_type,attr" validate:"required"` }
type DataAuditConfigAuditLogConfigsAttributes ¶
type DataAuditConfigAuditLogConfigsAttributes struct {
// contains filtered or unexported fields
}
func (DataAuditConfigAuditLogConfigsAttributes) ExemptedMembers ¶
func (alc DataAuditConfigAuditLogConfigsAttributes) ExemptedMembers() terra.SetValue[terra.StringValue]
func (DataAuditConfigAuditLogConfigsAttributes) InternalRef ¶
func (alc DataAuditConfigAuditLogConfigsAttributes) InternalRef() (terra.Reference, error)
func (DataAuditConfigAuditLogConfigsAttributes) InternalTokens ¶
func (alc DataAuditConfigAuditLogConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAuditConfigAuditLogConfigsAttributes) InternalWithRef ¶
func (alc DataAuditConfigAuditLogConfigsAttributes) InternalWithRef(ref terra.Reference) DataAuditConfigAuditLogConfigsAttributes
func (DataAuditConfigAuditLogConfigsAttributes) LogType ¶
func (alc DataAuditConfigAuditLogConfigsAttributes) LogType() terra.StringValue
type DataAuditConfigState ¶
type DataAuditConfigState struct { Service string `json:"service"` AuditLogConfigs []DataAuditConfigAuditLogConfigsState `json:"audit_log_configs"` }
type DataBinding ¶
type DataBinding struct { // Members: set of string, required Members terra.SetValue[terra.StringValue] `hcl:"members,attr" validate:"required"` // Role: string, required Role terra.StringValue `hcl:"role,attr" validate:"required"` // BindingCondition: optional Condition *DataBindingCondition `hcl:"condition,block"` }
type DataBindingAttributes ¶
type DataBindingAttributes struct {
// contains filtered or unexported fields
}
func (DataBindingAttributes) Condition ¶
func (b DataBindingAttributes) Condition() terra.ListValue[DataBindingConditionAttributes]
func (DataBindingAttributes) InternalRef ¶
func (b DataBindingAttributes) InternalRef() (terra.Reference, error)
func (DataBindingAttributes) InternalTokens ¶
func (b DataBindingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataBindingAttributes) InternalWithRef ¶
func (b DataBindingAttributes) InternalWithRef(ref terra.Reference) DataBindingAttributes
func (DataBindingAttributes) Members ¶
func (b DataBindingAttributes) Members() terra.SetValue[terra.StringValue]
func (DataBindingAttributes) Role ¶
func (b DataBindingAttributes) Role() terra.StringValue
type DataBindingCondition ¶
type DataBindingCondition struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Expression: string, required Expression terra.StringValue `hcl:"expression,attr" validate:"required"` // Title: string, required Title terra.StringValue `hcl:"title,attr" validate:"required"` }
type DataBindingConditionAttributes ¶
type DataBindingConditionAttributes struct {
// contains filtered or unexported fields
}
func (DataBindingConditionAttributes) Description ¶
func (c DataBindingConditionAttributes) Description() terra.StringValue
func (DataBindingConditionAttributes) Expression ¶
func (c DataBindingConditionAttributes) Expression() terra.StringValue
func (DataBindingConditionAttributes) InternalRef ¶
func (c DataBindingConditionAttributes) InternalRef() (terra.Reference, error)
func (DataBindingConditionAttributes) InternalTokens ¶
func (c DataBindingConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataBindingConditionAttributes) InternalWithRef ¶
func (c DataBindingConditionAttributes) InternalWithRef(ref terra.Reference) DataBindingConditionAttributes
func (DataBindingConditionAttributes) Title ¶
func (c DataBindingConditionAttributes) Title() terra.StringValue
type DataBindingState ¶
type DataBindingState struct { Members []string `json:"members"` Role string `json:"role"` Condition []DataBindingConditionState `json:"condition"` }
type DataSource ¶
DataSource represents the Terraform data resource google_iam_policy.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gip *DataSource) Attributes() dataGoogleIamPolicyAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gip *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gip *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gip *DataSource) LocalName() string
LocalName returns the local name for DataSource.
Click to show internal directories.
Click to hide internal directories.