lightsailinstancepublicports

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 PortInfo

type PortInfo struct {
	// CidrListAliases: set of string, optional
	CidrListAliases terra.SetValue[terra.StringValue] `hcl:"cidr_list_aliases,attr"`
	// Cidrs: set of string, optional
	Cidrs terra.SetValue[terra.StringValue] `hcl:"cidrs,attr"`
	// FromPort: number, required
	FromPort terra.NumberValue `hcl:"from_port,attr" validate:"required"`
	// Ipv6Cidrs: set of string, optional
	Ipv6Cidrs terra.SetValue[terra.StringValue] `hcl:"ipv6_cidrs,attr"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
	// ToPort: number, required
	ToPort terra.NumberValue `hcl:"to_port,attr" validate:"required"`
}

type PortInfoAttributes

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

func (PortInfoAttributes) CidrListAliases

func (pi PortInfoAttributes) CidrListAliases() terra.SetValue[terra.StringValue]

func (PortInfoAttributes) Cidrs

func (PortInfoAttributes) FromPort

func (pi PortInfoAttributes) FromPort() terra.NumberValue

func (PortInfoAttributes) InternalRef

func (pi PortInfoAttributes) InternalRef() (terra.Reference, error)

func (PortInfoAttributes) InternalTokens

func (pi PortInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PortInfoAttributes) InternalWithRef

func (pi PortInfoAttributes) InternalWithRef(ref terra.Reference) PortInfoAttributes

func (PortInfoAttributes) Ipv6Cidrs

func (PortInfoAttributes) Protocol

func (pi PortInfoAttributes) Protocol() terra.StringValue

func (PortInfoAttributes) ToPort

func (pi PortInfoAttributes) ToPort() terra.NumberValue

type PortInfoState

type PortInfoState struct {
	CidrListAliases []string `json:"cidr_list_aliases"`
	Cidrs           []string `json:"cidrs"`
	FromPort        float64  `json:"from_port"`
	Ipv6Cidrs       []string `json:"ipv6_cidrs"`
	Protocol        string   `json:"protocol"`
	ToPort          float64  `json:"to_port"`
}

Jump to

Keyboard shortcuts

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