Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataLifecyclePolicyAttributes
- func (lp DataLifecyclePolicyAttributes) InternalRef() (terra.Reference, error)
- func (lp DataLifecyclePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lp DataLifecyclePolicyAttributes) InternalWithRef(ref terra.Reference) DataLifecyclePolicyAttributes
- func (lp DataLifecyclePolicyAttributes) TransitionToArchive() terra.StringValue
- func (lp DataLifecyclePolicyAttributes) TransitionToIa() terra.StringValue
- func (lp DataLifecyclePolicyAttributes) TransitionToPrimaryStorageClass() terra.StringValue
- type DataLifecyclePolicyState
- type DataProtectionAttributes
- func (p DataProtectionAttributes) InternalRef() (terra.Reference, error)
- func (p DataProtectionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p DataProtectionAttributes) InternalWithRef(ref terra.Reference) DataProtectionAttributes
- func (p DataProtectionAttributes) ReplicationOverwrite() terra.StringValue
- type DataProtectionState
- type DataSource
- type LifecyclePolicy
- type LifecyclePolicyAttributes
- func (lp LifecyclePolicyAttributes) InternalRef() (terra.Reference, error)
- func (lp LifecyclePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lp LifecyclePolicyAttributes) InternalWithRef(ref terra.Reference) LifecyclePolicyAttributes
- func (lp LifecyclePolicyAttributes) TransitionToArchive() terra.StringValue
- func (lp LifecyclePolicyAttributes) TransitionToIa() terra.StringValue
- func (lp LifecyclePolicyAttributes) TransitionToPrimaryStorageClass() terra.StringValue
- type LifecyclePolicyState
- type Protection
- type ProtectionAttributes
- type ProtectionState
- type Resource
- func (aefs *Resource) Attributes() awsEfsFileSystemAttributes
- func (aefs *Resource) Configuration() interface{}
- func (aefs *Resource) DependOn() terra.Reference
- func (aefs *Resource) Dependencies() terra.Dependencies
- func (aefs *Resource) ImportState(state io.Reader) error
- func (aefs *Resource) LifecycleManagement() *terra.Lifecycle
- func (aefs *Resource) LocalName() string
- func (aefs *Resource) State() (*awsEfsFileSystemState, bool)
- func (aefs *Resource) StateMust() *awsEfsFileSystemState
- func (aefs *Resource) Type() string
- type SizeInBytesAttributes
- func (sib SizeInBytesAttributes) InternalRef() (terra.Reference, error)
- func (sib SizeInBytesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sib SizeInBytesAttributes) InternalWithRef(ref terra.Reference) SizeInBytesAttributes
- func (sib SizeInBytesAttributes) Value() terra.NumberValue
- func (sib SizeInBytesAttributes) ValueInIa() terra.NumberValue
- func (sib SizeInBytesAttributes) ValueInStandard() terra.NumberValue
- type SizeInBytesState
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=3 LifecyclePolicy []LifecyclePolicy `hcl:"lifecycle_policy,block" validate:"min=0,max=3"` // Protection: optional Protection *Protection `hcl:"protection,block"` }
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 (lp DataLifecyclePolicyAttributes) InternalWithRef(ref terra.Reference) DataLifecyclePolicyAttributes
func (DataLifecyclePolicyAttributes) TransitionToArchive ¶
func (lp DataLifecyclePolicyAttributes) TransitionToArchive() terra.StringValue
func (DataLifecyclePolicyAttributes) TransitionToIa ¶
func (lp DataLifecyclePolicyAttributes) TransitionToIa() terra.StringValue
func (DataLifecyclePolicyAttributes) TransitionToPrimaryStorageClass ¶
func (lp DataLifecyclePolicyAttributes) TransitionToPrimaryStorageClass() terra.StringValue
type DataProtectionAttributes ¶
type DataProtectionAttributes struct {
// contains filtered or unexported fields
}
func (DataProtectionAttributes) InternalRef ¶
func (p DataProtectionAttributes) InternalRef() (terra.Reference, error)
func (DataProtectionAttributes) InternalTokens ¶
func (p DataProtectionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataProtectionAttributes) InternalWithRef ¶
func (p DataProtectionAttributes) InternalWithRef(ref terra.Reference) DataProtectionAttributes
func (DataProtectionAttributes) ReplicationOverwrite ¶
func (p DataProtectionAttributes) ReplicationOverwrite() terra.StringValue
type DataProtectionState ¶
type DataProtectionState struct {
ReplicationOverwrite string `json:"replication_overwrite"`
}
type DataSource ¶
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 { // TransitionToArchive: string, optional TransitionToArchive terra.StringValue `hcl:"transition_to_archive,attr"` // 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 (lp LifecyclePolicyAttributes) InternalWithRef(ref terra.Reference) LifecyclePolicyAttributes
func (LifecyclePolicyAttributes) TransitionToArchive ¶
func (lp LifecyclePolicyAttributes) TransitionToArchive() terra.StringValue
func (LifecyclePolicyAttributes) TransitionToIa ¶
func (lp LifecyclePolicyAttributes) TransitionToIa() terra.StringValue
func (LifecyclePolicyAttributes) TransitionToPrimaryStorageClass ¶
func (lp LifecyclePolicyAttributes) TransitionToPrimaryStorageClass() terra.StringValue
type LifecyclePolicyState ¶
type Protection ¶
type Protection struct { // ReplicationOverwrite: string, optional ReplicationOverwrite terra.StringValue `hcl:"replication_overwrite,attr"` }
type ProtectionAttributes ¶
type ProtectionAttributes struct {
// contains filtered or unexported fields
}
func (ProtectionAttributes) InternalRef ¶
func (p ProtectionAttributes) InternalRef() (terra.Reference, error)
func (ProtectionAttributes) InternalTokens ¶
func (p ProtectionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProtectionAttributes) InternalWithRef ¶
func (p ProtectionAttributes) InternalWithRef(ref terra.Reference) ProtectionAttributes
func (ProtectionAttributes) ReplicationOverwrite ¶
func (p ProtectionAttributes) ReplicationOverwrite() terra.StringValue
type ProtectionState ¶
type ProtectionState struct {
ReplicationOverwrite string `json:"replication_overwrite"`
}
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 (*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) Dependencies ¶
func (aefs *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (sib SizeInBytesAttributes) InternalWithRef(ref terra.Reference) SizeInBytesAttributes
func (SizeInBytesAttributes) Value ¶
func (sib SizeInBytesAttributes) Value() terra.NumberValue
func (SizeInBytesAttributes) ValueInIa ¶
func (sib SizeInBytesAttributes) ValueInIa() terra.NumberValue
func (SizeInBytesAttributes) ValueInStandard ¶
func (sib SizeInBytesAttributes) ValueInStandard() terra.NumberValue