aws_finspace_kx_environment

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

Documentation

Index

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"`
	// KmsKeyId: string, required
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,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"`
	// CustomDnsConfiguration: min=0
	CustomDnsConfiguration []CustomDnsConfiguration `hcl:"custom_dns_configuration,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// TransitGatewayConfiguration: optional
	TransitGatewayConfiguration *TransitGatewayConfiguration `hcl:"transit_gateway_configuration,block"`
}

Args contains the configurations for aws_finspace_kx_environment.

type CustomDnsConfiguration

type CustomDnsConfiguration struct {
	// CustomDnsServerIp: string, required
	CustomDnsServerIp terra.StringValue `hcl:"custom_dns_server_ip,attr" validate:"required"`
	// CustomDnsServerName: string, required
	CustomDnsServerName terra.StringValue `hcl:"custom_dns_server_name,attr" validate:"required"`
}

type CustomDnsConfigurationAttributes

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

func (CustomDnsConfigurationAttributes) CustomDnsServerIp

func (cdc CustomDnsConfigurationAttributes) CustomDnsServerIp() terra.StringValue

func (CustomDnsConfigurationAttributes) CustomDnsServerName

func (cdc CustomDnsConfigurationAttributes) CustomDnsServerName() terra.StringValue

func (CustomDnsConfigurationAttributes) InternalRef

func (CustomDnsConfigurationAttributes) InternalTokens

func (cdc CustomDnsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CustomDnsConfigurationAttributes) InternalWithRef

type CustomDnsConfigurationState

type CustomDnsConfigurationState struct {
	CustomDnsServerIp   string `json:"custom_dns_server_ip"`
	CustomDnsServerName string `json:"custom_dns_server_name"`
}

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_finspace_kx_environment.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (afke *Resource) Attributes() awsFinspaceKxEnvironmentAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (afke *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (afke *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (afke *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (afke *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (afke *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (afke *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (afke *Resource) State() (*awsFinspaceKxEnvironmentState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (afke *Resource) StateMust() *awsFinspaceKxEnvironmentState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (afke *Resource) Type() string

Type returns the Terraform object type 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"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,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

func (TimeoutsAttributes) Update

type TimeoutsState

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

type TransitGatewayConfiguration

type TransitGatewayConfiguration struct {
	// RoutableCidrSpace: string, required
	RoutableCidrSpace terra.StringValue `hcl:"routable_cidr_space,attr" validate:"required"`
	// TransitGatewayId: string, required
	TransitGatewayId terra.StringValue `hcl:"transit_gateway_id,attr" validate:"required"`
	// TransitGatewayConfigurationAttachmentNetworkAclConfiguration: min=0,max=100
	AttachmentNetworkAclConfiguration []TransitGatewayConfigurationAttachmentNetworkAclConfiguration `hcl:"attachment_network_acl_configuration,block" validate:"min=0,max=100"`
}

type TransitGatewayConfigurationAttachmentNetworkAclConfiguration

type TransitGatewayConfigurationAttachmentNetworkAclConfiguration struct {
	// CidrBlock: string, required
	CidrBlock terra.StringValue `hcl:"cidr_block,attr" validate:"required"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
	// RuleAction: string, required
	RuleAction terra.StringValue `hcl:"rule_action,attr" validate:"required"`
	// RuleNumber: number, required
	RuleNumber terra.NumberValue `hcl:"rule_number,attr" validate:"required"`
	// TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCode: optional
	IcmpTypeCode *TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCode `hcl:"icmp_type_code,block"`
	// TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRange: optional
	PortRange *TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRange `hcl:"port_range,block"`
}

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationAttributes

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

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationAttributes) CidrBlock

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationAttributes) InternalRef

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationAttributes) InternalTokens

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationAttributes) InternalWithRef

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationAttributes) Protocol

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationAttributes) RuleAction

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationAttributes) RuleNumber

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCode

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCode struct {
	// Code: number, required
	Code terra.NumberValue `hcl:"code,attr" validate:"required"`
	// Type: number, required
	Type terra.NumberValue `hcl:"type,attr" validate:"required"`
}

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCodeAttributes

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

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCodeAttributes) Code

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCodeAttributes) InternalRef

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCodeAttributes) InternalTokens

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCodeAttributes) Type

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCodeState

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCodeState struct {
	Code float64 `json:"code"`
	Type float64 `json:"type"`
}

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRange

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRange struct {
	// From: number, required
	From terra.NumberValue `hcl:"from,attr" validate:"required"`
	// To: number, required
	To terra.NumberValue `hcl:"to,attr" validate:"required"`
}

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRangeAttributes

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

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRangeAttributes) From

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRangeAttributes) InternalRef

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRangeAttributes) InternalTokens

func (TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRangeAttributes) To

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRangeState

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRangeState struct {
	From float64 `json:"from"`
	To   float64 `json:"to"`
}

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationState

type TransitGatewayConfigurationAttachmentNetworkAclConfigurationState struct {
	CidrBlock    string                                                                          `json:"cidr_block"`
	Protocol     string                                                                          `json:"protocol"`
	RuleAction   string                                                                          `json:"rule_action"`
	RuleNumber   float64                                                                         `json:"rule_number"`
	IcmpTypeCode []TransitGatewayConfigurationAttachmentNetworkAclConfigurationIcmpTypeCodeState `json:"icmp_type_code"`
	PortRange    []TransitGatewayConfigurationAttachmentNetworkAclConfigurationPortRangeState    `json:"port_range"`
}

type TransitGatewayConfigurationAttributes

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

func (TransitGatewayConfigurationAttributes) InternalRef

func (TransitGatewayConfigurationAttributes) InternalTokens

func (TransitGatewayConfigurationAttributes) InternalWithRef

func (TransitGatewayConfigurationAttributes) RoutableCidrSpace

func (TransitGatewayConfigurationAttributes) TransitGatewayId

type TransitGatewayConfigurationState

type TransitGatewayConfigurationState struct {
	RoutableCidrSpace                 string                                                              `json:"routable_cidr_space"`
	TransitGatewayId                  string                                                              `json:"transit_gateway_id"`
	AttachmentNetworkAclConfiguration []TransitGatewayConfigurationAttachmentNetworkAclConfigurationState `json:"attachment_network_acl_configuration"`
}

Jump to

Keyboard shortcuts

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