aws_ec2_public_ipv4_pool

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// PoolId: string, required
	PoolId terra.StringValue `hcl:"pool_id,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_ec2_public_ipv4_pool.

type DataPoolAddressRangesAttributes

type DataPoolAddressRangesAttributes struct {
	// contains filtered or unexported fields
}

func (DataPoolAddressRangesAttributes) AddressCount

func (DataPoolAddressRangesAttributes) AvailableAddressCount

func (par DataPoolAddressRangesAttributes) AvailableAddressCount() terra.NumberValue

func (DataPoolAddressRangesAttributes) FirstAddress

func (DataPoolAddressRangesAttributes) InternalRef

func (DataPoolAddressRangesAttributes) InternalTokens

func (par DataPoolAddressRangesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPoolAddressRangesAttributes) InternalWithRef

func (DataPoolAddressRangesAttributes) LastAddress

type DataPoolAddressRangesState

type DataPoolAddressRangesState struct {
	AddressCount          float64 `json:"address_count"`
	AvailableAddressCount float64 `json:"available_address_count"`
	FirstAddress          string  `json:"first_address"`
	LastAddress           string  `json:"last_address"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_ec2_public_ipv4_pool.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aepip *DataSource) Attributes() dataAwsEc2PublicIpv4PoolAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aepip *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aepip *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aepip *DataSource) LocalName() string

LocalName returns the local name for DataSource.

Jump to

Keyboard shortcuts

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