Documentation ¶
Index ¶
- type Args
- type Configuration
- type ConfigurationAttributes
- func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
- func (c ConfigurationAttributes) UnusedAccess() terra.ListValue[ConfigurationUnusedAccessAttributes]
- type ConfigurationState
- type ConfigurationUnusedAccess
- type ConfigurationUnusedAccessAttributes
- func (ua ConfigurationUnusedAccessAttributes) InternalRef() (terra.Reference, error)
- func (ua ConfigurationUnusedAccessAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ua ConfigurationUnusedAccessAttributes) InternalWithRef(ref terra.Reference) ConfigurationUnusedAccessAttributes
- func (ua ConfigurationUnusedAccessAttributes) UnusedAccessAge() terra.NumberValue
- type ConfigurationUnusedAccessState
- type Resource
- func (aaa *Resource) Attributes() awsAccessanalyzerAnalyzerAttributes
- func (aaa *Resource) Configuration() interface{}
- func (aaa *Resource) DependOn() terra.Reference
- func (aaa *Resource) Dependencies() terra.Dependencies
- func (aaa *Resource) ImportState(state io.Reader) error
- func (aaa *Resource) LifecycleManagement() *terra.Lifecycle
- func (aaa *Resource) LocalName() string
- func (aaa *Resource) State() (*awsAccessanalyzerAnalyzerState, bool)
- func (aaa *Resource) StateMust() *awsAccessanalyzerAnalyzerState
- func (aaa *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AnalyzerName: string, required AnalyzerName terra.StringValue `hcl:"analyzer_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Configuration: optional Configuration *Configuration `hcl:"configuration,block"` }
Args contains the configurations for aws_accessanalyzer_analyzer.
type Configuration ¶
type Configuration struct { // ConfigurationUnusedAccess: optional UnusedAccess *ConfigurationUnusedAccess `hcl:"unused_access,block"` }
type ConfigurationAttributes ¶
type ConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationAttributes) InternalRef ¶
func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationAttributes) InternalTokens ¶
func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationAttributes) InternalWithRef ¶
func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
func (ConfigurationAttributes) UnusedAccess ¶
func (c ConfigurationAttributes) UnusedAccess() terra.ListValue[ConfigurationUnusedAccessAttributes]
type ConfigurationState ¶
type ConfigurationState struct {
UnusedAccess []ConfigurationUnusedAccessState `json:"unused_access"`
}
type ConfigurationUnusedAccess ¶
type ConfigurationUnusedAccess struct { // UnusedAccessAge: number, optional UnusedAccessAge terra.NumberValue `hcl:"unused_access_age,attr"` }
type ConfigurationUnusedAccessAttributes ¶
type ConfigurationUnusedAccessAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationUnusedAccessAttributes) InternalRef ¶
func (ua ConfigurationUnusedAccessAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationUnusedAccessAttributes) InternalTokens ¶
func (ua ConfigurationUnusedAccessAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationUnusedAccessAttributes) InternalWithRef ¶
func (ua ConfigurationUnusedAccessAttributes) InternalWithRef(ref terra.Reference) ConfigurationUnusedAccessAttributes
func (ConfigurationUnusedAccessAttributes) UnusedAccessAge ¶
func (ua ConfigurationUnusedAccessAttributes) UnusedAccessAge() terra.NumberValue
type ConfigurationUnusedAccessState ¶
type ConfigurationUnusedAccessState struct {
UnusedAccessAge float64 `json:"unused_access_age"`
}
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 aws_accessanalyzer_analyzer.
func (*Resource) Attributes ¶
func (aaa *Resource) Attributes() awsAccessanalyzerAnalyzerAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aaa *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aaa *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.
Click to show internal directories.
Click to hide internal directories.