Documentation
¶
Index ¶
- type Args
- type DataArgs
- type DataAssociationsAttributes
- func (a DataAssociationsAttributes) GatewayId() terra.StringValue
- func (a DataAssociationsAttributes) InternalRef() (terra.Reference, error)
- func (a DataAssociationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DataAssociationsAttributes) InternalWithRef(ref terra.Reference) DataAssociationsAttributes
- func (a DataAssociationsAttributes) Main() terra.BoolValue
- func (a DataAssociationsAttributes) RouteTableAssociationId() terra.StringValue
- func (a DataAssociationsAttributes) RouteTableId() terra.StringValue
- func (a DataAssociationsAttributes) SubnetId() terra.StringValue
- type DataAssociationsState
- type DataFilter
- type DataFilterAttributes
- func (f DataFilterAttributes) InternalRef() (terra.Reference, error)
- func (f DataFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f DataFilterAttributes) InternalWithRef(ref terra.Reference) DataFilterAttributes
- func (f DataFilterAttributes) Name() terra.StringValue
- func (f DataFilterAttributes) Values() terra.SetValue[terra.StringValue]
- type DataFilterState
- type DataRoutesAttributes
- func (r DataRoutesAttributes) CarrierGatewayId() terra.StringValue
- func (r DataRoutesAttributes) CidrBlock() terra.StringValue
- func (r DataRoutesAttributes) CoreNetworkArn() terra.StringValue
- func (r DataRoutesAttributes) DestinationPrefixListId() terra.StringValue
- func (r DataRoutesAttributes) EgressOnlyGatewayId() terra.StringValue
- func (r DataRoutesAttributes) GatewayId() terra.StringValue
- func (r DataRoutesAttributes) InstanceId() terra.StringValue
- func (r DataRoutesAttributes) InternalRef() (terra.Reference, error)
- func (r DataRoutesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r DataRoutesAttributes) InternalWithRef(ref terra.Reference) DataRoutesAttributes
- func (r DataRoutesAttributes) Ipv6CidrBlock() terra.StringValue
- func (r DataRoutesAttributes) LocalGatewayId() terra.StringValue
- func (r DataRoutesAttributes) NatGatewayId() terra.StringValue
- func (r DataRoutesAttributes) NetworkInterfaceId() terra.StringValue
- func (r DataRoutesAttributes) TransitGatewayId() terra.StringValue
- func (r DataRoutesAttributes) VpcEndpointId() terra.StringValue
- func (r DataRoutesAttributes) VpcPeeringConnectionId() terra.StringValue
- type DataRoutesState
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type Resource
- func (art *Resource) Attributes() awsRouteTableAttributes
- func (art *Resource) Configuration() interface{}
- func (art *Resource) DependOn() terra.Reference
- func (art *Resource) Dependencies() terra.Dependencies
- func (art *Resource) ImportState(state io.Reader) error
- func (art *Resource) LifecycleManagement() *terra.Lifecycle
- func (art *Resource) LocalName() string
- func (art *Resource) State() (*awsRouteTableState, bool)
- func (art *Resource) StateMust() *awsRouteTableState
- func (art *Resource) Type() string
- type Route
- type RouteAttributes
- func (r RouteAttributes) CarrierGatewayId() terra.StringValue
- func (r RouteAttributes) CidrBlock() terra.StringValue
- func (r RouteAttributes) CoreNetworkArn() terra.StringValue
- func (r RouteAttributes) DestinationPrefixListId() terra.StringValue
- func (r RouteAttributes) EgressOnlyGatewayId() terra.StringValue
- func (r RouteAttributes) GatewayId() terra.StringValue
- func (r RouteAttributes) InternalRef() (terra.Reference, error)
- func (r RouteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RouteAttributes) InternalWithRef(ref terra.Reference) RouteAttributes
- func (r RouteAttributes) Ipv6CidrBlock() terra.StringValue
- func (r RouteAttributes) LocalGatewayId() terra.StringValue
- func (r RouteAttributes) NatGatewayId() terra.StringValue
- func (r RouteAttributes) NetworkInterfaceId() terra.StringValue
- func (r RouteAttributes) TransitGatewayId() terra.StringValue
- func (r RouteAttributes) VpcEndpointId() terra.StringValue
- func (r RouteAttributes) VpcPeeringConnectionId() terra.StringValue
- type RouteState
- 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 { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // PropagatingVgws: set of string, optional PropagatingVgws terra.SetValue[terra.StringValue] `hcl:"propagating_vgws,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"` // VpcId: string, required VpcId terra.StringValue `hcl:"vpc_id,attr" validate:"required"` // Route: min=0 Route []Route `hcl:"route,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_route_table.
type DataArgs ¶
type DataArgs struct { // GatewayId: string, optional GatewayId terra.StringValue `hcl:"gateway_id,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // RouteTableId: string, optional RouteTableId terra.StringValue `hcl:"route_table_id,attr"` // SubnetId: string, optional SubnetId terra.StringValue `hcl:"subnet_id,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // VpcId: string, optional VpcId terra.StringValue `hcl:"vpc_id,attr"` // Filter: min=0 Filter []DataFilter `hcl:"filter,block" validate:"min=0"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for aws_route_table.
type DataAssociationsAttributes ¶
type DataAssociationsAttributes struct {
// contains filtered or unexported fields
}
func (DataAssociationsAttributes) GatewayId ¶
func (a DataAssociationsAttributes) GatewayId() terra.StringValue
func (DataAssociationsAttributes) InternalRef ¶
func (a DataAssociationsAttributes) InternalRef() (terra.Reference, error)
func (DataAssociationsAttributes) InternalTokens ¶
func (a DataAssociationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAssociationsAttributes) InternalWithRef ¶
func (a DataAssociationsAttributes) InternalWithRef(ref terra.Reference) DataAssociationsAttributes
func (DataAssociationsAttributes) Main ¶
func (a DataAssociationsAttributes) Main() terra.BoolValue
func (DataAssociationsAttributes) RouteTableAssociationId ¶
func (a DataAssociationsAttributes) RouteTableAssociationId() terra.StringValue
func (DataAssociationsAttributes) RouteTableId ¶
func (a DataAssociationsAttributes) RouteTableId() terra.StringValue
func (DataAssociationsAttributes) SubnetId ¶
func (a DataAssociationsAttributes) SubnetId() terra.StringValue
type DataAssociationsState ¶
type DataFilter ¶
type DataFilter struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type DataFilterAttributes ¶
type DataFilterAttributes struct {
// contains filtered or unexported fields
}
func (DataFilterAttributes) InternalRef ¶
func (f DataFilterAttributes) InternalRef() (terra.Reference, error)
func (DataFilterAttributes) InternalTokens ¶
func (f DataFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataFilterAttributes) InternalWithRef ¶
func (f DataFilterAttributes) InternalWithRef(ref terra.Reference) DataFilterAttributes
func (DataFilterAttributes) Name ¶
func (f DataFilterAttributes) Name() terra.StringValue
func (DataFilterAttributes) Values ¶
func (f DataFilterAttributes) Values() terra.SetValue[terra.StringValue]
type DataFilterState ¶
type DataRoutesAttributes ¶
type DataRoutesAttributes struct {
// contains filtered or unexported fields
}
func (DataRoutesAttributes) CarrierGatewayId ¶
func (r DataRoutesAttributes) CarrierGatewayId() terra.StringValue
func (DataRoutesAttributes) CidrBlock ¶
func (r DataRoutesAttributes) CidrBlock() terra.StringValue
func (DataRoutesAttributes) CoreNetworkArn ¶
func (r DataRoutesAttributes) CoreNetworkArn() terra.StringValue
func (DataRoutesAttributes) DestinationPrefixListId ¶
func (r DataRoutesAttributes) DestinationPrefixListId() terra.StringValue
func (DataRoutesAttributes) EgressOnlyGatewayId ¶
func (r DataRoutesAttributes) EgressOnlyGatewayId() terra.StringValue
func (DataRoutesAttributes) GatewayId ¶
func (r DataRoutesAttributes) GatewayId() terra.StringValue
func (DataRoutesAttributes) InstanceId ¶
func (r DataRoutesAttributes) InstanceId() terra.StringValue
func (DataRoutesAttributes) InternalRef ¶
func (r DataRoutesAttributes) InternalRef() (terra.Reference, error)
func (DataRoutesAttributes) InternalTokens ¶
func (r DataRoutesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRoutesAttributes) InternalWithRef ¶
func (r DataRoutesAttributes) InternalWithRef(ref terra.Reference) DataRoutesAttributes
func (DataRoutesAttributes) Ipv6CidrBlock ¶
func (r DataRoutesAttributes) Ipv6CidrBlock() terra.StringValue
func (DataRoutesAttributes) LocalGatewayId ¶
func (r DataRoutesAttributes) LocalGatewayId() terra.StringValue
func (DataRoutesAttributes) NatGatewayId ¶
func (r DataRoutesAttributes) NatGatewayId() terra.StringValue
func (DataRoutesAttributes) NetworkInterfaceId ¶
func (r DataRoutesAttributes) NetworkInterfaceId() terra.StringValue
func (DataRoutesAttributes) TransitGatewayId ¶
func (r DataRoutesAttributes) TransitGatewayId() terra.StringValue
func (DataRoutesAttributes) VpcEndpointId ¶
func (r DataRoutesAttributes) VpcEndpointId() terra.StringValue
func (DataRoutesAttributes) VpcPeeringConnectionId ¶
func (r DataRoutesAttributes) VpcPeeringConnectionId() terra.StringValue
type DataRoutesState ¶
type DataRoutesState struct { CarrierGatewayId string `json:"carrier_gateway_id"` CidrBlock string `json:"cidr_block"` CoreNetworkArn string `json:"core_network_arn"` DestinationPrefixListId string `json:"destination_prefix_list_id"` EgressOnlyGatewayId string `json:"egress_only_gateway_id"` GatewayId string `json:"gateway_id"` InstanceId string `json:"instance_id"` Ipv6CidrBlock string `json:"ipv6_cidr_block"` LocalGatewayId string `json:"local_gateway_id"` NatGatewayId string `json:"nat_gateway_id"` NetworkInterfaceId string `json:"network_interface_id"` TransitGatewayId string `json:"transit_gateway_id"` VpcEndpointId string `json:"vpc_endpoint_id"` VpcPeeringConnectionId string `json:"vpc_peering_connection_id"` }
type DataSource ¶
DataSource represents the Terraform data resource aws_route_table.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (art *DataSource) Attributes() dataAwsRouteTableAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (art *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (art *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (art *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
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_route_table.
func (*Resource) Attributes ¶
func (art *Resource) Attributes() awsRouteTableAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (art *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (art *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 Route ¶
type Route struct { // CarrierGatewayId: string, optional CarrierGatewayId terra.StringValue `hcl:"carrier_gateway_id,attr"` // CidrBlock: string, optional CidrBlock terra.StringValue `hcl:"cidr_block,attr"` // CoreNetworkArn: string, optional CoreNetworkArn terra.StringValue `hcl:"core_network_arn,attr"` // DestinationPrefixListId: string, optional DestinationPrefixListId terra.StringValue `hcl:"destination_prefix_list_id,attr"` // EgressOnlyGatewayId: string, optional EgressOnlyGatewayId terra.StringValue `hcl:"egress_only_gateway_id,attr"` // GatewayId: string, optional GatewayId terra.StringValue `hcl:"gateway_id,attr"` // Ipv6CidrBlock: string, optional Ipv6CidrBlock terra.StringValue `hcl:"ipv6_cidr_block,attr"` // LocalGatewayId: string, optional LocalGatewayId terra.StringValue `hcl:"local_gateway_id,attr"` // NatGatewayId: string, optional NatGatewayId terra.StringValue `hcl:"nat_gateway_id,attr"` // NetworkInterfaceId: string, optional NetworkInterfaceId terra.StringValue `hcl:"network_interface_id,attr"` // TransitGatewayId: string, optional TransitGatewayId terra.StringValue `hcl:"transit_gateway_id,attr"` // VpcEndpointId: string, optional VpcEndpointId terra.StringValue `hcl:"vpc_endpoint_id,attr"` // VpcPeeringConnectionId: string, optional VpcPeeringConnectionId terra.StringValue `hcl:"vpc_peering_connection_id,attr"` }
type RouteAttributes ¶
type RouteAttributes struct {
// contains filtered or unexported fields
}
func (RouteAttributes) CarrierGatewayId ¶
func (r RouteAttributes) CarrierGatewayId() terra.StringValue
func (RouteAttributes) CidrBlock ¶
func (r RouteAttributes) CidrBlock() terra.StringValue
func (RouteAttributes) CoreNetworkArn ¶
func (r RouteAttributes) CoreNetworkArn() terra.StringValue
func (RouteAttributes) DestinationPrefixListId ¶
func (r RouteAttributes) DestinationPrefixListId() terra.StringValue
func (RouteAttributes) EgressOnlyGatewayId ¶
func (r RouteAttributes) EgressOnlyGatewayId() terra.StringValue
func (RouteAttributes) GatewayId ¶
func (r RouteAttributes) GatewayId() terra.StringValue
func (RouteAttributes) InternalRef ¶
func (r RouteAttributes) InternalRef() (terra.Reference, error)
func (RouteAttributes) InternalTokens ¶
func (r RouteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RouteAttributes) InternalWithRef ¶
func (r RouteAttributes) InternalWithRef(ref terra.Reference) RouteAttributes
func (RouteAttributes) Ipv6CidrBlock ¶
func (r RouteAttributes) Ipv6CidrBlock() terra.StringValue
func (RouteAttributes) LocalGatewayId ¶
func (r RouteAttributes) LocalGatewayId() terra.StringValue
func (RouteAttributes) NatGatewayId ¶
func (r RouteAttributes) NatGatewayId() terra.StringValue
func (RouteAttributes) NetworkInterfaceId ¶
func (r RouteAttributes) NetworkInterfaceId() terra.StringValue
func (RouteAttributes) TransitGatewayId ¶
func (r RouteAttributes) TransitGatewayId() terra.StringValue
func (RouteAttributes) VpcEndpointId ¶
func (r RouteAttributes) VpcEndpointId() terra.StringValue
func (RouteAttributes) VpcPeeringConnectionId ¶
func (r RouteAttributes) VpcPeeringConnectionId() terra.StringValue
type RouteState ¶
type RouteState struct { CarrierGatewayId string `json:"carrier_gateway_id"` CidrBlock string `json:"cidr_block"` CoreNetworkArn string `json:"core_network_arn"` DestinationPrefixListId string `json:"destination_prefix_list_id"` EgressOnlyGatewayId string `json:"egress_only_gateway_id"` GatewayId string `json:"gateway_id"` Ipv6CidrBlock string `json:"ipv6_cidr_block"` LocalGatewayId string `json:"local_gateway_id"` NatGatewayId string `json:"nat_gateway_id"` NetworkInterfaceId string `json:"network_interface_id"` TransitGatewayId string `json:"transit_gateway_id"` VpcEndpointId string `json:"vpc_endpoint_id"` VpcPeeringConnectionId string `json:"vpc_peering_connection_id"` }
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