Documentation ¶
Index ¶
- type Args
- type Attachment
- type AttachmentAttributes
- func (a AttachmentAttributes) AttachmentId() terra.StringValue
- func (a AttachmentAttributes) DeviceIndex() terra.NumberValue
- func (a AttachmentAttributes) Instance() terra.StringValue
- func (a AttachmentAttributes) InternalRef() (terra.Reference, error)
- func (a AttachmentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AttachmentAttributes) InternalWithRef(ref terra.Reference) AttachmentAttributes
- type AttachmentState
- type DataArgs
- type DataAssociationAttributes
- func (a DataAssociationAttributes) AllocationId() terra.StringValue
- func (a DataAssociationAttributes) AssociationId() terra.StringValue
- func (a DataAssociationAttributes) CarrierIp() terra.StringValue
- func (a DataAssociationAttributes) CustomerOwnedIp() terra.StringValue
- func (a DataAssociationAttributes) InternalRef() (terra.Reference, error)
- func (a DataAssociationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DataAssociationAttributes) InternalWithRef(ref terra.Reference) DataAssociationAttributes
- func (a DataAssociationAttributes) IpOwnerId() terra.StringValue
- func (a DataAssociationAttributes) PublicDnsName() terra.StringValue
- func (a DataAssociationAttributes) PublicIp() terra.StringValue
- type DataAssociationState
- type DataAttachmentAttributes
- func (a DataAttachmentAttributes) AttachmentId() terra.StringValue
- func (a DataAttachmentAttributes) DeviceIndex() terra.NumberValue
- func (a DataAttachmentAttributes) InstanceId() terra.StringValue
- func (a DataAttachmentAttributes) InstanceOwnerId() terra.StringValue
- func (a DataAttachmentAttributes) InternalRef() (terra.Reference, error)
- func (a DataAttachmentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DataAttachmentAttributes) InternalWithRef(ref terra.Reference) DataAttachmentAttributes
- type DataAttachmentState
- 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.ListValue[terra.StringValue]
- type DataFilterState
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type Resource
- func (ani *Resource) Attributes() awsNetworkInterfaceAttributes
- func (ani *Resource) Configuration() interface{}
- func (ani *Resource) DependOn() terra.Reference
- func (ani *Resource) Dependencies() terra.Dependencies
- func (ani *Resource) ImportState(state io.Reader) error
- func (ani *Resource) LifecycleManagement() *terra.Lifecycle
- func (ani *Resource) LocalName() string
- func (ani *Resource) State() (*awsNetworkInterfaceState, bool)
- func (ani *Resource) StateMust() *awsNetworkInterfaceState
- func (ani *Resource) Type() string
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"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InterfaceType: string, optional InterfaceType terra.StringValue `hcl:"interface_type,attr"` // Ipv4PrefixCount: number, optional Ipv4PrefixCount terra.NumberValue `hcl:"ipv4_prefix_count,attr"` // Ipv4Prefixes: set of string, optional Ipv4Prefixes terra.SetValue[terra.StringValue] `hcl:"ipv4_prefixes,attr"` // Ipv6AddressCount: number, optional Ipv6AddressCount terra.NumberValue `hcl:"ipv6_address_count,attr"` // Ipv6AddressList: list of string, optional Ipv6AddressList terra.ListValue[terra.StringValue] `hcl:"ipv6_address_list,attr"` // Ipv6AddressListEnabled: bool, optional Ipv6AddressListEnabled terra.BoolValue `hcl:"ipv6_address_list_enabled,attr"` // Ipv6Addresses: set of string, optional Ipv6Addresses terra.SetValue[terra.StringValue] `hcl:"ipv6_addresses,attr"` // Ipv6PrefixCount: number, optional Ipv6PrefixCount terra.NumberValue `hcl:"ipv6_prefix_count,attr"` // Ipv6Prefixes: set of string, optional Ipv6Prefixes terra.SetValue[terra.StringValue] `hcl:"ipv6_prefixes,attr"` // PrivateIp: string, optional PrivateIp terra.StringValue `hcl:"private_ip,attr"` // PrivateIpList: list of string, optional PrivateIpList terra.ListValue[terra.StringValue] `hcl:"private_ip_list,attr"` // PrivateIpListEnabled: bool, optional PrivateIpListEnabled terra.BoolValue `hcl:"private_ip_list_enabled,attr"` // PrivateIps: set of string, optional PrivateIps terra.SetValue[terra.StringValue] `hcl:"private_ips,attr"` // PrivateIpsCount: number, optional PrivateIpsCount terra.NumberValue `hcl:"private_ips_count,attr"` // SecurityGroups: set of string, optional SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"` // SourceDestCheck: bool, optional SourceDestCheck terra.BoolValue `hcl:"source_dest_check,attr"` // SubnetId: string, required SubnetId terra.StringValue `hcl:"subnet_id,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"` // Attachment: min=0 Attachment []Attachment `hcl:"attachment,block" validate:"min=0"` }
Args contains the configurations for aws_network_interface.
type Attachment ¶
type Attachment struct { // DeviceIndex: number, required DeviceIndex terra.NumberValue `hcl:"device_index,attr" validate:"required"` // Instance: string, required Instance terra.StringValue `hcl:"instance,attr" validate:"required"` }
type AttachmentAttributes ¶
type AttachmentAttributes struct {
// contains filtered or unexported fields
}
func (AttachmentAttributes) AttachmentId ¶
func (a AttachmentAttributes) AttachmentId() terra.StringValue
func (AttachmentAttributes) DeviceIndex ¶
func (a AttachmentAttributes) DeviceIndex() terra.NumberValue
func (AttachmentAttributes) Instance ¶
func (a AttachmentAttributes) Instance() terra.StringValue
func (AttachmentAttributes) InternalRef ¶
func (a AttachmentAttributes) InternalRef() (terra.Reference, error)
func (AttachmentAttributes) InternalTokens ¶
func (a AttachmentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AttachmentAttributes) InternalWithRef ¶
func (a AttachmentAttributes) InternalWithRef(ref terra.Reference) AttachmentAttributes
type AttachmentState ¶
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,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_network_interface.
type DataAssociationAttributes ¶
type DataAssociationAttributes struct {
// contains filtered or unexported fields
}
func (DataAssociationAttributes) AllocationId ¶
func (a DataAssociationAttributes) AllocationId() terra.StringValue
func (DataAssociationAttributes) AssociationId ¶
func (a DataAssociationAttributes) AssociationId() terra.StringValue
func (DataAssociationAttributes) CarrierIp ¶
func (a DataAssociationAttributes) CarrierIp() terra.StringValue
func (DataAssociationAttributes) CustomerOwnedIp ¶
func (a DataAssociationAttributes) CustomerOwnedIp() terra.StringValue
func (DataAssociationAttributes) InternalRef ¶
func (a DataAssociationAttributes) InternalRef() (terra.Reference, error)
func (DataAssociationAttributes) InternalTokens ¶
func (a DataAssociationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAssociationAttributes) InternalWithRef ¶
func (a DataAssociationAttributes) InternalWithRef(ref terra.Reference) DataAssociationAttributes
func (DataAssociationAttributes) IpOwnerId ¶
func (a DataAssociationAttributes) IpOwnerId() terra.StringValue
func (DataAssociationAttributes) PublicDnsName ¶
func (a DataAssociationAttributes) PublicDnsName() terra.StringValue
func (DataAssociationAttributes) PublicIp ¶
func (a DataAssociationAttributes) PublicIp() terra.StringValue
type DataAssociationState ¶
type DataAssociationState struct { AllocationId string `json:"allocation_id"` AssociationId string `json:"association_id"` CarrierIp string `json:"carrier_ip"` CustomerOwnedIp string `json:"customer_owned_ip"` IpOwnerId string `json:"ip_owner_id"` PublicDnsName string `json:"public_dns_name"` PublicIp string `json:"public_ip"` }
type DataAttachmentAttributes ¶
type DataAttachmentAttributes struct {
// contains filtered or unexported fields
}
func (DataAttachmentAttributes) AttachmentId ¶
func (a DataAttachmentAttributes) AttachmentId() terra.StringValue
func (DataAttachmentAttributes) DeviceIndex ¶
func (a DataAttachmentAttributes) DeviceIndex() terra.NumberValue
func (DataAttachmentAttributes) InstanceId ¶
func (a DataAttachmentAttributes) InstanceId() terra.StringValue
func (DataAttachmentAttributes) InstanceOwnerId ¶
func (a DataAttachmentAttributes) InstanceOwnerId() terra.StringValue
func (DataAttachmentAttributes) InternalRef ¶
func (a DataAttachmentAttributes) InternalRef() (terra.Reference, error)
func (DataAttachmentAttributes) InternalTokens ¶
func (a DataAttachmentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAttachmentAttributes) InternalWithRef ¶
func (a DataAttachmentAttributes) InternalWithRef(ref terra.Reference) DataAttachmentAttributes
type DataAttachmentState ¶
type DataFilter ¶
type DataFilter struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Values: list of string, required Values terra.ListValue[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.ListValue[terra.StringValue]
type DataFilterState ¶
type DataSource ¶
DataSource represents the Terraform data resource aws_network_interface.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (ani *DataSource) Attributes() dataAwsNetworkInterfaceAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (ani *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (ani *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (ani *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_network_interface.
func (*Resource) Attributes ¶
func (ani *Resource) Attributes() awsNetworkInterfaceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ani *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ani *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.