Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type DataSpecAttributes
- func (s DataSpecAttributes) InternalRef() (terra.Reference, error)
- func (s DataSpecAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataSpecAttributes) InternalWithRef(ref terra.Reference) DataSpecAttributes
- func (s DataSpecAttributes) Listener() terra.ListValue[DataSpecListenerAttributes]
- type DataSpecListenerAttributes
- func (l DataSpecListenerAttributes) InternalRef() (terra.Reference, error)
- func (l DataSpecListenerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l DataSpecListenerAttributes) InternalWithRef(ref terra.Reference) DataSpecListenerAttributes
- func (l DataSpecListenerAttributes) PortMapping() terra.ListValue[DataSpecListenerPortMappingAttributes]
- type DataSpecListenerPortMappingAttributes
- func (pm DataSpecListenerPortMappingAttributes) InternalRef() (terra.Reference, error)
- func (pm DataSpecListenerPortMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pm DataSpecListenerPortMappingAttributes) InternalWithRef(ref terra.Reference) DataSpecListenerPortMappingAttributes
- func (pm DataSpecListenerPortMappingAttributes) Port() terra.NumberValue
- func (pm DataSpecListenerPortMappingAttributes) Protocol() terra.StringValue
- type DataSpecListenerPortMappingState
- type DataSpecListenerState
- type DataSpecState
- type Resource
- func (aavr *Resource) Attributes() awsAppmeshVirtualRouterAttributes
- func (aavr *Resource) Configuration() interface{}
- func (aavr *Resource) DependOn() terra.Reference
- func (aavr *Resource) Dependencies() terra.Dependencies
- func (aavr *Resource) ImportState(state io.Reader) error
- func (aavr *Resource) LifecycleManagement() *terra.Lifecycle
- func (aavr *Resource) LocalName() string
- func (aavr *Resource) State() (*awsAppmeshVirtualRouterState, bool)
- func (aavr *Resource) StateMust() *awsAppmeshVirtualRouterState
- func (aavr *Resource) Type() string
- type Spec
- type SpecAttributes
- type SpecListener
- type SpecListenerAttributes
- func (l SpecListenerAttributes) InternalRef() (terra.Reference, error)
- func (l SpecListenerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l SpecListenerAttributes) InternalWithRef(ref terra.Reference) SpecListenerAttributes
- func (l SpecListenerAttributes) PortMapping() terra.ListValue[SpecListenerPortMappingAttributes]
- type SpecListenerPortMapping
- type SpecListenerPortMappingAttributes
- func (pm SpecListenerPortMappingAttributes) InternalRef() (terra.Reference, error)
- func (pm SpecListenerPortMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pm SpecListenerPortMappingAttributes) InternalWithRef(ref terra.Reference) SpecListenerPortMappingAttributes
- func (pm SpecListenerPortMappingAttributes) Port() terra.NumberValue
- func (pm SpecListenerPortMappingAttributes) Protocol() terra.StringValue
- type SpecListenerPortMappingState
- type SpecListenerState
- type SpecState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MeshName: string, required MeshName terra.StringValue `hcl:"mesh_name,attr" validate:"required"` // MeshOwner: string, optional MeshOwner terra.StringValue `hcl:"mesh_owner,attr"` // Name: string, required Name terra.StringValue `hcl:"name,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"` // Spec: required Spec *Spec `hcl:"spec,block" validate:"required"` }
Args contains the configurations for aws_appmesh_virtual_router.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MeshName: string, required MeshName terra.StringValue `hcl:"mesh_name,attr" validate:"required"` // MeshOwner: string, optional MeshOwner terra.StringValue `hcl:"mesh_owner,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
DataArgs contains the configurations for aws_appmesh_virtual_router.
type DataSource ¶
DataSource represents the Terraform data resource aws_appmesh_virtual_router.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aavr *DataSource) Attributes() dataAwsAppmeshVirtualRouterAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aavr *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aavr *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aavr *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataSpecAttributes ¶
type DataSpecAttributes struct {
// contains filtered or unexported fields
}
func (DataSpecAttributes) InternalRef ¶
func (s DataSpecAttributes) InternalRef() (terra.Reference, error)
func (DataSpecAttributes) InternalTokens ¶
func (s DataSpecAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSpecAttributes) InternalWithRef ¶
func (s DataSpecAttributes) InternalWithRef(ref terra.Reference) DataSpecAttributes
func (DataSpecAttributes) Listener ¶
func (s DataSpecAttributes) Listener() terra.ListValue[DataSpecListenerAttributes]
type DataSpecListenerAttributes ¶
type DataSpecListenerAttributes struct {
// contains filtered or unexported fields
}
func (DataSpecListenerAttributes) InternalRef ¶
func (l DataSpecListenerAttributes) InternalRef() (terra.Reference, error)
func (DataSpecListenerAttributes) InternalTokens ¶
func (l DataSpecListenerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSpecListenerAttributes) InternalWithRef ¶
func (l DataSpecListenerAttributes) InternalWithRef(ref terra.Reference) DataSpecListenerAttributes
func (DataSpecListenerAttributes) PortMapping ¶
func (l DataSpecListenerAttributes) PortMapping() terra.ListValue[DataSpecListenerPortMappingAttributes]
type DataSpecListenerPortMappingAttributes ¶
type DataSpecListenerPortMappingAttributes struct {
// contains filtered or unexported fields
}
func (DataSpecListenerPortMappingAttributes) InternalRef ¶
func (pm DataSpecListenerPortMappingAttributes) InternalRef() (terra.Reference, error)
func (DataSpecListenerPortMappingAttributes) InternalTokens ¶
func (pm DataSpecListenerPortMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSpecListenerPortMappingAttributes) InternalWithRef ¶
func (pm DataSpecListenerPortMappingAttributes) InternalWithRef(ref terra.Reference) DataSpecListenerPortMappingAttributes
func (DataSpecListenerPortMappingAttributes) Port ¶
func (pm DataSpecListenerPortMappingAttributes) Port() terra.NumberValue
func (DataSpecListenerPortMappingAttributes) Protocol ¶
func (pm DataSpecListenerPortMappingAttributes) Protocol() terra.StringValue
type DataSpecListenerState ¶
type DataSpecListenerState struct {
PortMapping []DataSpecListenerPortMappingState `json:"port_mapping"`
}
type DataSpecState ¶
type DataSpecState struct {
Listener []DataSpecListenerState `json:"listener"`
}
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_appmesh_virtual_router.
func (*Resource) Attributes ¶
func (aavr *Resource) Attributes() awsAppmeshVirtualRouterAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aavr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aavr *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 Spec ¶
type Spec struct { // SpecListener: min=0 Listener []SpecListener `hcl:"listener,block" validate:"min=0"` }
type SpecAttributes ¶
type SpecAttributes struct {
// contains filtered or unexported fields
}
func (SpecAttributes) InternalRef ¶
func (s SpecAttributes) InternalRef() (terra.Reference, error)
func (SpecAttributes) InternalTokens ¶
func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecAttributes) InternalWithRef ¶
func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes
func (SpecAttributes) Listener ¶
func (s SpecAttributes) Listener() terra.ListValue[SpecListenerAttributes]
type SpecListener ¶
type SpecListener struct { // SpecListenerPortMapping: required PortMapping *SpecListenerPortMapping `hcl:"port_mapping,block" validate:"required"` }
type SpecListenerAttributes ¶
type SpecListenerAttributes struct {
// contains filtered or unexported fields
}
func (SpecListenerAttributes) InternalRef ¶
func (l SpecListenerAttributes) InternalRef() (terra.Reference, error)
func (SpecListenerAttributes) InternalTokens ¶
func (l SpecListenerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecListenerAttributes) InternalWithRef ¶
func (l SpecListenerAttributes) InternalWithRef(ref terra.Reference) SpecListenerAttributes
func (SpecListenerAttributes) PortMapping ¶
func (l SpecListenerAttributes) PortMapping() terra.ListValue[SpecListenerPortMappingAttributes]
type SpecListenerPortMapping ¶
type SpecListenerPortMapping struct { // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` // Protocol: string, required Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"` }
type SpecListenerPortMappingAttributes ¶
type SpecListenerPortMappingAttributes struct {
// contains filtered or unexported fields
}
func (SpecListenerPortMappingAttributes) InternalRef ¶
func (pm SpecListenerPortMappingAttributes) InternalRef() (terra.Reference, error)
func (SpecListenerPortMappingAttributes) InternalTokens ¶
func (pm SpecListenerPortMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecListenerPortMappingAttributes) InternalWithRef ¶
func (pm SpecListenerPortMappingAttributes) InternalWithRef(ref terra.Reference) SpecListenerPortMappingAttributes
func (SpecListenerPortMappingAttributes) Port ¶
func (pm SpecListenerPortMappingAttributes) Port() terra.NumberValue
func (SpecListenerPortMappingAttributes) Protocol ¶
func (pm SpecListenerPortMappingAttributes) Protocol() terra.StringValue
type SpecListenerState ¶
type SpecListenerState struct {
PortMapping []SpecListenerPortMappingState `json:"port_mapping"`
}
type SpecState ¶
type SpecState struct {
Listener []SpecListenerState `json:"listener"`
}