Documentation
¶
Index ¶
- type Args
- type Options
- type OptionsAttributes
- type OptionsState
- type Resource
- func (anca *Resource) Attributes() awsNetworkmanagerConnectAttachmentAttributes
- func (anca *Resource) Configuration() interface{}
- func (anca *Resource) DependOn() terra.Reference
- func (anca *Resource) Dependencies() terra.Dependencies
- func (anca *Resource) ImportState(state io.Reader) error
- func (anca *Resource) LifecycleManagement() *terra.Lifecycle
- func (anca *Resource) LocalName() string
- func (anca *Resource) State() (*awsNetworkmanagerConnectAttachmentState, bool)
- func (anca *Resource) StateMust() *awsNetworkmanagerConnectAttachmentState
- func (anca *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
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // CoreNetworkId: string, required CoreNetworkId terra.StringValue `hcl:"core_network_id,attr" validate:"required"` // EdgeLocation: string, required EdgeLocation terra.StringValue `hcl:"edge_location,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"` // TransportAttachmentId: string, required TransportAttachmentId terra.StringValue `hcl:"transport_attachment_id,attr" validate:"required"` // Options: required Options *Options `hcl:"options,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_networkmanager_connect_attachment.
type Options ¶
type Options struct { // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` }
type OptionsAttributes ¶
type OptionsAttributes struct {
// contains filtered or unexported fields
}
func (OptionsAttributes) InternalRef ¶
func (o OptionsAttributes) InternalRef() (terra.Reference, error)
func (OptionsAttributes) InternalTokens ¶
func (o OptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OptionsAttributes) InternalWithRef ¶
func (o OptionsAttributes) InternalWithRef(ref terra.Reference) OptionsAttributes
func (OptionsAttributes) Protocol ¶
func (o OptionsAttributes) Protocol() terra.StringValue
type OptionsState ¶
type OptionsState struct {
Protocol string `json:"protocol"`
}
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_connect_attachment.
func (*Resource) Attributes ¶
func (anca *Resource) Attributes() awsNetworkmanagerConnectAttachmentAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (anca *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (anca *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"` }
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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.