aws_globalaccelerator_custom_routing_accelerator

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 {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IpAddressType: string, optional
	IpAddressType terra.StringValue `hcl:"ip_address_type,attr"`
	// IpAddresses: list of string, optional
	IpAddresses terra.ListValue[terra.StringValue] `hcl:"ip_addresses,attr"`
	// 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"`
	// Attributes: optional
	Attributes *Attributes `hcl:"attributes,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_globalaccelerator_custom_routing_accelerator.

type Attributes

type Attributes struct {
	// FlowLogsEnabled: bool, optional
	FlowLogsEnabled terra.BoolValue `hcl:"flow_logs_enabled,attr"`
	// FlowLogsS3Bucket: string, optional
	FlowLogsS3Bucket terra.StringValue `hcl:"flow_logs_s3_bucket,attr"`
	// FlowLogsS3Prefix: string, optional
	FlowLogsS3Prefix terra.StringValue `hcl:"flow_logs_s3_prefix,attr"`
}

type AttributesAttributes

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

func (AttributesAttributes) FlowLogsEnabled

func (a AttributesAttributes) FlowLogsEnabled() terra.BoolValue

func (AttributesAttributes) FlowLogsS3Bucket

func (a AttributesAttributes) FlowLogsS3Bucket() terra.StringValue

func (AttributesAttributes) FlowLogsS3Prefix

func (a AttributesAttributes) FlowLogsS3Prefix() terra.StringValue

func (AttributesAttributes) InternalRef

func (a AttributesAttributes) InternalRef() (terra.Reference, error)

func (AttributesAttributes) InternalTokens

func (a AttributesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AttributesAttributes) InternalWithRef

type AttributesState

type AttributesState struct {
	FlowLogsEnabled  bool   `json:"flow_logs_enabled"`
	FlowLogsS3Bucket string `json:"flow_logs_s3_bucket"`
	FlowLogsS3Prefix string `json:"flow_logs_s3_prefix"`
}

type DataArgs

type DataArgs struct {
	// Arn: string, optional
	Arn terra.StringValue `hcl:"arn,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_globalaccelerator_custom_routing_accelerator.

type DataAttributesAttributes

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

func (DataAttributesAttributes) FlowLogsEnabled

func (a DataAttributesAttributes) FlowLogsEnabled() terra.BoolValue

func (DataAttributesAttributes) FlowLogsS3Bucket

func (a DataAttributesAttributes) FlowLogsS3Bucket() terra.StringValue

func (DataAttributesAttributes) FlowLogsS3Prefix

func (a DataAttributesAttributes) FlowLogsS3Prefix() terra.StringValue

func (DataAttributesAttributes) InternalRef

func (a DataAttributesAttributes) InternalRef() (terra.Reference, error)

func (DataAttributesAttributes) InternalTokens

func (a DataAttributesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAttributesAttributes) InternalWithRef

type DataAttributesState

type DataAttributesState struct {
	FlowLogsEnabled  bool   `json:"flow_logs_enabled"`
	FlowLogsS3Bucket string `json:"flow_logs_s3_bucket"`
	FlowLogsS3Prefix string `json:"flow_logs_s3_prefix"`
}

type DataIpSetsAttributes

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

func (DataIpSetsAttributes) InternalRef

func (is DataIpSetsAttributes) InternalRef() (terra.Reference, error)

func (DataIpSetsAttributes) InternalTokens

func (is DataIpSetsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataIpSetsAttributes) InternalWithRef

func (is DataIpSetsAttributes) InternalWithRef(ref terra.Reference) DataIpSetsAttributes

func (DataIpSetsAttributes) IpAddresses

func (DataIpSetsAttributes) IpFamily

func (is DataIpSetsAttributes) IpFamily() terra.StringValue

type DataIpSetsState

type DataIpSetsState struct {
	IpAddresses []string `json:"ip_addresses"`
	IpFamily    string   `json:"ip_family"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_globalaccelerator_custom_routing_accelerator.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (agcra *DataSource) Attributes() dataAwsGlobalacceleratorCustomRoutingAcceleratorAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (agcra *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (agcra *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type IpSetsAttributes

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

func (IpSetsAttributes) InternalRef

func (is IpSetsAttributes) InternalRef() (terra.Reference, error)

func (IpSetsAttributes) InternalTokens

func (is IpSetsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IpSetsAttributes) InternalWithRef

func (is IpSetsAttributes) InternalWithRef(ref terra.Reference) IpSetsAttributes

func (IpSetsAttributes) IpAddresses

func (is IpSetsAttributes) IpAddresses() terra.ListValue[terra.StringValue]

func (IpSetsAttributes) IpFamily

func (is IpSetsAttributes) IpFamily() terra.StringValue

type IpSetsState

type IpSetsState struct {
	IpAddresses []string `json:"ip_addresses"`
	IpFamily    string   `json:"ip_family"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (agcra *Resource) Attributes() awsGlobalacceleratorCustomRoutingAcceleratorAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (agcra *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (agcra *Resource) State() (*awsGlobalacceleratorCustomRoutingAcceleratorState, bool)

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

func (*Resource) StateMust

func (agcra *Resource) StateMust() *awsGlobalacceleratorCustomRoutingAcceleratorState

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

func (*Resource) Type

func (agcra *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"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

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"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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