aws_efs_file_system

package
v5.45.0 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 {
	// AvailabilityZoneName: string, optional
	AvailabilityZoneName terra.StringValue `hcl:"availability_zone_name,attr"`
	// CreationToken: string, optional
	CreationToken terra.StringValue `hcl:"creation_token,attr"`
	// Encrypted: bool, optional
	Encrypted terra.BoolValue `hcl:"encrypted,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// PerformanceMode: string, optional
	PerformanceMode terra.StringValue `hcl:"performance_mode,attr"`
	// ProvisionedThroughputInMibps: number, optional
	ProvisionedThroughputInMibps terra.NumberValue `hcl:"provisioned_throughput_in_mibps,attr"`
	// 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"`
	// ThroughputMode: string, optional
	ThroughputMode terra.StringValue `hcl:"throughput_mode,attr"`
	// LifecyclePolicy: min=0,max=2
	LifecyclePolicy []LifecyclePolicy `hcl:"lifecycle_policy,block" validate:"min=0,max=2"`
}

Args contains the configurations for aws_efs_file_system.

type DataArgs

type DataArgs struct {
	// CreationToken: string, optional
	CreationToken terra.StringValue `hcl:"creation_token,attr"`
	// FileSystemId: string, optional
	FileSystemId terra.StringValue `hcl:"file_system_id,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_efs_file_system.

type DataLifecyclePolicyAttributes

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

func (DataLifecyclePolicyAttributes) InternalRef

func (lp DataLifecyclePolicyAttributes) InternalRef() (terra.Reference, error)

func (DataLifecyclePolicyAttributes) InternalTokens

func (lp DataLifecyclePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataLifecyclePolicyAttributes) InternalWithRef

func (DataLifecyclePolicyAttributes) TransitionToIa

func (lp DataLifecyclePolicyAttributes) TransitionToIa() terra.StringValue

func (DataLifecyclePolicyAttributes) TransitionToPrimaryStorageClass

func (lp DataLifecyclePolicyAttributes) TransitionToPrimaryStorageClass() terra.StringValue

type DataLifecyclePolicyState

type DataLifecyclePolicyState struct {
	TransitionToIa                  string `json:"transition_to_ia"`
	TransitionToPrimaryStorageClass string `json:"transition_to_primary_storage_class"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_efs_file_system.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aefs *DataSource) Attributes() dataAwsEfsFileSystemAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aefs *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aefs *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type LifecyclePolicy

type LifecyclePolicy struct {
	// TransitionToIa: string, optional
	TransitionToIa terra.StringValue `hcl:"transition_to_ia,attr"`
	// TransitionToPrimaryStorageClass: string, optional
	TransitionToPrimaryStorageClass terra.StringValue `hcl:"transition_to_primary_storage_class,attr"`
}

type LifecyclePolicyAttributes

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

func (LifecyclePolicyAttributes) InternalRef

func (lp LifecyclePolicyAttributes) InternalRef() (terra.Reference, error)

func (LifecyclePolicyAttributes) InternalTokens

func (lp LifecyclePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LifecyclePolicyAttributes) InternalWithRef

func (LifecyclePolicyAttributes) TransitionToIa

func (lp LifecyclePolicyAttributes) TransitionToIa() terra.StringValue

func (LifecyclePolicyAttributes) TransitionToPrimaryStorageClass

func (lp LifecyclePolicyAttributes) TransitionToPrimaryStorageClass() terra.StringValue

type LifecyclePolicyState

type LifecyclePolicyState struct {
	TransitionToIa                  string `json:"transition_to_ia"`
	TransitionToPrimaryStorageClass string `json:"transition_to_primary_storage_class"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aefs *Resource) Attributes() awsEfsFileSystemAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aefs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aefs *Resource) State() (*awsEfsFileSystemState, bool)

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

func (*Resource) StateMust

func (aefs *Resource) StateMust() *awsEfsFileSystemState

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

func (*Resource) Type

func (aefs *Resource) Type() string

Type returns the Terraform object type for Resource.

type SizeInBytesAttributes

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

func (SizeInBytesAttributes) InternalRef

func (sib SizeInBytesAttributes) InternalRef() (terra.Reference, error)

func (SizeInBytesAttributes) InternalTokens

func (sib SizeInBytesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SizeInBytesAttributes) InternalWithRef

func (SizeInBytesAttributes) Value

func (SizeInBytesAttributes) ValueInIa

func (sib SizeInBytesAttributes) ValueInIa() terra.NumberValue

func (SizeInBytesAttributes) ValueInStandard

func (sib SizeInBytesAttributes) ValueInStandard() terra.NumberValue

type SizeInBytesState

type SizeInBytesState struct {
	Value           float64 `json:"value"`
	ValueInIa       float64 `json:"value_in_ia"`
	ValueInStandard float64 `json:"value_in_standard"`
}

Jump to

Keyboard shortcuts

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