Documentation
¶
Index ¶
- type Args
- type DataArgs
- type DataLocationAttributes
- func (l DataLocationAttributes) Address() terra.StringValue
- func (l DataLocationAttributes) InternalRef() (terra.Reference, error)
- func (l DataLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l DataLocationAttributes) InternalWithRef(ref terra.Reference) DataLocationAttributes
- func (l DataLocationAttributes) Latitude() terra.StringValue
- func (l DataLocationAttributes) Longitude() terra.StringValue
- type DataLocationState
- type DataSource
- type Location
- type LocationAttributes
- func (l LocationAttributes) Address() terra.StringValue
- func (l LocationAttributes) InternalRef() (terra.Reference, error)
- func (l LocationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l LocationAttributes) InternalWithRef(ref terra.Reference) LocationAttributes
- func (l LocationAttributes) Latitude() terra.StringValue
- func (l LocationAttributes) Longitude() terra.StringValue
- type LocationState
- type Resource
- func (ans *Resource) Attributes() awsNetworkmanagerSiteAttributes
- func (ans *Resource) Configuration() interface{}
- func (ans *Resource) DependOn() terra.Reference
- func (ans *Resource) Dependencies() terra.Dependencies
- func (ans *Resource) ImportState(state io.Reader) error
- func (ans *Resource) LifecycleManagement() *terra.Lifecycle
- func (ans *Resource) LocalName() string
- func (ans *Resource) State() (*awsNetworkmanagerSiteState, bool)
- func (ans *Resource) StateMust() *awsNetworkmanagerSiteState
- func (ans *Resource) Type() string
- 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 { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // GlobalNetworkId: string, required GlobalNetworkId terra.StringValue `hcl:"global_network_id,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"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"` // Location: optional Location *Location `hcl:"location,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_networkmanager_site.
type DataArgs ¶
type DataArgs struct { // GlobalNetworkId: string, required GlobalNetworkId terra.StringValue `hcl:"global_network_id,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // SiteId: string, required SiteId terra.StringValue `hcl:"site_id,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
DataArgs contains the configurations for aws_networkmanager_site.
type DataLocationAttributes ¶
type DataLocationAttributes struct {
// contains filtered or unexported fields
}
func (DataLocationAttributes) Address ¶
func (l DataLocationAttributes) Address() terra.StringValue
func (DataLocationAttributes) InternalRef ¶
func (l DataLocationAttributes) InternalRef() (terra.Reference, error)
func (DataLocationAttributes) InternalTokens ¶
func (l DataLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataLocationAttributes) InternalWithRef ¶
func (l DataLocationAttributes) InternalWithRef(ref terra.Reference) DataLocationAttributes
func (DataLocationAttributes) Latitude ¶
func (l DataLocationAttributes) Latitude() terra.StringValue
func (DataLocationAttributes) Longitude ¶
func (l DataLocationAttributes) Longitude() terra.StringValue
type DataLocationState ¶
type DataSource ¶
DataSource represents the Terraform data resource aws_networkmanager_site.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (ans *DataSource) Attributes() dataAwsNetworkmanagerSiteAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (ans *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (ans *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (ans *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Location ¶
type Location struct { // Address: string, optional Address terra.StringValue `hcl:"address,attr"` // Latitude: string, optional Latitude terra.StringValue `hcl:"latitude,attr"` // Longitude: string, optional Longitude terra.StringValue `hcl:"longitude,attr"` }
type LocationAttributes ¶
type LocationAttributes struct {
// contains filtered or unexported fields
}
func (LocationAttributes) Address ¶
func (l LocationAttributes) Address() terra.StringValue
func (LocationAttributes) InternalRef ¶
func (l LocationAttributes) InternalRef() (terra.Reference, error)
func (LocationAttributes) InternalTokens ¶
func (l LocationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LocationAttributes) InternalWithRef ¶
func (l LocationAttributes) InternalWithRef(ref terra.Reference) LocationAttributes
func (LocationAttributes) Latitude ¶
func (l LocationAttributes) Latitude() terra.StringValue
func (LocationAttributes) Longitude ¶
func (l LocationAttributes) Longitude() terra.StringValue
type LocationState ¶
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_networkmanager_site.
func (*Resource) Attributes ¶
func (ans *Resource) Attributes() awsNetworkmanagerSiteAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ans *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ans *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 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