aws_route_table

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (DataAssociationsAttributes) InternalRef

func (a DataAssociationsAttributes) InternalRef() (terra.Reference, error)

func (DataAssociationsAttributes) InternalTokens

func (a DataAssociationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAssociationsAttributes) InternalWithRef

func (DataAssociationsAttributes) Main

func (DataAssociationsAttributes) RouteTableAssociationId

func (a DataAssociationsAttributes) RouteTableAssociationId() terra.StringValue

func (DataAssociationsAttributes) RouteTableId

func (a DataAssociationsAttributes) RouteTableId() terra.StringValue

func (DataAssociationsAttributes) SubnetId

type DataAssociationsState

type DataAssociationsState struct {
	GatewayId               string `json:"gateway_id"`
	Main                    bool   `json:"main"`
	RouteTableAssociationId string `json:"route_table_association_id"`
	RouteTableId            string `json:"route_table_id"`
	SubnetId                string `json:"subnet_id"`
}

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 (DataFilterAttributes) Name

func (DataFilterAttributes) Values

type DataFilterState

type DataFilterState struct {
	Name   string   `json:"name"`
	Values []string `json:"values"`
}

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 (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

type DataSource struct {
	Name string
	Args DataArgs
}

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 (DataTimeoutsAttributes) Read

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 New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

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) DependOn

func (art *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (art *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (art *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (art *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (art *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (art *Resource) State() (*awsRouteTableState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (art *Resource) StateMust() *awsRouteTableState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (art *Resource) Type() string

Type returns the Terraform object type 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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL