Documentation ¶
Index ¶
- type Args
- type Resource
- func (ads *Resource) Attributes() awsDefaultSubnetAttributes
- func (ads *Resource) Configuration() interface{}
- func (ads *Resource) DependOn() terra.Reference
- func (ads *Resource) Dependencies() terra.Dependencies
- func (ads *Resource) ImportState(state io.Reader) error
- func (ads *Resource) LifecycleManagement() *terra.Lifecycle
- func (ads *Resource) LocalName() string
- func (ads *Resource) State() (*awsDefaultSubnetState, bool)
- func (ads *Resource) StateMust() *awsDefaultSubnetState
- func (ads *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 { // AssignIpv6AddressOnCreation: bool, optional AssignIpv6AddressOnCreation terra.BoolValue `hcl:"assign_ipv6_address_on_creation,attr"` // AvailabilityZone: string, required AvailabilityZone terra.StringValue `hcl:"availability_zone,attr" validate:"required"` // CustomerOwnedIpv4Pool: string, optional CustomerOwnedIpv4Pool terra.StringValue `hcl:"customer_owned_ipv4_pool,attr"` // EnableDns64: bool, optional EnableDns64 terra.BoolValue `hcl:"enable_dns64,attr"` // EnableResourceNameDnsARecordOnLaunch: bool, optional EnableResourceNameDnsARecordOnLaunch terra.BoolValue `hcl:"enable_resource_name_dns_a_record_on_launch,attr"` // EnableResourceNameDnsAaaaRecordOnLaunch: bool, optional EnableResourceNameDnsAaaaRecordOnLaunch terra.BoolValue `hcl:"enable_resource_name_dns_aaaa_record_on_launch,attr"` // ForceDestroy: bool, optional ForceDestroy terra.BoolValue `hcl:"force_destroy,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Ipv6CidrBlock: string, optional Ipv6CidrBlock terra.StringValue `hcl:"ipv6_cidr_block,attr"` // Ipv6Native: bool, optional Ipv6Native terra.BoolValue `hcl:"ipv6_native,attr"` // MapCustomerOwnedIpOnLaunch: bool, optional MapCustomerOwnedIpOnLaunch terra.BoolValue `hcl:"map_customer_owned_ip_on_launch,attr"` // MapPublicIpOnLaunch: bool, optional MapPublicIpOnLaunch terra.BoolValue `hcl:"map_public_ip_on_launch,attr"` // PrivateDnsHostnameTypeOnLaunch: string, optional PrivateDnsHostnameTypeOnLaunch terra.StringValue `hcl:"private_dns_hostname_type_on_launch,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"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_default_subnet.
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_default_subnet.
func (*Resource) Attributes ¶
func (ads *Resource) Attributes() awsDefaultSubnetAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ads *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ads *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.