Documentation ¶
Index ¶
- type Args
- 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 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: required Listener *SpecListener `hcl:"listener,block" validate:"required"` }
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"`
}
Click to show internal directories.
Click to hide internal directories.