Documentation
¶
Index ¶
- type Args
- type Condition
- type ConditionAttributes
- func (c ConditionAttributes) InternalRef() (terra.Reference, error)
- func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
- func (c ConditionAttributes) StringEquals() terra.SetValue[ConditionStringEqualsAttributes]
- func (c ConditionAttributes) StringLike() terra.SetValue[ConditionStringLikeAttributes]
- func (c ConditionAttributes) StringNotEquals() terra.SetValue[ConditionStringNotEqualsAttributes]
- func (c ConditionAttributes) StringNotLike() terra.SetValue[ConditionStringNotLikeAttributes]
- type ConditionState
- type ConditionStringEquals
- type ConditionStringEqualsAttributes
- func (se ConditionStringEqualsAttributes) InternalRef() (terra.Reference, error)
- func (se ConditionStringEqualsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (se ConditionStringEqualsAttributes) InternalWithRef(ref terra.Reference) ConditionStringEqualsAttributes
- func (se ConditionStringEqualsAttributes) Key() terra.StringValue
- func (se ConditionStringEqualsAttributes) Value() terra.StringValue
- type ConditionStringEqualsState
- type ConditionStringLike
- type ConditionStringLikeAttributes
- func (sl ConditionStringLikeAttributes) InternalRef() (terra.Reference, error)
- func (sl ConditionStringLikeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sl ConditionStringLikeAttributes) InternalWithRef(ref terra.Reference) ConditionStringLikeAttributes
- func (sl ConditionStringLikeAttributes) Key() terra.StringValue
- func (sl ConditionStringLikeAttributes) Value() terra.StringValue
- type ConditionStringLikeState
- type ConditionStringNotEquals
- type ConditionStringNotEqualsAttributes
- func (sne ConditionStringNotEqualsAttributes) InternalRef() (terra.Reference, error)
- func (sne ConditionStringNotEqualsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sne ConditionStringNotEqualsAttributes) InternalWithRef(ref terra.Reference) ConditionStringNotEqualsAttributes
- func (sne ConditionStringNotEqualsAttributes) Key() terra.StringValue
- func (sne ConditionStringNotEqualsAttributes) Value() terra.StringValue
- type ConditionStringNotEqualsState
- type ConditionStringNotLike
- type ConditionStringNotLikeAttributes
- func (snl ConditionStringNotLikeAttributes) InternalRef() (terra.Reference, error)
- func (snl ConditionStringNotLikeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (snl ConditionStringNotLikeAttributes) InternalWithRef(ref terra.Reference) ConditionStringNotLikeAttributes
- func (snl ConditionStringNotLikeAttributes) Key() terra.StringValue
- func (snl ConditionStringNotLikeAttributes) Value() terra.StringValue
- type ConditionStringNotLikeState
- type DataArgs
- type DataSource
- type Resource
- func (abs *Resource) Attributes() awsBackupSelectionAttributes
- func (abs *Resource) Configuration() interface{}
- func (abs *Resource) DependOn() terra.Reference
- func (abs *Resource) Dependencies() terra.Dependencies
- func (abs *Resource) ImportState(state io.Reader) error
- func (abs *Resource) LifecycleManagement() *terra.Lifecycle
- func (abs *Resource) LocalName() string
- func (abs *Resource) State() (*awsBackupSelectionState, bool)
- func (abs *Resource) StateMust() *awsBackupSelectionState
- func (abs *Resource) Type() string
- type SelectionTag
- type SelectionTagAttributes
- func (st SelectionTagAttributes) InternalRef() (terra.Reference, error)
- func (st SelectionTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st SelectionTagAttributes) InternalWithRef(ref terra.Reference) SelectionTagAttributes
- func (st SelectionTagAttributes) Key() terra.StringValue
- func (st SelectionTagAttributes) Type() terra.StringValue
- func (st SelectionTagAttributes) Value() terra.StringValue
- type SelectionTagState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // IamRoleArn: string, required IamRoleArn terra.StringValue `hcl:"iam_role_arn,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NotResources: set of string, optional NotResources terra.SetValue[terra.StringValue] `hcl:"not_resources,attr"` // PlanId: string, required PlanId terra.StringValue `hcl:"plan_id,attr" validate:"required"` // Resources: set of string, optional Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"` // Condition: min=0 Condition []Condition `hcl:"condition,block" validate:"min=0"` // SelectionTag: min=0 SelectionTag []SelectionTag `hcl:"selection_tag,block" validate:"min=0"` }
Args contains the configurations for aws_backup_selection.
type Condition ¶
type Condition struct { // ConditionStringEquals: min=0 StringEquals []ConditionStringEquals `hcl:"string_equals,block" validate:"min=0"` // ConditionStringLike: min=0 StringLike []ConditionStringLike `hcl:"string_like,block" validate:"min=0"` // ConditionStringNotEquals: min=0 StringNotEquals []ConditionStringNotEquals `hcl:"string_not_equals,block" validate:"min=0"` // ConditionStringNotLike: min=0 StringNotLike []ConditionStringNotLike `hcl:"string_not_like,block" validate:"min=0"` }
type ConditionAttributes ¶
type ConditionAttributes struct {
// contains filtered or unexported fields
}
func (ConditionAttributes) InternalRef ¶
func (c ConditionAttributes) InternalRef() (terra.Reference, error)
func (ConditionAttributes) InternalTokens ¶
func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionAttributes) InternalWithRef ¶
func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
func (ConditionAttributes) StringEquals ¶
func (c ConditionAttributes) StringEquals() terra.SetValue[ConditionStringEqualsAttributes]
func (ConditionAttributes) StringLike ¶
func (c ConditionAttributes) StringLike() terra.SetValue[ConditionStringLikeAttributes]
func (ConditionAttributes) StringNotEquals ¶
func (c ConditionAttributes) StringNotEquals() terra.SetValue[ConditionStringNotEqualsAttributes]
func (ConditionAttributes) StringNotLike ¶
func (c ConditionAttributes) StringNotLike() terra.SetValue[ConditionStringNotLikeAttributes]
type ConditionState ¶
type ConditionState struct { StringEquals []ConditionStringEqualsState `json:"string_equals"` StringLike []ConditionStringLikeState `json:"string_like"` StringNotEquals []ConditionStringNotEqualsState `json:"string_not_equals"` StringNotLike []ConditionStringNotLikeState `json:"string_not_like"` }
type ConditionStringEquals ¶
type ConditionStringEquals struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ConditionStringEqualsAttributes ¶
type ConditionStringEqualsAttributes struct {
// contains filtered or unexported fields
}
func (ConditionStringEqualsAttributes) InternalRef ¶
func (se ConditionStringEqualsAttributes) InternalRef() (terra.Reference, error)
func (ConditionStringEqualsAttributes) InternalTokens ¶
func (se ConditionStringEqualsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionStringEqualsAttributes) InternalWithRef ¶
func (se ConditionStringEqualsAttributes) InternalWithRef(ref terra.Reference) ConditionStringEqualsAttributes
func (ConditionStringEqualsAttributes) Key ¶
func (se ConditionStringEqualsAttributes) Key() terra.StringValue
func (ConditionStringEqualsAttributes) Value ¶
func (se ConditionStringEqualsAttributes) Value() terra.StringValue
type ConditionStringLike ¶
type ConditionStringLike struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ConditionStringLikeAttributes ¶
type ConditionStringLikeAttributes struct {
// contains filtered or unexported fields
}
func (ConditionStringLikeAttributes) InternalRef ¶
func (sl ConditionStringLikeAttributes) InternalRef() (terra.Reference, error)
func (ConditionStringLikeAttributes) InternalTokens ¶
func (sl ConditionStringLikeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionStringLikeAttributes) InternalWithRef ¶
func (sl ConditionStringLikeAttributes) InternalWithRef(ref terra.Reference) ConditionStringLikeAttributes
func (ConditionStringLikeAttributes) Key ¶
func (sl ConditionStringLikeAttributes) Key() terra.StringValue
func (ConditionStringLikeAttributes) Value ¶
func (sl ConditionStringLikeAttributes) Value() terra.StringValue
type ConditionStringNotEquals ¶
type ConditionStringNotEquals struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ConditionStringNotEqualsAttributes ¶
type ConditionStringNotEqualsAttributes struct {
// contains filtered or unexported fields
}
func (ConditionStringNotEqualsAttributes) InternalRef ¶
func (sne ConditionStringNotEqualsAttributes) InternalRef() (terra.Reference, error)
func (ConditionStringNotEqualsAttributes) InternalTokens ¶
func (sne ConditionStringNotEqualsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionStringNotEqualsAttributes) InternalWithRef ¶
func (sne ConditionStringNotEqualsAttributes) InternalWithRef(ref terra.Reference) ConditionStringNotEqualsAttributes
func (ConditionStringNotEqualsAttributes) Key ¶
func (sne ConditionStringNotEqualsAttributes) Key() terra.StringValue
func (ConditionStringNotEqualsAttributes) Value ¶
func (sne ConditionStringNotEqualsAttributes) Value() terra.StringValue
type ConditionStringNotLike ¶
type ConditionStringNotLike struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ConditionStringNotLikeAttributes ¶
type ConditionStringNotLikeAttributes struct {
// contains filtered or unexported fields
}
func (ConditionStringNotLikeAttributes) InternalRef ¶
func (snl ConditionStringNotLikeAttributes) InternalRef() (terra.Reference, error)
func (ConditionStringNotLikeAttributes) InternalTokens ¶
func (snl ConditionStringNotLikeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionStringNotLikeAttributes) InternalWithRef ¶
func (snl ConditionStringNotLikeAttributes) InternalWithRef(ref terra.Reference) ConditionStringNotLikeAttributes
func (ConditionStringNotLikeAttributes) Key ¶
func (snl ConditionStringNotLikeAttributes) Key() terra.StringValue
func (ConditionStringNotLikeAttributes) Value ¶
func (snl ConditionStringNotLikeAttributes) Value() terra.StringValue
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // PlanId: string, required PlanId terra.StringValue `hcl:"plan_id,attr" validate:"required"` // SelectionId: string, required SelectionId terra.StringValue `hcl:"selection_id,attr" validate:"required"` }
DataArgs contains the configurations for aws_backup_selection.
type DataSource ¶
DataSource represents the Terraform data resource aws_backup_selection.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (abs *DataSource) Attributes() dataAwsBackupSelectionAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (abs *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (abs *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (abs *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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_backup_selection.
func (*Resource) Attributes ¶
func (abs *Resource) Attributes() awsBackupSelectionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (abs *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (abs *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.
type SelectionTag ¶
type SelectionTag struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type SelectionTagAttributes ¶
type SelectionTagAttributes struct {
// contains filtered or unexported fields
}
func (SelectionTagAttributes) InternalRef ¶
func (st SelectionTagAttributes) InternalRef() (terra.Reference, error)
func (SelectionTagAttributes) InternalTokens ¶
func (st SelectionTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SelectionTagAttributes) InternalWithRef ¶
func (st SelectionTagAttributes) InternalWithRef(ref terra.Reference) SelectionTagAttributes
func (SelectionTagAttributes) Key ¶
func (st SelectionTagAttributes) Key() terra.StringValue
func (SelectionTagAttributes) Type ¶
func (st SelectionTagAttributes) Type() terra.StringValue
func (SelectionTagAttributes) Value ¶
func (st SelectionTagAttributes) Value() terra.StringValue