Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type DataSpecAttributes
- func (s DataSpecAttributes) EgressFilter() terra.ListValue[DataSpecEgressFilterAttributes]
- func (s DataSpecAttributes) InternalRef() (terra.Reference, error)
- func (s DataSpecAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataSpecAttributes) InternalWithRef(ref terra.Reference) DataSpecAttributes
- type DataSpecEgressFilterAttributes
- func (ef DataSpecEgressFilterAttributes) InternalRef() (terra.Reference, error)
- func (ef DataSpecEgressFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ef DataSpecEgressFilterAttributes) InternalWithRef(ref terra.Reference) DataSpecEgressFilterAttributes
- func (ef DataSpecEgressFilterAttributes) Type() terra.StringValue
- type DataSpecEgressFilterState
- type DataSpecState
- type Resource
- func (aam *Resource) Attributes() awsAppmeshMeshAttributes
- func (aam *Resource) Configuration() interface{}
- func (aam *Resource) DependOn() terra.Reference
- func (aam *Resource) Dependencies() terra.Dependencies
- func (aam *Resource) ImportState(state io.Reader) error
- func (aam *Resource) LifecycleManagement() *terra.Lifecycle
- func (aam *Resource) LocalName() string
- func (aam *Resource) State() (*awsAppmeshMeshState, bool)
- func (aam *Resource) StateMust() *awsAppmeshMeshState
- func (aam *Resource) Type() string
- type Spec
- type SpecAttributes
- type SpecEgressFilter
- type SpecEgressFilterAttributes
- func (ef SpecEgressFilterAttributes) InternalRef() (terra.Reference, error)
- func (ef SpecEgressFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ef SpecEgressFilterAttributes) InternalWithRef(ref terra.Reference) SpecEgressFilterAttributes
- func (ef SpecEgressFilterAttributes) Type() terra.StringValue
- type SpecEgressFilterState
- 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"` // 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: optional Spec *Spec `hcl:"spec,block"` }
Args contains the configurations for aws_appmesh_mesh.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // 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_mesh.
type DataSource ¶
DataSource represents the Terraform data resource aws_appmesh_mesh.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aam *DataSource) Attributes() dataAwsAppmeshMeshAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aam *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aam *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aam *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataSpecAttributes ¶
type DataSpecAttributes struct {
// contains filtered or unexported fields
}
func (DataSpecAttributes) EgressFilter ¶
func (s DataSpecAttributes) EgressFilter() terra.ListValue[DataSpecEgressFilterAttributes]
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
type DataSpecEgressFilterAttributes ¶
type DataSpecEgressFilterAttributes struct {
// contains filtered or unexported fields
}
func (DataSpecEgressFilterAttributes) InternalRef ¶
func (ef DataSpecEgressFilterAttributes) InternalRef() (terra.Reference, error)
func (DataSpecEgressFilterAttributes) InternalTokens ¶
func (ef DataSpecEgressFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSpecEgressFilterAttributes) InternalWithRef ¶
func (ef DataSpecEgressFilterAttributes) InternalWithRef(ref terra.Reference) DataSpecEgressFilterAttributes
func (DataSpecEgressFilterAttributes) Type ¶
func (ef DataSpecEgressFilterAttributes) Type() terra.StringValue
type DataSpecEgressFilterState ¶
type DataSpecEgressFilterState struct {
Type string `json:"type"`
}
type DataSpecState ¶
type DataSpecState struct {
EgressFilter []DataSpecEgressFilterState `json:"egress_filter"`
}
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_mesh.
func (*Resource) Attributes ¶
func (aam *Resource) Attributes() awsAppmeshMeshAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aam *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aam *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 { // SpecEgressFilter: optional EgressFilter *SpecEgressFilter `hcl:"egress_filter,block"` }
type SpecAttributes ¶
type SpecAttributes struct {
// contains filtered or unexported fields
}
func (SpecAttributes) EgressFilter ¶
func (s SpecAttributes) EgressFilter() terra.ListValue[SpecEgressFilterAttributes]
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
type SpecEgressFilter ¶
type SpecEgressFilter struct { // Type: string, optional Type terra.StringValue `hcl:"type,attr"` }
type SpecEgressFilterAttributes ¶
type SpecEgressFilterAttributes struct {
// contains filtered or unexported fields
}
func (SpecEgressFilterAttributes) InternalRef ¶
func (ef SpecEgressFilterAttributes) InternalRef() (terra.Reference, error)
func (SpecEgressFilterAttributes) InternalTokens ¶
func (ef SpecEgressFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecEgressFilterAttributes) InternalWithRef ¶
func (ef SpecEgressFilterAttributes) InternalWithRef(ref terra.Reference) SpecEgressFilterAttributes
func (SpecEgressFilterAttributes) Type ¶
func (ef SpecEgressFilterAttributes) Type() terra.StringValue
type SpecEgressFilterState ¶
type SpecEgressFilterState struct {
Type string `json:"type"`
}
type SpecState ¶
type SpecState struct {
EgressFilter []SpecEgressFilterState `json:"egress_filter"`
}