Documentation ¶
Index ¶
- type Args
- type ExecutionControls
- type ExecutionControlsAttributes
- func (ec ExecutionControlsAttributes) InternalRef() (terra.Reference, error)
- func (ec ExecutionControlsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec ExecutionControlsAttributes) InternalWithRef(ref terra.Reference) ExecutionControlsAttributes
- func (ec ExecutionControlsAttributes) SsmControls() terra.ListValue[ExecutionControlsSsmControlsAttributes]
- type ExecutionControlsSsmControls
- type ExecutionControlsSsmControlsAttributes
- func (sc ExecutionControlsSsmControlsAttributes) ConcurrentExecutionRatePercentage() terra.NumberValue
- func (sc ExecutionControlsSsmControlsAttributes) ErrorPercentage() terra.NumberValue
- func (sc ExecutionControlsSsmControlsAttributes) InternalRef() (terra.Reference, error)
- func (sc ExecutionControlsSsmControlsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc ExecutionControlsSsmControlsAttributes) InternalWithRef(ref terra.Reference) ExecutionControlsSsmControlsAttributes
- type ExecutionControlsSsmControlsState
- type ExecutionControlsState
- type Parameter
- type ParameterAttributes
- func (p ParameterAttributes) InternalRef() (terra.Reference, error)
- func (p ParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p ParameterAttributes) InternalWithRef(ref terra.Reference) ParameterAttributes
- func (p ParameterAttributes) Name() terra.StringValue
- func (p ParameterAttributes) ResourceValue() terra.StringValue
- func (p ParameterAttributes) StaticValue() terra.StringValue
- func (p ParameterAttributes) StaticValues() terra.ListValue[terra.StringValue]
- type ParameterState
- type Resource
- func (acrc *Resource) Attributes() awsConfigRemediationConfigurationAttributes
- func (acrc *Resource) Configuration() interface{}
- func (acrc *Resource) DependOn() terra.Reference
- func (acrc *Resource) Dependencies() terra.Dependencies
- func (acrc *Resource) ImportState(state io.Reader) error
- func (acrc *Resource) LifecycleManagement() *terra.Lifecycle
- func (acrc *Resource) LocalName() string
- func (acrc *Resource) State() (*awsConfigRemediationConfigurationState, bool)
- func (acrc *Resource) StateMust() *awsConfigRemediationConfigurationState
- func (acrc *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Automatic: bool, optional Automatic terra.BoolValue `hcl:"automatic,attr"` // ConfigRuleName: string, required ConfigRuleName terra.StringValue `hcl:"config_rule_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MaximumAutomaticAttempts: number, optional MaximumAutomaticAttempts terra.NumberValue `hcl:"maximum_automatic_attempts,attr"` // ResourceType: string, optional ResourceType terra.StringValue `hcl:"resource_type,attr"` // RetryAttemptSeconds: number, optional RetryAttemptSeconds terra.NumberValue `hcl:"retry_attempt_seconds,attr"` // TargetId: string, required TargetId terra.StringValue `hcl:"target_id,attr" validate:"required"` // TargetType: string, required TargetType terra.StringValue `hcl:"target_type,attr" validate:"required"` // TargetVersion: string, optional TargetVersion terra.StringValue `hcl:"target_version,attr"` // ExecutionControls: optional ExecutionControls *ExecutionControls `hcl:"execution_controls,block"` // Parameter: min=0,max=25 Parameter []Parameter `hcl:"parameter,block" validate:"min=0,max=25"` }
Args contains the configurations for aws_config_remediation_configuration.
type ExecutionControls ¶
type ExecutionControls struct { // ExecutionControlsSsmControls: optional SsmControls *ExecutionControlsSsmControls `hcl:"ssm_controls,block"` }
type ExecutionControlsAttributes ¶
type ExecutionControlsAttributes struct {
// contains filtered or unexported fields
}
func (ExecutionControlsAttributes) InternalRef ¶
func (ec ExecutionControlsAttributes) InternalRef() (terra.Reference, error)
func (ExecutionControlsAttributes) InternalTokens ¶
func (ec ExecutionControlsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExecutionControlsAttributes) InternalWithRef ¶
func (ec ExecutionControlsAttributes) InternalWithRef(ref terra.Reference) ExecutionControlsAttributes
func (ExecutionControlsAttributes) SsmControls ¶
func (ec ExecutionControlsAttributes) SsmControls() terra.ListValue[ExecutionControlsSsmControlsAttributes]
type ExecutionControlsSsmControls ¶
type ExecutionControlsSsmControls struct { // ConcurrentExecutionRatePercentage: number, optional ConcurrentExecutionRatePercentage terra.NumberValue `hcl:"concurrent_execution_rate_percentage,attr"` // ErrorPercentage: number, optional ErrorPercentage terra.NumberValue `hcl:"error_percentage,attr"` }
type ExecutionControlsSsmControlsAttributes ¶
type ExecutionControlsSsmControlsAttributes struct {
// contains filtered or unexported fields
}
func (ExecutionControlsSsmControlsAttributes) ConcurrentExecutionRatePercentage ¶
func (sc ExecutionControlsSsmControlsAttributes) ConcurrentExecutionRatePercentage() terra.NumberValue
func (ExecutionControlsSsmControlsAttributes) ErrorPercentage ¶
func (sc ExecutionControlsSsmControlsAttributes) ErrorPercentage() terra.NumberValue
func (ExecutionControlsSsmControlsAttributes) InternalRef ¶
func (sc ExecutionControlsSsmControlsAttributes) InternalRef() (terra.Reference, error)
func (ExecutionControlsSsmControlsAttributes) InternalTokens ¶
func (sc ExecutionControlsSsmControlsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExecutionControlsSsmControlsAttributes) InternalWithRef ¶
func (sc ExecutionControlsSsmControlsAttributes) InternalWithRef(ref terra.Reference) ExecutionControlsSsmControlsAttributes
type ExecutionControlsState ¶
type ExecutionControlsState struct {
SsmControls []ExecutionControlsSsmControlsState `json:"ssm_controls"`
}
type Parameter ¶
type Parameter struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceValue: string, optional ResourceValue terra.StringValue `hcl:"resource_value,attr"` // StaticValue: string, optional StaticValue terra.StringValue `hcl:"static_value,attr"` // StaticValues: list of string, optional StaticValues terra.ListValue[terra.StringValue] `hcl:"static_values,attr"` }
type ParameterAttributes ¶
type ParameterAttributes struct {
// contains filtered or unexported fields
}
func (ParameterAttributes) InternalRef ¶
func (p ParameterAttributes) InternalRef() (terra.Reference, error)
func (ParameterAttributes) InternalTokens ¶
func (p ParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ParameterAttributes) InternalWithRef ¶
func (p ParameterAttributes) InternalWithRef(ref terra.Reference) ParameterAttributes
func (ParameterAttributes) Name ¶
func (p ParameterAttributes) Name() terra.StringValue
func (ParameterAttributes) ResourceValue ¶
func (p ParameterAttributes) ResourceValue() terra.StringValue
func (ParameterAttributes) StaticValue ¶
func (p ParameterAttributes) StaticValue() terra.StringValue
func (ParameterAttributes) StaticValues ¶
func (p ParameterAttributes) StaticValues() terra.ListValue[terra.StringValue]
type ParameterState ¶
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_remediation_configuration.
func (*Resource) Attributes ¶
func (acrc *Resource) Attributes() awsConfigRemediationConfigurationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acrc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acrc *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.