Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (arrr *Resource) Attributes() awsRoute53ResolverRuleAttributes
- func (arrr *Resource) Configuration() interface{}
- func (arrr *Resource) DependOn() terra.Reference
- func (arrr *Resource) Dependencies() terra.Dependencies
- func (arrr *Resource) ImportState(state io.Reader) error
- func (arrr *Resource) LifecycleManagement() *terra.Lifecycle
- func (arrr *Resource) LocalName() string
- func (arrr *Resource) State() (*awsRoute53ResolverRuleState, bool)
- func (arrr *Resource) StateMust() *awsRoute53ResolverRuleState
- func (arrr *Resource) Type() string
- type TargetIp
- type TargetIpAttributes
- func (ti TargetIpAttributes) InternalRef() (terra.Reference, error)
- func (ti TargetIpAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ti TargetIpAttributes) InternalWithRef(ref terra.Reference) TargetIpAttributes
- func (ti TargetIpAttributes) Ip() terra.StringValue
- func (ti TargetIpAttributes) Port() terra.NumberValue
- func (ti TargetIpAttributes) Protocol() terra.StringValue
- type TargetIpState
- 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 Args ¶
type Args struct { // DomainName: string, required DomainName terra.StringValue `hcl:"domain_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // ResolverEndpointId: string, optional ResolverEndpointId terra.StringValue `hcl:"resolver_endpoint_id,attr"` // RuleType: string, required RuleType terra.StringValue `hcl:"rule_type,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // TargetIp: min=0 TargetIp []TargetIp `hcl:"target_ip,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_route53_resolver_rule.
type DataArgs ¶
type DataArgs struct { // DomainName: string, optional DomainName terra.StringValue `hcl:"domain_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // ResolverEndpointId: string, optional ResolverEndpointId terra.StringValue `hcl:"resolver_endpoint_id,attr"` // ResolverRuleId: string, optional ResolverRuleId terra.StringValue `hcl:"resolver_rule_id,attr"` // RuleType: string, optional RuleType terra.StringValue `hcl:"rule_type,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
DataArgs contains the configurations for aws_route53_resolver_rule.
type DataSource ¶
DataSource represents the Terraform data resource aws_route53_resolver_rule.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (arrr *DataSource) Attributes() dataAwsRoute53ResolverRuleAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (arrr *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (arrr *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (arrr *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_route53_resolver_rule.
func (*Resource) Attributes ¶
func (arrr *Resource) Attributes() awsRoute53ResolverRuleAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (arrr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (arrr *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 TargetIp ¶
type TargetIp struct { // Ip: string, required Ip terra.StringValue `hcl:"ip,attr" validate:"required"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` }
type TargetIpAttributes ¶
type TargetIpAttributes struct {
// contains filtered or unexported fields
}
func (TargetIpAttributes) InternalRef ¶
func (ti TargetIpAttributes) InternalRef() (terra.Reference, error)
func (TargetIpAttributes) InternalTokens ¶
func (ti TargetIpAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetIpAttributes) InternalWithRef ¶
func (ti TargetIpAttributes) InternalWithRef(ref terra.Reference) TargetIpAttributes
func (TargetIpAttributes) Ip ¶
func (ti TargetIpAttributes) Ip() terra.StringValue
func (TargetIpAttributes) Port ¶
func (ti TargetIpAttributes) Port() terra.NumberValue
func (TargetIpAttributes) Protocol ¶
func (ti TargetIpAttributes) Protocol() terra.StringValue
type TargetIpState ¶
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