securitygroup

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Egress

type Egress struct {
	// CidrBlocks: list of string, optional
	CidrBlocks terra.ListValue[terra.StringValue] `hcl:"cidr_blocks,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// FromPort: number, optional
	FromPort terra.NumberValue `hcl:"from_port,attr"`
	// Ipv6CidrBlocks: list of string, optional
	Ipv6CidrBlocks terra.ListValue[terra.StringValue] `hcl:"ipv6_cidr_blocks,attr"`
	// PrefixListIds: list of string, optional
	PrefixListIds terra.ListValue[terra.StringValue] `hcl:"prefix_list_ids,attr"`
	// Protocol: string, optional
	Protocol terra.StringValue `hcl:"protocol,attr"`
	// SecurityGroups: set of string, optional
	SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"`
	// Self: bool, optional
	Self terra.BoolValue `hcl:"self,attr"`
	// ToPort: number, optional
	ToPort terra.NumberValue `hcl:"to_port,attr"`
}

type EgressAttributes

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

func (EgressAttributes) CidrBlocks

func (EgressAttributes) Description

func (e EgressAttributes) Description() terra.StringValue

func (EgressAttributes) FromPort

func (e EgressAttributes) FromPort() terra.NumberValue

func (EgressAttributes) InternalRef

func (e EgressAttributes) InternalRef() (terra.Reference, error)

func (EgressAttributes) InternalTokens

func (e EgressAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EgressAttributes) InternalWithRef

func (e EgressAttributes) InternalWithRef(ref terra.Reference) EgressAttributes

func (EgressAttributes) Ipv6CidrBlocks

func (e EgressAttributes) Ipv6CidrBlocks() terra.ListValue[terra.StringValue]

func (EgressAttributes) PrefixListIds

func (e EgressAttributes) PrefixListIds() terra.ListValue[terra.StringValue]

func (EgressAttributes) Protocol

func (e EgressAttributes) Protocol() terra.StringValue

func (EgressAttributes) SecurityGroups

func (e EgressAttributes) SecurityGroups() terra.SetValue[terra.StringValue]

func (EgressAttributes) Self

func (e EgressAttributes) Self() terra.BoolValue

func (EgressAttributes) ToPort

func (e EgressAttributes) ToPort() terra.NumberValue

type EgressState

type EgressState struct {
	CidrBlocks     []string `json:"cidr_blocks"`
	Description    string   `json:"description"`
	FromPort       float64  `json:"from_port"`
	Ipv6CidrBlocks []string `json:"ipv6_cidr_blocks"`
	PrefixListIds  []string `json:"prefix_list_ids"`
	Protocol       string   `json:"protocol"`
	SecurityGroups []string `json:"security_groups"`
	Self           bool     `json:"self"`
	ToPort         float64  `json:"to_port"`
}

type Ingress

type Ingress struct {
	// CidrBlocks: list of string, optional
	CidrBlocks terra.ListValue[terra.StringValue] `hcl:"cidr_blocks,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// FromPort: number, optional
	FromPort terra.NumberValue `hcl:"from_port,attr"`
	// Ipv6CidrBlocks: list of string, optional
	Ipv6CidrBlocks terra.ListValue[terra.StringValue] `hcl:"ipv6_cidr_blocks,attr"`
	// PrefixListIds: list of string, optional
	PrefixListIds terra.ListValue[terra.StringValue] `hcl:"prefix_list_ids,attr"`
	// Protocol: string, optional
	Protocol terra.StringValue `hcl:"protocol,attr"`
	// SecurityGroups: set of string, optional
	SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"`
	// Self: bool, optional
	Self terra.BoolValue `hcl:"self,attr"`
	// ToPort: number, optional
	ToPort terra.NumberValue `hcl:"to_port,attr"`
}

type IngressAttributes

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

func (IngressAttributes) CidrBlocks

func (IngressAttributes) Description

func (i IngressAttributes) Description() terra.StringValue

func (IngressAttributes) FromPort

func (i IngressAttributes) FromPort() terra.NumberValue

func (IngressAttributes) InternalRef

func (i IngressAttributes) InternalRef() (terra.Reference, error)

func (IngressAttributes) InternalTokens

func (i IngressAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IngressAttributes) InternalWithRef

func (i IngressAttributes) InternalWithRef(ref terra.Reference) IngressAttributes

func (IngressAttributes) Ipv6CidrBlocks

func (i IngressAttributes) Ipv6CidrBlocks() terra.ListValue[terra.StringValue]

func (IngressAttributes) PrefixListIds

func (i IngressAttributes) PrefixListIds() terra.ListValue[terra.StringValue]

func (IngressAttributes) Protocol

func (i IngressAttributes) Protocol() terra.StringValue

func (IngressAttributes) SecurityGroups

func (i IngressAttributes) SecurityGroups() terra.SetValue[terra.StringValue]

func (IngressAttributes) Self

func (IngressAttributes) ToPort

func (i IngressAttributes) ToPort() terra.NumberValue

type IngressState

type IngressState struct {
	CidrBlocks     []string `json:"cidr_blocks"`
	Description    string   `json:"description"`
	FromPort       float64  `json:"from_port"`
	Ipv6CidrBlocks []string `json:"ipv6_cidr_blocks"`
	PrefixListIds  []string `json:"prefix_list_ids"`
	Protocol       string   `json:"protocol"`
	SecurityGroups []string `json:"security_groups"`
	Self           bool     `json:"self"`
	ToPort         float64  `json:"to_port"`
}

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

type TimeoutsState

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

Jump to

Keyboard shortcuts

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