Documentation ¶
Index ¶
- type Args
- type CustomConfig
- type CustomConfigAttributes
- func (cc CustomConfigAttributes) CustomOutput() terra.ListValue[CustomConfigCustomOutputAttributes]
- func (cc CustomConfigAttributes) Description() terra.StringValue
- func (cc CustomConfigAttributes) InternalRef() (terra.Reference, error)
- func (cc CustomConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CustomConfigAttributes) InternalWithRef(ref terra.Reference) CustomConfigAttributes
- func (cc CustomConfigAttributes) Predicate() terra.ListValue[CustomConfigPredicateAttributes]
- func (cc CustomConfigAttributes) Recommendation() terra.StringValue
- func (cc CustomConfigAttributes) ResourceSelector() terra.ListValue[CustomConfigResourceSelectorAttributes]
- func (cc CustomConfigAttributes) Severity() terra.StringValue
- type CustomConfigCustomOutput
- type CustomConfigCustomOutputAttributes
- func (co CustomConfigCustomOutputAttributes) InternalRef() (terra.Reference, error)
- func (co CustomConfigCustomOutputAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (co CustomConfigCustomOutputAttributes) InternalWithRef(ref terra.Reference) CustomConfigCustomOutputAttributes
- func (co CustomConfigCustomOutputAttributes) Properties() terra.ListValue[CustomConfigCustomOutputPropertiesAttributes]
- type CustomConfigCustomOutputProperties
- type CustomConfigCustomOutputPropertiesAttributes
- func (p CustomConfigCustomOutputPropertiesAttributes) InternalRef() (terra.Reference, error)
- func (p CustomConfigCustomOutputPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p CustomConfigCustomOutputPropertiesAttributes) InternalWithRef(ref terra.Reference) CustomConfigCustomOutputPropertiesAttributes
- func (p CustomConfigCustomOutputPropertiesAttributes) Name() terra.StringValue
- func (p CustomConfigCustomOutputPropertiesAttributes) ValueExpression() terra.ListValue[CustomConfigCustomOutputPropertiesValueExpressionAttributes]
- type CustomConfigCustomOutputPropertiesState
- type CustomConfigCustomOutputPropertiesValueExpression
- type CustomConfigCustomOutputPropertiesValueExpressionAttributes
- func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) Description() terra.StringValue
- func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) Expression() terra.StringValue
- func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) InternalRef() (terra.Reference, error)
- func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) InternalWithRef(ref terra.Reference) CustomConfigCustomOutputPropertiesValueExpressionAttributes
- func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) Location() terra.StringValue
- func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) Title() terra.StringValue
- type CustomConfigCustomOutputPropertiesValueExpressionState
- type CustomConfigCustomOutputState
- type CustomConfigPredicate
- type CustomConfigPredicateAttributes
- func (p CustomConfigPredicateAttributes) Description() terra.StringValue
- func (p CustomConfigPredicateAttributes) Expression() terra.StringValue
- func (p CustomConfigPredicateAttributes) InternalRef() (terra.Reference, error)
- func (p CustomConfigPredicateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p CustomConfigPredicateAttributes) InternalWithRef(ref terra.Reference) CustomConfigPredicateAttributes
- func (p CustomConfigPredicateAttributes) Location() terra.StringValue
- func (p CustomConfigPredicateAttributes) Title() terra.StringValue
- type CustomConfigPredicateState
- type CustomConfigResourceSelector
- type CustomConfigResourceSelectorAttributes
- func (rs CustomConfigResourceSelectorAttributes) InternalRef() (terra.Reference, error)
- func (rs CustomConfigResourceSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rs CustomConfigResourceSelectorAttributes) InternalWithRef(ref terra.Reference) CustomConfigResourceSelectorAttributes
- func (rs CustomConfigResourceSelectorAttributes) ResourceTypes() terra.ListValue[terra.StringValue]
- type CustomConfigResourceSelectorState
- type CustomConfigState
- type Resource
- func (gsocm *Resource) Attributes() googleSccOrganizationCustomModuleAttributes
- func (gsocm *Resource) Configuration() interface{}
- func (gsocm *Resource) DependOn() terra.Reference
- func (gsocm *Resource) Dependencies() terra.Dependencies
- func (gsocm *Resource) ImportState(state io.Reader) error
- func (gsocm *Resource) LifecycleManagement() *terra.Lifecycle
- func (gsocm *Resource) LocalName() string
- func (gsocm *Resource) State() (*googleSccOrganizationCustomModuleState, bool)
- func (gsocm *Resource) StateMust() *googleSccOrganizationCustomModuleState
- func (gsocm *Resource) Type() string
- 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, required DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"` // EnablementState: string, required EnablementState terra.StringValue `hcl:"enablement_state,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Organization: string, required Organization terra.StringValue `hcl:"organization,attr" validate:"required"` // CustomConfig: required CustomConfig *CustomConfig `hcl:"custom_config,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_scc_organization_custom_module.
type CustomConfig ¶
type CustomConfig struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Recommendation: string, required Recommendation terra.StringValue `hcl:"recommendation,attr" validate:"required"` // Severity: string, required Severity terra.StringValue `hcl:"severity,attr" validate:"required"` // CustomConfigCustomOutput: optional CustomOutput *CustomConfigCustomOutput `hcl:"custom_output,block"` // CustomConfigPredicate: required Predicate *CustomConfigPredicate `hcl:"predicate,block" validate:"required"` // CustomConfigResourceSelector: required ResourceSelector *CustomConfigResourceSelector `hcl:"resource_selector,block" validate:"required"` }
type CustomConfigAttributes ¶
type CustomConfigAttributes struct {
// contains filtered or unexported fields
}
func (CustomConfigAttributes) CustomOutput ¶
func (cc CustomConfigAttributes) CustomOutput() terra.ListValue[CustomConfigCustomOutputAttributes]
func (CustomConfigAttributes) Description ¶
func (cc CustomConfigAttributes) Description() terra.StringValue
func (CustomConfigAttributes) InternalRef ¶
func (cc CustomConfigAttributes) InternalRef() (terra.Reference, error)
func (CustomConfigAttributes) InternalTokens ¶
func (cc CustomConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomConfigAttributes) InternalWithRef ¶
func (cc CustomConfigAttributes) InternalWithRef(ref terra.Reference) CustomConfigAttributes
func (CustomConfigAttributes) Predicate ¶
func (cc CustomConfigAttributes) Predicate() terra.ListValue[CustomConfigPredicateAttributes]
func (CustomConfigAttributes) Recommendation ¶
func (cc CustomConfigAttributes) Recommendation() terra.StringValue
func (CustomConfigAttributes) ResourceSelector ¶
func (cc CustomConfigAttributes) ResourceSelector() terra.ListValue[CustomConfigResourceSelectorAttributes]
func (CustomConfigAttributes) Severity ¶
func (cc CustomConfigAttributes) Severity() terra.StringValue
type CustomConfigCustomOutput ¶
type CustomConfigCustomOutput struct { // CustomConfigCustomOutputProperties: min=0 Properties []CustomConfigCustomOutputProperties `hcl:"properties,block" validate:"min=0"` }
type CustomConfigCustomOutputAttributes ¶
type CustomConfigCustomOutputAttributes struct {
// contains filtered or unexported fields
}
func (CustomConfigCustomOutputAttributes) InternalRef ¶
func (co CustomConfigCustomOutputAttributes) InternalRef() (terra.Reference, error)
func (CustomConfigCustomOutputAttributes) InternalTokens ¶
func (co CustomConfigCustomOutputAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomConfigCustomOutputAttributes) InternalWithRef ¶
func (co CustomConfigCustomOutputAttributes) InternalWithRef(ref terra.Reference) CustomConfigCustomOutputAttributes
func (CustomConfigCustomOutputAttributes) Properties ¶
func (co CustomConfigCustomOutputAttributes) Properties() terra.ListValue[CustomConfigCustomOutputPropertiesAttributes]
type CustomConfigCustomOutputProperties ¶
type CustomConfigCustomOutputProperties struct { // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // CustomConfigCustomOutputPropertiesValueExpression: optional ValueExpression *CustomConfigCustomOutputPropertiesValueExpression `hcl:"value_expression,block"` }
type CustomConfigCustomOutputPropertiesAttributes ¶
type CustomConfigCustomOutputPropertiesAttributes struct {
// contains filtered or unexported fields
}
func (CustomConfigCustomOutputPropertiesAttributes) InternalRef ¶
func (p CustomConfigCustomOutputPropertiesAttributes) InternalRef() (terra.Reference, error)
func (CustomConfigCustomOutputPropertiesAttributes) InternalTokens ¶
func (p CustomConfigCustomOutputPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomConfigCustomOutputPropertiesAttributes) InternalWithRef ¶
func (p CustomConfigCustomOutputPropertiesAttributes) InternalWithRef(ref terra.Reference) CustomConfigCustomOutputPropertiesAttributes
func (CustomConfigCustomOutputPropertiesAttributes) Name ¶
func (p CustomConfigCustomOutputPropertiesAttributes) Name() terra.StringValue
func (CustomConfigCustomOutputPropertiesAttributes) ValueExpression ¶
func (p CustomConfigCustomOutputPropertiesAttributes) ValueExpression() terra.ListValue[CustomConfigCustomOutputPropertiesValueExpressionAttributes]
type CustomConfigCustomOutputPropertiesState ¶
type CustomConfigCustomOutputPropertiesState struct { Name string `json:"name"` ValueExpression []CustomConfigCustomOutputPropertiesValueExpressionState `json:"value_expression"` }
type CustomConfigCustomOutputPropertiesValueExpression ¶
type CustomConfigCustomOutputPropertiesValueExpression 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 CustomConfigCustomOutputPropertiesValueExpressionAttributes ¶
type CustomConfigCustomOutputPropertiesValueExpressionAttributes struct {
// contains filtered or unexported fields
}
func (CustomConfigCustomOutputPropertiesValueExpressionAttributes) Description ¶
func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) Description() terra.StringValue
func (CustomConfigCustomOutputPropertiesValueExpressionAttributes) Expression ¶
func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) Expression() terra.StringValue
func (CustomConfigCustomOutputPropertiesValueExpressionAttributes) InternalRef ¶
func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) InternalRef() (terra.Reference, error)
func (CustomConfigCustomOutputPropertiesValueExpressionAttributes) InternalTokens ¶
func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomConfigCustomOutputPropertiesValueExpressionAttributes) InternalWithRef ¶
func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) InternalWithRef(ref terra.Reference) CustomConfigCustomOutputPropertiesValueExpressionAttributes
func (CustomConfigCustomOutputPropertiesValueExpressionAttributes) Location ¶
func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) Location() terra.StringValue
func (CustomConfigCustomOutputPropertiesValueExpressionAttributes) Title ¶
func (ve CustomConfigCustomOutputPropertiesValueExpressionAttributes) Title() terra.StringValue
type CustomConfigCustomOutputState ¶
type CustomConfigCustomOutputState struct {
Properties []CustomConfigCustomOutputPropertiesState `json:"properties"`
}
type CustomConfigPredicate ¶
type CustomConfigPredicate 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 CustomConfigPredicateAttributes ¶
type CustomConfigPredicateAttributes struct {
// contains filtered or unexported fields
}
func (CustomConfigPredicateAttributes) Description ¶
func (p CustomConfigPredicateAttributes) Description() terra.StringValue
func (CustomConfigPredicateAttributes) Expression ¶
func (p CustomConfigPredicateAttributes) Expression() terra.StringValue
func (CustomConfigPredicateAttributes) InternalRef ¶
func (p CustomConfigPredicateAttributes) InternalRef() (terra.Reference, error)
func (CustomConfigPredicateAttributes) InternalTokens ¶
func (p CustomConfigPredicateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomConfigPredicateAttributes) InternalWithRef ¶
func (p CustomConfigPredicateAttributes) InternalWithRef(ref terra.Reference) CustomConfigPredicateAttributes
func (CustomConfigPredicateAttributes) Location ¶
func (p CustomConfigPredicateAttributes) Location() terra.StringValue
func (CustomConfigPredicateAttributes) Title ¶
func (p CustomConfigPredicateAttributes) Title() terra.StringValue
type CustomConfigResourceSelector ¶
type CustomConfigResourceSelector struct { // ResourceTypes: list of string, required ResourceTypes terra.ListValue[terra.StringValue] `hcl:"resource_types,attr" validate:"required"` }
type CustomConfigResourceSelectorAttributes ¶
type CustomConfigResourceSelectorAttributes struct {
// contains filtered or unexported fields
}
func (CustomConfigResourceSelectorAttributes) InternalRef ¶
func (rs CustomConfigResourceSelectorAttributes) InternalRef() (terra.Reference, error)
func (CustomConfigResourceSelectorAttributes) InternalTokens ¶
func (rs CustomConfigResourceSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomConfigResourceSelectorAttributes) InternalWithRef ¶
func (rs CustomConfigResourceSelectorAttributes) InternalWithRef(ref terra.Reference) CustomConfigResourceSelectorAttributes
func (CustomConfigResourceSelectorAttributes) ResourceTypes ¶
func (rs CustomConfigResourceSelectorAttributes) ResourceTypes() terra.ListValue[terra.StringValue]
type CustomConfigResourceSelectorState ¶
type CustomConfigResourceSelectorState struct {
ResourceTypes []string `json:"resource_types"`
}
type CustomConfigState ¶
type CustomConfigState struct { Description string `json:"description"` Recommendation string `json:"recommendation"` Severity string `json:"severity"` CustomOutput []CustomConfigCustomOutputState `json:"custom_output"` Predicate []CustomConfigPredicateState `json:"predicate"` ResourceSelector []CustomConfigResourceSelectorState `json:"resource_selector"` }
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_scc_organization_custom_module.
func (*Resource) Attributes ¶
func (gsocm *Resource) Attributes() googleSccOrganizationCustomModuleAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gsocm *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gsocm *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 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.