Documentation
¶
Index ¶
- type Args
- type RecordingGroup
- type RecordingGroupAttributes
- func (rg RecordingGroupAttributes) AllSupported() terra.BoolValue
- func (rg RecordingGroupAttributes) ExclusionByResourceTypes() terra.ListValue[RecordingGroupExclusionByResourceTypesAttributes]
- func (rg RecordingGroupAttributes) IncludeGlobalResourceTypes() terra.BoolValue
- func (rg RecordingGroupAttributes) InternalRef() (terra.Reference, error)
- func (rg RecordingGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rg RecordingGroupAttributes) InternalWithRef(ref terra.Reference) RecordingGroupAttributes
- func (rg RecordingGroupAttributes) RecordingStrategy() terra.ListValue[RecordingGroupRecordingStrategyAttributes]
- func (rg RecordingGroupAttributes) ResourceTypes() terra.SetValue[terra.StringValue]
- type RecordingGroupExclusionByResourceTypes
- type RecordingGroupExclusionByResourceTypesAttributes
- func (ebrt RecordingGroupExclusionByResourceTypesAttributes) InternalRef() (terra.Reference, error)
- func (ebrt RecordingGroupExclusionByResourceTypesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ebrt RecordingGroupExclusionByResourceTypesAttributes) InternalWithRef(ref terra.Reference) RecordingGroupExclusionByResourceTypesAttributes
- func (ebrt RecordingGroupExclusionByResourceTypesAttributes) ResourceTypes() terra.SetValue[terra.StringValue]
- type RecordingGroupExclusionByResourceTypesState
- type RecordingGroupRecordingStrategy
- type RecordingGroupRecordingStrategyAttributes
- func (rs RecordingGroupRecordingStrategyAttributes) InternalRef() (terra.Reference, error)
- func (rs RecordingGroupRecordingStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rs RecordingGroupRecordingStrategyAttributes) InternalWithRef(ref terra.Reference) RecordingGroupRecordingStrategyAttributes
- func (rs RecordingGroupRecordingStrategyAttributes) UseOnly() terra.StringValue
- type RecordingGroupRecordingStrategyState
- type RecordingGroupState
- type RecordingMode
- type RecordingModeAttributes
- func (rm RecordingModeAttributes) InternalRef() (terra.Reference, error)
- func (rm RecordingModeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rm RecordingModeAttributes) InternalWithRef(ref terra.Reference) RecordingModeAttributes
- func (rm RecordingModeAttributes) RecordingFrequency() terra.StringValue
- func (rm RecordingModeAttributes) RecordingModeOverride() terra.ListValue[RecordingModeRecordingModeOverrideAttributes]
- type RecordingModeRecordingModeOverride
- type RecordingModeRecordingModeOverrideAttributes
- func (rmo RecordingModeRecordingModeOverrideAttributes) Description() terra.StringValue
- func (rmo RecordingModeRecordingModeOverrideAttributes) InternalRef() (terra.Reference, error)
- func (rmo RecordingModeRecordingModeOverrideAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rmo RecordingModeRecordingModeOverrideAttributes) InternalWithRef(ref terra.Reference) RecordingModeRecordingModeOverrideAttributes
- func (rmo RecordingModeRecordingModeOverrideAttributes) RecordingFrequency() terra.StringValue
- func (rmo RecordingModeRecordingModeOverrideAttributes) ResourceTypes() terra.SetValue[terra.StringValue]
- type RecordingModeRecordingModeOverrideState
- type RecordingModeState
- type Resource
- func (accr *Resource) Attributes() awsConfigConfigurationRecorderAttributes
- func (accr *Resource) Configuration() interface{}
- func (accr *Resource) DependOn() terra.Reference
- func (accr *Resource) Dependencies() terra.Dependencies
- func (accr *Resource) ImportState(state io.Reader) error
- func (accr *Resource) LifecycleManagement() *terra.Lifecycle
- func (accr *Resource) LocalName() string
- func (accr *Resource) State() (*awsConfigConfigurationRecorderState, bool)
- func (accr *Resource) StateMust() *awsConfigConfigurationRecorderState
- func (accr *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // RoleArn: string, required RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"` // RecordingGroup: optional RecordingGroup *RecordingGroup `hcl:"recording_group,block"` // RecordingMode: optional RecordingMode *RecordingMode `hcl:"recording_mode,block"` }
Args contains the configurations for aws_config_configuration_recorder.
type RecordingGroup ¶
type RecordingGroup struct { // AllSupported: bool, optional AllSupported terra.BoolValue `hcl:"all_supported,attr"` // IncludeGlobalResourceTypes: bool, optional IncludeGlobalResourceTypes terra.BoolValue `hcl:"include_global_resource_types,attr"` // ResourceTypes: set of string, optional ResourceTypes terra.SetValue[terra.StringValue] `hcl:"resource_types,attr"` // RecordingGroupExclusionByResourceTypes: min=0 ExclusionByResourceTypes []RecordingGroupExclusionByResourceTypes `hcl:"exclusion_by_resource_types,block" validate:"min=0"` // RecordingGroupRecordingStrategy: min=0 RecordingStrategy []RecordingGroupRecordingStrategy `hcl:"recording_strategy,block" validate:"min=0"` }
type RecordingGroupAttributes ¶
type RecordingGroupAttributes struct {
// contains filtered or unexported fields
}
func (RecordingGroupAttributes) AllSupported ¶
func (rg RecordingGroupAttributes) AllSupported() terra.BoolValue
func (RecordingGroupAttributes) ExclusionByResourceTypes ¶
func (rg RecordingGroupAttributes) ExclusionByResourceTypes() terra.ListValue[RecordingGroupExclusionByResourceTypesAttributes]
func (RecordingGroupAttributes) IncludeGlobalResourceTypes ¶
func (rg RecordingGroupAttributes) IncludeGlobalResourceTypes() terra.BoolValue
func (RecordingGroupAttributes) InternalRef ¶
func (rg RecordingGroupAttributes) InternalRef() (terra.Reference, error)
func (RecordingGroupAttributes) InternalTokens ¶
func (rg RecordingGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RecordingGroupAttributes) InternalWithRef ¶
func (rg RecordingGroupAttributes) InternalWithRef(ref terra.Reference) RecordingGroupAttributes
func (RecordingGroupAttributes) RecordingStrategy ¶
func (rg RecordingGroupAttributes) RecordingStrategy() terra.ListValue[RecordingGroupRecordingStrategyAttributes]
func (RecordingGroupAttributes) ResourceTypes ¶
func (rg RecordingGroupAttributes) ResourceTypes() terra.SetValue[terra.StringValue]
type RecordingGroupExclusionByResourceTypes ¶
type RecordingGroupExclusionByResourceTypes struct { // ResourceTypes: set of string, optional ResourceTypes terra.SetValue[terra.StringValue] `hcl:"resource_types,attr"` }
type RecordingGroupExclusionByResourceTypesAttributes ¶
type RecordingGroupExclusionByResourceTypesAttributes struct {
// contains filtered or unexported fields
}
func (RecordingGroupExclusionByResourceTypesAttributes) InternalRef ¶
func (ebrt RecordingGroupExclusionByResourceTypesAttributes) InternalRef() (terra.Reference, error)
func (RecordingGroupExclusionByResourceTypesAttributes) InternalTokens ¶
func (ebrt RecordingGroupExclusionByResourceTypesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RecordingGroupExclusionByResourceTypesAttributes) InternalWithRef ¶
func (ebrt RecordingGroupExclusionByResourceTypesAttributes) InternalWithRef(ref terra.Reference) RecordingGroupExclusionByResourceTypesAttributes
func (RecordingGroupExclusionByResourceTypesAttributes) ResourceTypes ¶
func (ebrt RecordingGroupExclusionByResourceTypesAttributes) ResourceTypes() terra.SetValue[terra.StringValue]
type RecordingGroupExclusionByResourceTypesState ¶
type RecordingGroupExclusionByResourceTypesState struct {
ResourceTypes []string `json:"resource_types"`
}
type RecordingGroupRecordingStrategy ¶
type RecordingGroupRecordingStrategy struct { // UseOnly: string, optional UseOnly terra.StringValue `hcl:"use_only,attr"` }
type RecordingGroupRecordingStrategyAttributes ¶
type RecordingGroupRecordingStrategyAttributes struct {
// contains filtered or unexported fields
}
func (RecordingGroupRecordingStrategyAttributes) InternalRef ¶
func (rs RecordingGroupRecordingStrategyAttributes) InternalRef() (terra.Reference, error)
func (RecordingGroupRecordingStrategyAttributes) InternalTokens ¶
func (rs RecordingGroupRecordingStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RecordingGroupRecordingStrategyAttributes) InternalWithRef ¶
func (rs RecordingGroupRecordingStrategyAttributes) InternalWithRef(ref terra.Reference) RecordingGroupRecordingStrategyAttributes
func (RecordingGroupRecordingStrategyAttributes) UseOnly ¶
func (rs RecordingGroupRecordingStrategyAttributes) UseOnly() terra.StringValue
type RecordingGroupRecordingStrategyState ¶
type RecordingGroupRecordingStrategyState struct {
UseOnly string `json:"use_only"`
}
type RecordingGroupState ¶
type RecordingGroupState struct { AllSupported bool `json:"all_supported"` IncludeGlobalResourceTypes bool `json:"include_global_resource_types"` ResourceTypes []string `json:"resource_types"` ExclusionByResourceTypes []RecordingGroupExclusionByResourceTypesState `json:"exclusion_by_resource_types"` RecordingStrategy []RecordingGroupRecordingStrategyState `json:"recording_strategy"` }
type RecordingMode ¶
type RecordingMode struct { // RecordingFrequency: string, optional RecordingFrequency terra.StringValue `hcl:"recording_frequency,attr"` // RecordingModeRecordingModeOverride: optional RecordingModeOverride *RecordingModeRecordingModeOverride `hcl:"recording_mode_override,block"` }
type RecordingModeAttributes ¶
type RecordingModeAttributes struct {
// contains filtered or unexported fields
}
func (RecordingModeAttributes) InternalRef ¶
func (rm RecordingModeAttributes) InternalRef() (terra.Reference, error)
func (RecordingModeAttributes) InternalTokens ¶
func (rm RecordingModeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RecordingModeAttributes) InternalWithRef ¶
func (rm RecordingModeAttributes) InternalWithRef(ref terra.Reference) RecordingModeAttributes
func (RecordingModeAttributes) RecordingFrequency ¶
func (rm RecordingModeAttributes) RecordingFrequency() terra.StringValue
func (RecordingModeAttributes) RecordingModeOverride ¶
func (rm RecordingModeAttributes) RecordingModeOverride() terra.ListValue[RecordingModeRecordingModeOverrideAttributes]
type RecordingModeRecordingModeOverride ¶
type RecordingModeRecordingModeOverride struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // RecordingFrequency: string, required RecordingFrequency terra.StringValue `hcl:"recording_frequency,attr" validate:"required"` // ResourceTypes: set of string, required ResourceTypes terra.SetValue[terra.StringValue] `hcl:"resource_types,attr" validate:"required"` }
type RecordingModeRecordingModeOverrideAttributes ¶
type RecordingModeRecordingModeOverrideAttributes struct {
// contains filtered or unexported fields
}
func (RecordingModeRecordingModeOverrideAttributes) Description ¶
func (rmo RecordingModeRecordingModeOverrideAttributes) Description() terra.StringValue
func (RecordingModeRecordingModeOverrideAttributes) InternalRef ¶
func (rmo RecordingModeRecordingModeOverrideAttributes) InternalRef() (terra.Reference, error)
func (RecordingModeRecordingModeOverrideAttributes) InternalTokens ¶
func (rmo RecordingModeRecordingModeOverrideAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RecordingModeRecordingModeOverrideAttributes) InternalWithRef ¶
func (rmo RecordingModeRecordingModeOverrideAttributes) InternalWithRef(ref terra.Reference) RecordingModeRecordingModeOverrideAttributes
func (RecordingModeRecordingModeOverrideAttributes) RecordingFrequency ¶
func (rmo RecordingModeRecordingModeOverrideAttributes) RecordingFrequency() terra.StringValue
func (RecordingModeRecordingModeOverrideAttributes) ResourceTypes ¶
func (rmo RecordingModeRecordingModeOverrideAttributes) ResourceTypes() terra.SetValue[terra.StringValue]
type RecordingModeState ¶
type RecordingModeState struct { RecordingFrequency string `json:"recording_frequency"` RecordingModeOverride []RecordingModeRecordingModeOverrideState `json:"recording_mode_override"` }
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_config_configuration_recorder.
func (*Resource) Attributes ¶
func (accr *Resource) Attributes() awsConfigConfigurationRecorderAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (accr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (accr *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.