Documentation ¶
Index ¶
- type Action
- type ActionAttributes
- func (a ActionAttributes) ActionId() terra.StringValue
- func (a ActionAttributes) Description() terra.StringValue
- func (a ActionAttributes) InternalRef() (terra.Reference, error)
- func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
- func (a ActionAttributes) Name() terra.StringValue
- func (a ActionAttributes) Parameter() terra.SetValue[ParameterAttributes]
- func (a ActionAttributes) StartAfter() terra.SetValue[terra.StringValue]
- func (a ActionAttributes) Target() terra.ListValue[ActionTargetAttributes]
- type ActionState
- type ActionTarget
- type ActionTargetAttributes
- func (t ActionTargetAttributes) InternalRef() (terra.Reference, error)
- func (t ActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t ActionTargetAttributes) InternalWithRef(ref terra.Reference) ActionTargetAttributes
- func (t ActionTargetAttributes) Key() terra.StringValue
- func (t ActionTargetAttributes) Value() terra.StringValue
- type ActionTargetState
- type CloudwatchLogsConfiguration
- type CloudwatchLogsConfigurationAttributes
- func (clc CloudwatchLogsConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (clc CloudwatchLogsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (clc CloudwatchLogsConfigurationAttributes) InternalWithRef(ref terra.Reference) CloudwatchLogsConfigurationAttributes
- func (clc CloudwatchLogsConfigurationAttributes) LogGroupArn() terra.StringValue
- type CloudwatchLogsConfigurationState
- type Filter
- type FilterAttributes
- func (f FilterAttributes) InternalRef() (terra.Reference, error)
- func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
- func (f FilterAttributes) Path() terra.StringValue
- func (f FilterAttributes) Values() terra.SetValue[terra.StringValue]
- type FilterState
- type LogConfiguration
- type LogConfigurationAttributes
- func (lc LogConfigurationAttributes) CloudwatchLogsConfiguration() terra.ListValue[CloudwatchLogsConfigurationAttributes]
- func (lc LogConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (lc LogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lc LogConfigurationAttributes) InternalWithRef(ref terra.Reference) LogConfigurationAttributes
- func (lc LogConfigurationAttributes) LogSchemaVersion() terra.NumberValue
- func (lc LogConfigurationAttributes) S3Configuration() terra.ListValue[S3ConfigurationAttributes]
- type LogConfigurationState
- 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) Key() terra.StringValue
- func (p ParameterAttributes) Value() terra.StringValue
- type ParameterState
- type ResourceTag
- type ResourceTagAttributes
- func (rt ResourceTagAttributes) InternalRef() (terra.Reference, error)
- func (rt ResourceTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rt ResourceTagAttributes) InternalWithRef(ref terra.Reference) ResourceTagAttributes
- func (rt ResourceTagAttributes) Key() terra.StringValue
- func (rt ResourceTagAttributes) Value() terra.StringValue
- type ResourceTagState
- type S3Configuration
- type S3ConfigurationAttributes
- func (sc S3ConfigurationAttributes) BucketName() terra.StringValue
- func (sc S3ConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (sc S3ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc S3ConfigurationAttributes) InternalWithRef(ref terra.Reference) S3ConfigurationAttributes
- func (sc S3ConfigurationAttributes) Prefix() terra.StringValue
- type S3ConfigurationState
- type StopCondition
- type StopConditionAttributes
- func (sc StopConditionAttributes) InternalRef() (terra.Reference, error)
- func (sc StopConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc StopConditionAttributes) InternalWithRef(ref terra.Reference) StopConditionAttributes
- func (sc StopConditionAttributes) Source() terra.StringValue
- func (sc StopConditionAttributes) Value() terra.StringValue
- type StopConditionState
- type Target
- type TargetAttributes
- func (t TargetAttributes) Filter() terra.ListValue[FilterAttributes]
- func (t TargetAttributes) InternalRef() (terra.Reference, error)
- func (t TargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TargetAttributes) InternalWithRef(ref terra.Reference) TargetAttributes
- func (t TargetAttributes) Name() terra.StringValue
- func (t TargetAttributes) Parameters() terra.MapValue[terra.StringValue]
- func (t TargetAttributes) ResourceArns() terra.SetValue[terra.StringValue]
- func (t TargetAttributes) ResourceTag() terra.SetValue[ResourceTagAttributes]
- func (t TargetAttributes) ResourceType() terra.StringValue
- func (t TargetAttributes) SelectionMode() terra.StringValue
- type TargetState
- 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 Action ¶
type Action struct { // ActionId: string, required ActionId terra.StringValue `hcl:"action_id,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // StartAfter: set of string, optional StartAfter terra.SetValue[terra.StringValue] `hcl:"start_after,attr"` // Parameter: min=0 Parameter []Parameter `hcl:"parameter,block" validate:"min=0"` // ActionTarget: optional Target *ActionTarget `hcl:"target,block"` }
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
func (ActionAttributes) ActionId ¶
func (a ActionAttributes) ActionId() terra.StringValue
func (ActionAttributes) Description ¶
func (a ActionAttributes) Description() terra.StringValue
func (ActionAttributes) InternalRef ¶
func (a ActionAttributes) InternalRef() (terra.Reference, error)
func (ActionAttributes) InternalTokens ¶
func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionAttributes) InternalWithRef ¶
func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
func (ActionAttributes) Name ¶
func (a ActionAttributes) Name() terra.StringValue
func (ActionAttributes) Parameter ¶
func (a ActionAttributes) Parameter() terra.SetValue[ParameterAttributes]
func (ActionAttributes) StartAfter ¶
func (a ActionAttributes) StartAfter() terra.SetValue[terra.StringValue]
func (ActionAttributes) Target ¶
func (a ActionAttributes) Target() terra.ListValue[ActionTargetAttributes]
type ActionState ¶
type ActionState struct { ActionId string `json:"action_id"` Description string `json:"description"` Name string `json:"name"` StartAfter []string `json:"start_after"` Parameter []ParameterState `json:"parameter"` Target []ActionTargetState `json:"target"` }
type ActionTarget ¶
type ActionTarget struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ActionTargetAttributes ¶
type ActionTargetAttributes struct {
// contains filtered or unexported fields
}
func (ActionTargetAttributes) InternalRef ¶
func (t ActionTargetAttributes) InternalRef() (terra.Reference, error)
func (ActionTargetAttributes) InternalTokens ¶
func (t ActionTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionTargetAttributes) InternalWithRef ¶
func (t ActionTargetAttributes) InternalWithRef(ref terra.Reference) ActionTargetAttributes
func (ActionTargetAttributes) Key ¶
func (t ActionTargetAttributes) Key() terra.StringValue
func (ActionTargetAttributes) Value ¶
func (t ActionTargetAttributes) Value() terra.StringValue
type ActionTargetState ¶
type CloudwatchLogsConfiguration ¶
type CloudwatchLogsConfiguration struct { // LogGroupArn: string, required LogGroupArn terra.StringValue `hcl:"log_group_arn,attr" validate:"required"` }
type CloudwatchLogsConfigurationAttributes ¶
type CloudwatchLogsConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (CloudwatchLogsConfigurationAttributes) InternalRef ¶
func (clc CloudwatchLogsConfigurationAttributes) InternalRef() (terra.Reference, error)
func (CloudwatchLogsConfigurationAttributes) InternalTokens ¶
func (clc CloudwatchLogsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CloudwatchLogsConfigurationAttributes) InternalWithRef ¶
func (clc CloudwatchLogsConfigurationAttributes) InternalWithRef(ref terra.Reference) CloudwatchLogsConfigurationAttributes
func (CloudwatchLogsConfigurationAttributes) LogGroupArn ¶
func (clc CloudwatchLogsConfigurationAttributes) LogGroupArn() terra.StringValue
type CloudwatchLogsConfigurationState ¶
type CloudwatchLogsConfigurationState struct {
LogGroupArn string `json:"log_group_arn"`
}
type Filter ¶
type Filter struct { // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type FilterAttributes ¶
type FilterAttributes struct {
// contains filtered or unexported fields
}
func (FilterAttributes) InternalRef ¶
func (f FilterAttributes) InternalRef() (terra.Reference, error)
func (FilterAttributes) InternalTokens ¶
func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FilterAttributes) InternalWithRef ¶
func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
func (FilterAttributes) Path ¶
func (f FilterAttributes) Path() terra.StringValue
func (FilterAttributes) Values ¶
func (f FilterAttributes) Values() terra.SetValue[terra.StringValue]
type FilterState ¶
type LogConfiguration ¶
type LogConfiguration struct { // LogSchemaVersion: number, required LogSchemaVersion terra.NumberValue `hcl:"log_schema_version,attr" validate:"required"` // CloudwatchLogsConfiguration: optional CloudwatchLogsConfiguration *CloudwatchLogsConfiguration `hcl:"cloudwatch_logs_configuration,block"` // S3Configuration: optional S3Configuration *S3Configuration `hcl:"s3_configuration,block"` }
type LogConfigurationAttributes ¶
type LogConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (LogConfigurationAttributes) CloudwatchLogsConfiguration ¶
func (lc LogConfigurationAttributes) CloudwatchLogsConfiguration() terra.ListValue[CloudwatchLogsConfigurationAttributes]
func (LogConfigurationAttributes) InternalRef ¶
func (lc LogConfigurationAttributes) InternalRef() (terra.Reference, error)
func (LogConfigurationAttributes) InternalTokens ¶
func (lc LogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LogConfigurationAttributes) InternalWithRef ¶
func (lc LogConfigurationAttributes) InternalWithRef(ref terra.Reference) LogConfigurationAttributes
func (LogConfigurationAttributes) LogSchemaVersion ¶
func (lc LogConfigurationAttributes) LogSchemaVersion() terra.NumberValue
func (LogConfigurationAttributes) S3Configuration ¶
func (lc LogConfigurationAttributes) S3Configuration() terra.ListValue[S3ConfigurationAttributes]
type LogConfigurationState ¶
type LogConfigurationState struct { LogSchemaVersion float64 `json:"log_schema_version"` CloudwatchLogsConfiguration []CloudwatchLogsConfigurationState `json:"cloudwatch_logs_configuration"` S3Configuration []S3ConfigurationState `json:"s3_configuration"` }
type Parameter ¶
type Parameter struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
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) Key ¶
func (p ParameterAttributes) Key() terra.StringValue
func (ParameterAttributes) Value ¶
func (p ParameterAttributes) Value() terra.StringValue
type ParameterState ¶
type ResourceTag ¶
type ResourceTag struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ResourceTagAttributes ¶
type ResourceTagAttributes struct {
// contains filtered or unexported fields
}
func (ResourceTagAttributes) InternalRef ¶
func (rt ResourceTagAttributes) InternalRef() (terra.Reference, error)
func (ResourceTagAttributes) InternalTokens ¶
func (rt ResourceTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ResourceTagAttributes) InternalWithRef ¶
func (rt ResourceTagAttributes) InternalWithRef(ref terra.Reference) ResourceTagAttributes
func (ResourceTagAttributes) Key ¶
func (rt ResourceTagAttributes) Key() terra.StringValue
func (ResourceTagAttributes) Value ¶
func (rt ResourceTagAttributes) Value() terra.StringValue
type ResourceTagState ¶
type S3Configuration ¶
type S3Configuration struct { // BucketName: string, required BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` }
type S3ConfigurationAttributes ¶
type S3ConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (S3ConfigurationAttributes) BucketName ¶
func (sc S3ConfigurationAttributes) BucketName() terra.StringValue
func (S3ConfigurationAttributes) InternalRef ¶
func (sc S3ConfigurationAttributes) InternalRef() (terra.Reference, error)
func (S3ConfigurationAttributes) InternalTokens ¶
func (sc S3ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (S3ConfigurationAttributes) InternalWithRef ¶
func (sc S3ConfigurationAttributes) InternalWithRef(ref terra.Reference) S3ConfigurationAttributes
func (S3ConfigurationAttributes) Prefix ¶
func (sc S3ConfigurationAttributes) Prefix() terra.StringValue
type S3ConfigurationState ¶
type StopCondition ¶
type StopCondition struct { // Source: string, required Source terra.StringValue `hcl:"source,attr" validate:"required"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type StopConditionAttributes ¶
type StopConditionAttributes struct {
// contains filtered or unexported fields
}
func (StopConditionAttributes) InternalRef ¶
func (sc StopConditionAttributes) InternalRef() (terra.Reference, error)
func (StopConditionAttributes) InternalTokens ¶
func (sc StopConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StopConditionAttributes) InternalWithRef ¶
func (sc StopConditionAttributes) InternalWithRef(ref terra.Reference) StopConditionAttributes
func (StopConditionAttributes) Source ¶
func (sc StopConditionAttributes) Source() terra.StringValue
func (StopConditionAttributes) Value ¶
func (sc StopConditionAttributes) Value() terra.StringValue
type StopConditionState ¶
type Target ¶
type Target struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Parameters: map of string, optional Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"` // ResourceArns: set of string, optional ResourceArns terra.SetValue[terra.StringValue] `hcl:"resource_arns,attr"` // ResourceType: string, required ResourceType terra.StringValue `hcl:"resource_type,attr" validate:"required"` // SelectionMode: string, required SelectionMode terra.StringValue `hcl:"selection_mode,attr" validate:"required"` // Filter: min=0 Filter []Filter `hcl:"filter,block" validate:"min=0"` // ResourceTag: min=0,max=50 ResourceTag []ResourceTag `hcl:"resource_tag,block" validate:"min=0,max=50"` }
type TargetAttributes ¶
type TargetAttributes struct {
// contains filtered or unexported fields
}
func (TargetAttributes) Filter ¶
func (t TargetAttributes) Filter() terra.ListValue[FilterAttributes]
func (TargetAttributes) InternalRef ¶
func (t TargetAttributes) InternalRef() (terra.Reference, error)
func (TargetAttributes) InternalTokens ¶
func (t TargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetAttributes) InternalWithRef ¶
func (t TargetAttributes) InternalWithRef(ref terra.Reference) TargetAttributes
func (TargetAttributes) Name ¶
func (t TargetAttributes) Name() terra.StringValue
func (TargetAttributes) Parameters ¶
func (t TargetAttributes) Parameters() terra.MapValue[terra.StringValue]
func (TargetAttributes) ResourceArns ¶
func (t TargetAttributes) ResourceArns() terra.SetValue[terra.StringValue]
func (TargetAttributes) ResourceTag ¶
func (t TargetAttributes) ResourceTag() terra.SetValue[ResourceTagAttributes]
func (TargetAttributes) ResourceType ¶
func (t TargetAttributes) ResourceType() terra.StringValue
func (TargetAttributes) SelectionMode ¶
func (t TargetAttributes) SelectionMode() terra.StringValue
type TargetState ¶
type TargetState struct { Name string `json:"name"` Parameters map[string]string `json:"parameters"` ResourceArns []string `json:"resource_arns"` ResourceType string `json:"resource_type"` SelectionMode string `json:"selection_mode"` Filter []FilterState `json:"filter"` ResourceTag []ResourceTagState `json:"resource_tag"` }
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.