Documentation ¶
Index ¶
- type DataArgs
- type DataRule
- type DataRuleAction
- type DataRuleActionAttributes
- func (a DataRuleActionAttributes) InternalRef() (terra.Reference, error)
- func (a DataRuleActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DataRuleActionAttributes) InternalWithRef(ref terra.Reference) DataRuleActionAttributes
- func (a DataRuleActionAttributes) Type() terra.StringValue
- type DataRuleActionState
- type DataRuleAttributes
- func (r DataRuleAttributes) Action() terra.ListValue[DataRuleActionAttributes]
- func (r DataRuleAttributes) Description() terra.StringValue
- func (r DataRuleAttributes) InternalRef() (terra.Reference, error)
- func (r DataRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r DataRuleAttributes) InternalWithRef(ref terra.Reference) DataRuleAttributes
- func (r DataRuleAttributes) Priority() terra.NumberValue
- func (r DataRuleAttributes) Selection() terra.ListValue[DataRuleSelectionAttributes]
- type DataRuleSelection
- type DataRuleSelectionAttributes
- func (s DataRuleSelectionAttributes) CountNumber() terra.NumberValue
- func (s DataRuleSelectionAttributes) CountType() terra.StringValue
- func (s DataRuleSelectionAttributes) CountUnit() terra.StringValue
- func (s DataRuleSelectionAttributes) InternalRef() (terra.Reference, error)
- func (s DataRuleSelectionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataRuleSelectionAttributes) InternalWithRef(ref terra.Reference) DataRuleSelectionAttributes
- func (s DataRuleSelectionAttributes) TagPatternList() terra.ListValue[terra.StringValue]
- func (s DataRuleSelectionAttributes) TagPrefixList() terra.ListValue[terra.StringValue]
- func (s DataRuleSelectionAttributes) TagStatus() terra.StringValue
- type DataRuleSelectionState
- type DataRuleState
- type DataSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataArgs ¶
type DataArgs struct { // Rule: min=0 Rule []DataRule `hcl:"rule,block" validate:"min=0"` }
DataArgs contains the configurations for aws_ecr_lifecycle_policy_document.
type DataRule ¶
type DataRule struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Priority: number, required Priority terra.NumberValue `hcl:"priority,attr" validate:"required"` // RuleAction: min=0 Action []DataRuleAction `hcl:"action,block" validate:"min=0"` // RuleSelection: min=0 Selection []DataRuleSelection `hcl:"selection,block" validate:"min=0"` }
type DataRuleAction ¶
type DataRuleAction struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type DataRuleActionAttributes ¶
type DataRuleActionAttributes struct {
// contains filtered or unexported fields
}
func (DataRuleActionAttributes) InternalRef ¶
func (a DataRuleActionAttributes) InternalRef() (terra.Reference, error)
func (DataRuleActionAttributes) InternalTokens ¶
func (a DataRuleActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRuleActionAttributes) InternalWithRef ¶
func (a DataRuleActionAttributes) InternalWithRef(ref terra.Reference) DataRuleActionAttributes
func (DataRuleActionAttributes) Type ¶
func (a DataRuleActionAttributes) Type() terra.StringValue
type DataRuleActionState ¶
type DataRuleActionState struct {
Type string `json:"type"`
}
type DataRuleAttributes ¶
type DataRuleAttributes struct {
// contains filtered or unexported fields
}
func (DataRuleAttributes) Action ¶
func (r DataRuleAttributes) Action() terra.ListValue[DataRuleActionAttributes]
func (DataRuleAttributes) Description ¶
func (r DataRuleAttributes) Description() terra.StringValue
func (DataRuleAttributes) InternalRef ¶
func (r DataRuleAttributes) InternalRef() (terra.Reference, error)
func (DataRuleAttributes) InternalTokens ¶
func (r DataRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRuleAttributes) InternalWithRef ¶
func (r DataRuleAttributes) InternalWithRef(ref terra.Reference) DataRuleAttributes
func (DataRuleAttributes) Priority ¶
func (r DataRuleAttributes) Priority() terra.NumberValue
func (DataRuleAttributes) Selection ¶
func (r DataRuleAttributes) Selection() terra.ListValue[DataRuleSelectionAttributes]
type DataRuleSelection ¶
type DataRuleSelection struct { // CountNumber: number, required CountNumber terra.NumberValue `hcl:"count_number,attr" validate:"required"` // CountType: string, required CountType terra.StringValue `hcl:"count_type,attr" validate:"required"` // CountUnit: string, optional CountUnit terra.StringValue `hcl:"count_unit,attr"` // TagPatternList: list of string, optional TagPatternList terra.ListValue[terra.StringValue] `hcl:"tag_pattern_list,attr"` // TagPrefixList: list of string, optional TagPrefixList terra.ListValue[terra.StringValue] `hcl:"tag_prefix_list,attr"` // TagStatus: string, required TagStatus terra.StringValue `hcl:"tag_status,attr" validate:"required"` }
type DataRuleSelectionAttributes ¶
type DataRuleSelectionAttributes struct {
// contains filtered or unexported fields
}
func (DataRuleSelectionAttributes) CountNumber ¶
func (s DataRuleSelectionAttributes) CountNumber() terra.NumberValue
func (DataRuleSelectionAttributes) CountType ¶
func (s DataRuleSelectionAttributes) CountType() terra.StringValue
func (DataRuleSelectionAttributes) CountUnit ¶
func (s DataRuleSelectionAttributes) CountUnit() terra.StringValue
func (DataRuleSelectionAttributes) InternalRef ¶
func (s DataRuleSelectionAttributes) InternalRef() (terra.Reference, error)
func (DataRuleSelectionAttributes) InternalTokens ¶
func (s DataRuleSelectionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRuleSelectionAttributes) InternalWithRef ¶
func (s DataRuleSelectionAttributes) InternalWithRef(ref terra.Reference) DataRuleSelectionAttributes
func (DataRuleSelectionAttributes) TagPatternList ¶
func (s DataRuleSelectionAttributes) TagPatternList() terra.ListValue[terra.StringValue]
func (DataRuleSelectionAttributes) TagPrefixList ¶
func (s DataRuleSelectionAttributes) TagPrefixList() terra.ListValue[terra.StringValue]
func (DataRuleSelectionAttributes) TagStatus ¶
func (s DataRuleSelectionAttributes) TagStatus() terra.StringValue
type DataRuleSelectionState ¶
type DataRuleState ¶
type DataRuleState struct { Description string `json:"description"` Priority float64 `json:"priority"` Action []DataRuleActionState `json:"action"` Selection []DataRuleSelectionState `json:"selection"` }
type DataSource ¶
DataSource represents the Terraform data resource aws_ecr_lifecycle_policy_document.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aelpd *DataSource) Attributes() dataAwsEcrLifecyclePolicyDocumentAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aelpd *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aelpd *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aelpd *DataSource) LocalName() string
LocalName returns the local name for DataSource.
Click to show internal directories.
Click to hide internal directories.