Documentation ¶
Index ¶
- type Args
- type Authentication
- type AuthenticationAttributes
- func (a AuthenticationAttributes) CustomAccount() terra.ListValue[AuthenticationCustomAccountAttributes]
- func (a AuthenticationAttributes) GoogleAccount() terra.ListValue[AuthenticationGoogleAccountAttributes]
- func (a AuthenticationAttributes) InternalRef() (terra.Reference, error)
- func (a AuthenticationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AuthenticationAttributes) InternalWithRef(ref terra.Reference) AuthenticationAttributes
- type AuthenticationCustomAccount
- type AuthenticationCustomAccountAttributes
- func (ca AuthenticationCustomAccountAttributes) InternalRef() (terra.Reference, error)
- func (ca AuthenticationCustomAccountAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ca AuthenticationCustomAccountAttributes) InternalWithRef(ref terra.Reference) AuthenticationCustomAccountAttributes
- func (ca AuthenticationCustomAccountAttributes) LoginUrl() terra.StringValue
- func (ca AuthenticationCustomAccountAttributes) Password() terra.StringValue
- func (ca AuthenticationCustomAccountAttributes) Username() terra.StringValue
- type AuthenticationCustomAccountState
- type AuthenticationGoogleAccount
- type AuthenticationGoogleAccountAttributes
- func (ga AuthenticationGoogleAccountAttributes) InternalRef() (terra.Reference, error)
- func (ga AuthenticationGoogleAccountAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ga AuthenticationGoogleAccountAttributes) InternalWithRef(ref terra.Reference) AuthenticationGoogleAccountAttributes
- func (ga AuthenticationGoogleAccountAttributes) Password() terra.StringValue
- func (ga AuthenticationGoogleAccountAttributes) Username() terra.StringValue
- type AuthenticationGoogleAccountState
- type AuthenticationState
- type Resource
- func (gsssc *Resource) Attributes() googleSecurityScannerScanConfigAttributes
- func (gsssc *Resource) Configuration() interface{}
- func (gsssc *Resource) DependOn() terra.Reference
- func (gsssc *Resource) Dependencies() terra.Dependencies
- func (gsssc *Resource) ImportState(state io.Reader) error
- func (gsssc *Resource) LifecycleManagement() *terra.Lifecycle
- func (gsssc *Resource) LocalName() string
- func (gsssc *Resource) State() (*googleSecurityScannerScanConfigState, bool)
- func (gsssc *Resource) StateMust() *googleSecurityScannerScanConfigState
- func (gsssc *Resource) Type() string
- type Schedule
- type ScheduleAttributes
- func (s ScheduleAttributes) InternalRef() (terra.Reference, error)
- func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes
- func (s ScheduleAttributes) IntervalDurationDays() terra.NumberValue
- func (s ScheduleAttributes) ScheduleTime() terra.StringValue
- type ScheduleState
- 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 { // BlacklistPatterns: list of string, optional BlacklistPatterns terra.ListValue[terra.StringValue] `hcl:"blacklist_patterns,attr"` // DisplayName: string, required DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"` // ExportToSecurityCommandCenter: string, optional ExportToSecurityCommandCenter terra.StringValue `hcl:"export_to_security_command_center,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MaxQps: number, optional MaxQps terra.NumberValue `hcl:"max_qps,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // StartingUrls: list of string, required StartingUrls terra.ListValue[terra.StringValue] `hcl:"starting_urls,attr" validate:"required"` // TargetPlatforms: list of string, optional TargetPlatforms terra.ListValue[terra.StringValue] `hcl:"target_platforms,attr"` // UserAgent: string, optional UserAgent terra.StringValue `hcl:"user_agent,attr"` // Authentication: optional Authentication *Authentication `hcl:"authentication,block"` // Schedule: optional Schedule *Schedule `hcl:"schedule,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_security_scanner_scan_config.
type Authentication ¶
type Authentication struct { // AuthenticationCustomAccount: optional CustomAccount *AuthenticationCustomAccount `hcl:"custom_account,block"` // AuthenticationGoogleAccount: optional GoogleAccount *AuthenticationGoogleAccount `hcl:"google_account,block"` }
type AuthenticationAttributes ¶
type AuthenticationAttributes struct {
// contains filtered or unexported fields
}
func (AuthenticationAttributes) CustomAccount ¶
func (a AuthenticationAttributes) CustomAccount() terra.ListValue[AuthenticationCustomAccountAttributes]
func (AuthenticationAttributes) GoogleAccount ¶
func (a AuthenticationAttributes) GoogleAccount() terra.ListValue[AuthenticationGoogleAccountAttributes]
func (AuthenticationAttributes) InternalRef ¶
func (a AuthenticationAttributes) InternalRef() (terra.Reference, error)
func (AuthenticationAttributes) InternalTokens ¶
func (a AuthenticationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthenticationAttributes) InternalWithRef ¶
func (a AuthenticationAttributes) InternalWithRef(ref terra.Reference) AuthenticationAttributes
type AuthenticationCustomAccount ¶
type AuthenticationCustomAccount struct { // LoginUrl: string, required LoginUrl terra.StringValue `hcl:"login_url,attr" validate:"required"` // Password: string, required Password terra.StringValue `hcl:"password,attr" validate:"required"` // Username: string, required Username terra.StringValue `hcl:"username,attr" validate:"required"` }
type AuthenticationCustomAccountAttributes ¶
type AuthenticationCustomAccountAttributes struct {
// contains filtered or unexported fields
}
func (AuthenticationCustomAccountAttributes) InternalRef ¶
func (ca AuthenticationCustomAccountAttributes) InternalRef() (terra.Reference, error)
func (AuthenticationCustomAccountAttributes) InternalTokens ¶
func (ca AuthenticationCustomAccountAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthenticationCustomAccountAttributes) InternalWithRef ¶
func (ca AuthenticationCustomAccountAttributes) InternalWithRef(ref terra.Reference) AuthenticationCustomAccountAttributes
func (AuthenticationCustomAccountAttributes) LoginUrl ¶
func (ca AuthenticationCustomAccountAttributes) LoginUrl() terra.StringValue
func (AuthenticationCustomAccountAttributes) Password ¶
func (ca AuthenticationCustomAccountAttributes) Password() terra.StringValue
func (AuthenticationCustomAccountAttributes) Username ¶
func (ca AuthenticationCustomAccountAttributes) Username() terra.StringValue
type AuthenticationGoogleAccount ¶
type AuthenticationGoogleAccount struct { // Password: string, required Password terra.StringValue `hcl:"password,attr" validate:"required"` // Username: string, required Username terra.StringValue `hcl:"username,attr" validate:"required"` }
type AuthenticationGoogleAccountAttributes ¶
type AuthenticationGoogleAccountAttributes struct {
// contains filtered or unexported fields
}
func (AuthenticationGoogleAccountAttributes) InternalRef ¶
func (ga AuthenticationGoogleAccountAttributes) InternalRef() (terra.Reference, error)
func (AuthenticationGoogleAccountAttributes) InternalTokens ¶
func (ga AuthenticationGoogleAccountAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthenticationGoogleAccountAttributes) InternalWithRef ¶
func (ga AuthenticationGoogleAccountAttributes) InternalWithRef(ref terra.Reference) AuthenticationGoogleAccountAttributes
func (AuthenticationGoogleAccountAttributes) Password ¶
func (ga AuthenticationGoogleAccountAttributes) Password() terra.StringValue
func (AuthenticationGoogleAccountAttributes) Username ¶
func (ga AuthenticationGoogleAccountAttributes) Username() terra.StringValue
type AuthenticationState ¶
type AuthenticationState struct { CustomAccount []AuthenticationCustomAccountState `json:"custom_account"` GoogleAccount []AuthenticationGoogleAccountState `json:"google_account"` }
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_security_scanner_scan_config.
func (*Resource) Attributes ¶
func (gsssc *Resource) Attributes() googleSecurityScannerScanConfigAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gsssc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gsssc *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 Schedule ¶
type Schedule struct { // IntervalDurationDays: number, required IntervalDurationDays terra.NumberValue `hcl:"interval_duration_days,attr" validate:"required"` // ScheduleTime: string, optional ScheduleTime terra.StringValue `hcl:"schedule_time,attr"` }
type ScheduleAttributes ¶
type ScheduleAttributes struct {
// contains filtered or unexported fields
}
func (ScheduleAttributes) InternalRef ¶
func (s ScheduleAttributes) InternalRef() (terra.Reference, error)
func (ScheduleAttributes) InternalTokens ¶
func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScheduleAttributes) InternalWithRef ¶
func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes
func (ScheduleAttributes) IntervalDurationDays ¶
func (s ScheduleAttributes) IntervalDurationDays() terra.NumberValue
func (ScheduleAttributes) ScheduleTime ¶
func (s ScheduleAttributes) ScheduleTime() terra.StringValue
type ScheduleState ¶
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.