Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataDnsConfigAttributes
- func (dc DataDnsConfigAttributes) DnsRecords() terra.ListValue[DataDnsConfigDnsRecordsAttributes]
- func (dc DataDnsConfigAttributes) InternalRef() (terra.Reference, error)
- func (dc DataDnsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dc DataDnsConfigAttributes) InternalWithRef(ref terra.Reference) DataDnsConfigAttributes
- func (dc DataDnsConfigAttributes) NamespaceId() terra.StringValue
- func (dc DataDnsConfigAttributes) RoutingPolicy() terra.StringValue
- type DataDnsConfigDnsRecordsAttributes
- func (dr DataDnsConfigDnsRecordsAttributes) InternalRef() (terra.Reference, error)
- func (dr DataDnsConfigDnsRecordsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dr DataDnsConfigDnsRecordsAttributes) InternalWithRef(ref terra.Reference) DataDnsConfigDnsRecordsAttributes
- func (dr DataDnsConfigDnsRecordsAttributes) Ttl() terra.NumberValue
- func (dr DataDnsConfigDnsRecordsAttributes) Type() terra.StringValue
- type DataDnsConfigDnsRecordsState
- type DataDnsConfigState
- type DataHealthCheckConfigAttributes
- func (hcc DataHealthCheckConfigAttributes) FailureThreshold() terra.NumberValue
- func (hcc DataHealthCheckConfigAttributes) InternalRef() (terra.Reference, error)
- func (hcc DataHealthCheckConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hcc DataHealthCheckConfigAttributes) InternalWithRef(ref terra.Reference) DataHealthCheckConfigAttributes
- func (hcc DataHealthCheckConfigAttributes) ResourcePath() terra.StringValue
- func (hcc DataHealthCheckConfigAttributes) Type() terra.StringValue
- type DataHealthCheckConfigState
- type DataHealthCheckCustomConfigAttributes
- func (hccc DataHealthCheckCustomConfigAttributes) FailureThreshold() terra.NumberValue
- func (hccc DataHealthCheckCustomConfigAttributes) InternalRef() (terra.Reference, error)
- func (hccc DataHealthCheckCustomConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hccc DataHealthCheckCustomConfigAttributes) InternalWithRef(ref terra.Reference) DataHealthCheckCustomConfigAttributes
- type DataHealthCheckCustomConfigState
- type DataSource
- type DnsConfig
- type DnsConfigAttributes
- func (dc DnsConfigAttributes) DnsRecords() terra.ListValue[DnsConfigDnsRecordsAttributes]
- func (dc DnsConfigAttributes) InternalRef() (terra.Reference, error)
- func (dc DnsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dc DnsConfigAttributes) InternalWithRef(ref terra.Reference) DnsConfigAttributes
- func (dc DnsConfigAttributes) NamespaceId() terra.StringValue
- func (dc DnsConfigAttributes) RoutingPolicy() terra.StringValue
- type DnsConfigDnsRecords
- type DnsConfigDnsRecordsAttributes
- func (dr DnsConfigDnsRecordsAttributes) InternalRef() (terra.Reference, error)
- func (dr DnsConfigDnsRecordsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dr DnsConfigDnsRecordsAttributes) InternalWithRef(ref terra.Reference) DnsConfigDnsRecordsAttributes
- func (dr DnsConfigDnsRecordsAttributes) Ttl() terra.NumberValue
- func (dr DnsConfigDnsRecordsAttributes) Type() terra.StringValue
- type DnsConfigDnsRecordsState
- type DnsConfigState
- type HealthCheckConfig
- type HealthCheckConfigAttributes
- func (hcc HealthCheckConfigAttributes) FailureThreshold() terra.NumberValue
- func (hcc HealthCheckConfigAttributes) InternalRef() (terra.Reference, error)
- func (hcc HealthCheckConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hcc HealthCheckConfigAttributes) InternalWithRef(ref terra.Reference) HealthCheckConfigAttributes
- func (hcc HealthCheckConfigAttributes) ResourcePath() terra.StringValue
- func (hcc HealthCheckConfigAttributes) Type() terra.StringValue
- type HealthCheckConfigState
- type HealthCheckCustomConfig
- type HealthCheckCustomConfigAttributes
- func (hccc HealthCheckCustomConfigAttributes) FailureThreshold() terra.NumberValue
- func (hccc HealthCheckCustomConfigAttributes) InternalRef() (terra.Reference, error)
- func (hccc HealthCheckCustomConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hccc HealthCheckCustomConfigAttributes) InternalWithRef(ref terra.Reference) HealthCheckCustomConfigAttributes
- type HealthCheckCustomConfigState
- type Resource
- func (asds *Resource) Attributes() awsServiceDiscoveryServiceAttributes
- func (asds *Resource) Configuration() interface{}
- func (asds *Resource) DependOn() terra.Reference
- func (asds *Resource) Dependencies() terra.Dependencies
- func (asds *Resource) ImportState(state io.Reader) error
- func (asds *Resource) LifecycleManagement() *terra.Lifecycle
- func (asds *Resource) LocalName() string
- func (asds *Resource) State() (*awsServiceDiscoveryServiceState, bool)
- func (asds *Resource) StateMust() *awsServiceDiscoveryServiceState
- func (asds *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // ForceDestroy: bool, optional ForceDestroy terra.BoolValue `hcl:"force_destroy,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NamespaceId: string, optional NamespaceId terra.StringValue `hcl:"namespace_id,attr"` // 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"` // DnsConfig: optional DnsConfig *DnsConfig `hcl:"dns_config,block"` // HealthCheckConfig: optional HealthCheckConfig *HealthCheckConfig `hcl:"health_check_config,block"` // HealthCheckCustomConfig: optional HealthCheckCustomConfig *HealthCheckCustomConfig `hcl:"health_check_custom_config,block"` }
Args contains the configurations for aws_service_discovery_service.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NamespaceId: string, required NamespaceId terra.StringValue `hcl:"namespace_id,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"` }
DataArgs contains the configurations for aws_service_discovery_service.
type DataDnsConfigAttributes ¶
type DataDnsConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataDnsConfigAttributes) DnsRecords ¶
func (dc DataDnsConfigAttributes) DnsRecords() terra.ListValue[DataDnsConfigDnsRecordsAttributes]
func (DataDnsConfigAttributes) InternalRef ¶
func (dc DataDnsConfigAttributes) InternalRef() (terra.Reference, error)
func (DataDnsConfigAttributes) InternalTokens ¶
func (dc DataDnsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDnsConfigAttributes) InternalWithRef ¶
func (dc DataDnsConfigAttributes) InternalWithRef(ref terra.Reference) DataDnsConfigAttributes
func (DataDnsConfigAttributes) NamespaceId ¶
func (dc DataDnsConfigAttributes) NamespaceId() terra.StringValue
func (DataDnsConfigAttributes) RoutingPolicy ¶
func (dc DataDnsConfigAttributes) RoutingPolicy() terra.StringValue
type DataDnsConfigDnsRecordsAttributes ¶
type DataDnsConfigDnsRecordsAttributes struct {
// contains filtered or unexported fields
}
func (DataDnsConfigDnsRecordsAttributes) InternalRef ¶
func (dr DataDnsConfigDnsRecordsAttributes) InternalRef() (terra.Reference, error)
func (DataDnsConfigDnsRecordsAttributes) InternalTokens ¶
func (dr DataDnsConfigDnsRecordsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDnsConfigDnsRecordsAttributes) InternalWithRef ¶
func (dr DataDnsConfigDnsRecordsAttributes) InternalWithRef(ref terra.Reference) DataDnsConfigDnsRecordsAttributes
func (DataDnsConfigDnsRecordsAttributes) Ttl ¶
func (dr DataDnsConfigDnsRecordsAttributes) Ttl() terra.NumberValue
func (DataDnsConfigDnsRecordsAttributes) Type ¶
func (dr DataDnsConfigDnsRecordsAttributes) Type() terra.StringValue
type DataDnsConfigState ¶
type DataDnsConfigState struct { NamespaceId string `json:"namespace_id"` RoutingPolicy string `json:"routing_policy"` DnsRecords []DataDnsConfigDnsRecordsState `json:"dns_records"` }
type DataHealthCheckConfigAttributes ¶
type DataHealthCheckConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataHealthCheckConfigAttributes) FailureThreshold ¶
func (hcc DataHealthCheckConfigAttributes) FailureThreshold() terra.NumberValue
func (DataHealthCheckConfigAttributes) InternalRef ¶
func (hcc DataHealthCheckConfigAttributes) InternalRef() (terra.Reference, error)
func (DataHealthCheckConfigAttributes) InternalTokens ¶
func (hcc DataHealthCheckConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataHealthCheckConfigAttributes) InternalWithRef ¶
func (hcc DataHealthCheckConfigAttributes) InternalWithRef(ref terra.Reference) DataHealthCheckConfigAttributes
func (DataHealthCheckConfigAttributes) ResourcePath ¶
func (hcc DataHealthCheckConfigAttributes) ResourcePath() terra.StringValue
func (DataHealthCheckConfigAttributes) Type ¶
func (hcc DataHealthCheckConfigAttributes) Type() terra.StringValue
type DataHealthCheckCustomConfigAttributes ¶
type DataHealthCheckCustomConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataHealthCheckCustomConfigAttributes) FailureThreshold ¶
func (hccc DataHealthCheckCustomConfigAttributes) FailureThreshold() terra.NumberValue
func (DataHealthCheckCustomConfigAttributes) InternalRef ¶
func (hccc DataHealthCheckCustomConfigAttributes) InternalRef() (terra.Reference, error)
func (DataHealthCheckCustomConfigAttributes) InternalTokens ¶
func (hccc DataHealthCheckCustomConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataHealthCheckCustomConfigAttributes) InternalWithRef ¶
func (hccc DataHealthCheckCustomConfigAttributes) InternalWithRef(ref terra.Reference) DataHealthCheckCustomConfigAttributes
type DataHealthCheckCustomConfigState ¶
type DataHealthCheckCustomConfigState struct {
FailureThreshold float64 `json:"failure_threshold"`
}
type DataSource ¶
DataSource represents the Terraform data resource aws_service_discovery_service.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (asds *DataSource) Attributes() dataAwsServiceDiscoveryServiceAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (asds *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (asds *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (asds *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DnsConfig ¶
type DnsConfig struct { // NamespaceId: string, required NamespaceId terra.StringValue `hcl:"namespace_id,attr" validate:"required"` // RoutingPolicy: string, optional RoutingPolicy terra.StringValue `hcl:"routing_policy,attr"` // DnsConfigDnsRecords: min=1 DnsRecords []DnsConfigDnsRecords `hcl:"dns_records,block" validate:"min=1"` }
type DnsConfigAttributes ¶
type DnsConfigAttributes struct {
// contains filtered or unexported fields
}
func (DnsConfigAttributes) DnsRecords ¶
func (dc DnsConfigAttributes) DnsRecords() terra.ListValue[DnsConfigDnsRecordsAttributes]
func (DnsConfigAttributes) InternalRef ¶
func (dc DnsConfigAttributes) InternalRef() (terra.Reference, error)
func (DnsConfigAttributes) InternalTokens ¶
func (dc DnsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DnsConfigAttributes) InternalWithRef ¶
func (dc DnsConfigAttributes) InternalWithRef(ref terra.Reference) DnsConfigAttributes
func (DnsConfigAttributes) NamespaceId ¶
func (dc DnsConfigAttributes) NamespaceId() terra.StringValue
func (DnsConfigAttributes) RoutingPolicy ¶
func (dc DnsConfigAttributes) RoutingPolicy() terra.StringValue
type DnsConfigDnsRecords ¶
type DnsConfigDnsRecords struct { // Ttl: number, required Ttl terra.NumberValue `hcl:"ttl,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type DnsConfigDnsRecordsAttributes ¶
type DnsConfigDnsRecordsAttributes struct {
// contains filtered or unexported fields
}
func (DnsConfigDnsRecordsAttributes) InternalRef ¶
func (dr DnsConfigDnsRecordsAttributes) InternalRef() (terra.Reference, error)
func (DnsConfigDnsRecordsAttributes) InternalTokens ¶
func (dr DnsConfigDnsRecordsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DnsConfigDnsRecordsAttributes) InternalWithRef ¶
func (dr DnsConfigDnsRecordsAttributes) InternalWithRef(ref terra.Reference) DnsConfigDnsRecordsAttributes
func (DnsConfigDnsRecordsAttributes) Ttl ¶
func (dr DnsConfigDnsRecordsAttributes) Ttl() terra.NumberValue
func (DnsConfigDnsRecordsAttributes) Type ¶
func (dr DnsConfigDnsRecordsAttributes) Type() terra.StringValue
type DnsConfigState ¶
type DnsConfigState struct { NamespaceId string `json:"namespace_id"` RoutingPolicy string `json:"routing_policy"` DnsRecords []DnsConfigDnsRecordsState `json:"dns_records"` }
type HealthCheckConfig ¶
type HealthCheckConfig struct { // FailureThreshold: number, optional FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"` // ResourcePath: string, optional ResourcePath terra.StringValue `hcl:"resource_path,attr"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` }
type HealthCheckConfigAttributes ¶
type HealthCheckConfigAttributes struct {
// contains filtered or unexported fields
}
func (HealthCheckConfigAttributes) FailureThreshold ¶
func (hcc HealthCheckConfigAttributes) FailureThreshold() terra.NumberValue
func (HealthCheckConfigAttributes) InternalRef ¶
func (hcc HealthCheckConfigAttributes) InternalRef() (terra.Reference, error)
func (HealthCheckConfigAttributes) InternalTokens ¶
func (hcc HealthCheckConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HealthCheckConfigAttributes) InternalWithRef ¶
func (hcc HealthCheckConfigAttributes) InternalWithRef(ref terra.Reference) HealthCheckConfigAttributes
func (HealthCheckConfigAttributes) ResourcePath ¶
func (hcc HealthCheckConfigAttributes) ResourcePath() terra.StringValue
func (HealthCheckConfigAttributes) Type ¶
func (hcc HealthCheckConfigAttributes) Type() terra.StringValue
type HealthCheckConfigState ¶
type HealthCheckCustomConfig ¶
type HealthCheckCustomConfig struct { // FailureThreshold: number, optional FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"` }
type HealthCheckCustomConfigAttributes ¶
type HealthCheckCustomConfigAttributes struct {
// contains filtered or unexported fields
}
func (HealthCheckCustomConfigAttributes) FailureThreshold ¶
func (hccc HealthCheckCustomConfigAttributes) FailureThreshold() terra.NumberValue
func (HealthCheckCustomConfigAttributes) InternalRef ¶
func (hccc HealthCheckCustomConfigAttributes) InternalRef() (terra.Reference, error)
func (HealthCheckCustomConfigAttributes) InternalTokens ¶
func (hccc HealthCheckCustomConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HealthCheckCustomConfigAttributes) InternalWithRef ¶
func (hccc HealthCheckCustomConfigAttributes) InternalWithRef(ref terra.Reference) HealthCheckCustomConfigAttributes
type HealthCheckCustomConfigState ¶
type HealthCheckCustomConfigState struct {
FailureThreshold float64 `json:"failure_threshold"`
}
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_service_discovery_service.
func (*Resource) Attributes ¶
func (asds *Resource) Attributes() awsServiceDiscoveryServiceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asds *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asds *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.