Documentation ¶
Index ¶
- type Args
- type HighAvailabilityConfig
- type HighAvailabilityConfigAttributes
- func (hac HighAvailabilityConfigAttributes) DesiredCapacity() terra.NumberValue
- func (hac HighAvailabilityConfigAttributes) InternalRef() (terra.Reference, error)
- func (hac HighAvailabilityConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hac HighAvailabilityConfigAttributes) InternalWithRef(ref terra.Reference) HighAvailabilityConfigAttributes
- type HighAvailabilityConfigState
- type Resource
- func (ame *Resource) Attributes() awsM2EnvironmentAttributes
- func (ame *Resource) Configuration() interface{}
- func (ame *Resource) DependOn() terra.Reference
- func (ame *Resource) Dependencies() terra.Dependencies
- func (ame *Resource) ImportState(state io.Reader) error
- func (ame *Resource) LifecycleManagement() *terra.Lifecycle
- func (ame *Resource) LocalName() string
- func (ame *Resource) State() (*awsM2EnvironmentState, bool)
- func (ame *Resource) StateMust() *awsM2EnvironmentState
- func (ame *Resource) Type() string
- type StorageConfiguration
- type StorageConfigurationAttributes
- func (sc StorageConfigurationAttributes) Efs() terra.ListValue[StorageConfigurationEfsAttributes]
- func (sc StorageConfigurationAttributes) Fsx() terra.ListValue[StorageConfigurationFsxAttributes]
- func (sc StorageConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (sc StorageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc StorageConfigurationAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationAttributes
- type StorageConfigurationEfs
- type StorageConfigurationEfsAttributes
- func (e StorageConfigurationEfsAttributes) FileSystemId() terra.StringValue
- func (e StorageConfigurationEfsAttributes) InternalRef() (terra.Reference, error)
- func (e StorageConfigurationEfsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e StorageConfigurationEfsAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationEfsAttributes
- func (e StorageConfigurationEfsAttributes) MountPoint() terra.StringValue
- type StorageConfigurationEfsState
- type StorageConfigurationFsx
- type StorageConfigurationFsxAttributes
- func (f StorageConfigurationFsxAttributes) FileSystemId() terra.StringValue
- func (f StorageConfigurationFsxAttributes) InternalRef() (terra.Reference, error)
- func (f StorageConfigurationFsxAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f StorageConfigurationFsxAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationFsxAttributes
- func (f StorageConfigurationFsxAttributes) MountPoint() terra.StringValue
- type StorageConfigurationFsxState
- type StorageConfigurationState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ApplyChangesDuringMaintenanceWindow: bool, optional ApplyChangesDuringMaintenanceWindow terra.BoolValue `hcl:"apply_changes_during_maintenance_window,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // EngineType: string, required EngineType terra.StringValue `hcl:"engine_type,attr" validate:"required"` // EngineVersion: string, optional EngineVersion terra.StringValue `hcl:"engine_version,attr"` // ForceUpdate: bool, optional ForceUpdate terra.BoolValue `hcl:"force_update,attr"` // InstanceType: string, required InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PreferredMaintenanceWindow: string, optional PreferredMaintenanceWindow terra.StringValue `hcl:"preferred_maintenance_window,attr"` // PubliclyAccessible: bool, optional PubliclyAccessible terra.BoolValue `hcl:"publicly_accessible,attr"` // SecurityGroupIds: set of string, optional SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"` // SubnetIds: set of string, optional SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // HighAvailabilityConfig: min=0 HighAvailabilityConfig []HighAvailabilityConfig `hcl:"high_availability_config,block" validate:"min=0"` // StorageConfiguration: min=0 StorageConfiguration []StorageConfiguration `hcl:"storage_configuration,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_m2_environment.
type HighAvailabilityConfig ¶
type HighAvailabilityConfig struct { // DesiredCapacity: number, required DesiredCapacity terra.NumberValue `hcl:"desired_capacity,attr" validate:"required"` }
type HighAvailabilityConfigAttributes ¶
type HighAvailabilityConfigAttributes struct {
// contains filtered or unexported fields
}
func (HighAvailabilityConfigAttributes) DesiredCapacity ¶
func (hac HighAvailabilityConfigAttributes) DesiredCapacity() terra.NumberValue
func (HighAvailabilityConfigAttributes) InternalRef ¶
func (hac HighAvailabilityConfigAttributes) InternalRef() (terra.Reference, error)
func (HighAvailabilityConfigAttributes) InternalTokens ¶
func (hac HighAvailabilityConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HighAvailabilityConfigAttributes) InternalWithRef ¶
func (hac HighAvailabilityConfigAttributes) InternalWithRef(ref terra.Reference) HighAvailabilityConfigAttributes
type HighAvailabilityConfigState ¶
type HighAvailabilityConfigState struct {
DesiredCapacity float64 `json:"desired_capacity"`
}
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_m2_environment.
func (*Resource) Attributes ¶
func (ame *Resource) Attributes() awsM2EnvironmentAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ame *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ame *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 StorageConfiguration ¶
type StorageConfiguration struct { // StorageConfigurationEfs: min=0 Efs []StorageConfigurationEfs `hcl:"efs,block" validate:"min=0"` // StorageConfigurationFsx: min=0 Fsx []StorageConfigurationFsx `hcl:"fsx,block" validate:"min=0"` }
type StorageConfigurationAttributes ¶
type StorageConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (StorageConfigurationAttributes) Efs ¶
func (sc StorageConfigurationAttributes) Efs() terra.ListValue[StorageConfigurationEfsAttributes]
func (StorageConfigurationAttributes) Fsx ¶
func (sc StorageConfigurationAttributes) Fsx() terra.ListValue[StorageConfigurationFsxAttributes]
func (StorageConfigurationAttributes) InternalRef ¶
func (sc StorageConfigurationAttributes) InternalRef() (terra.Reference, error)
func (StorageConfigurationAttributes) InternalTokens ¶
func (sc StorageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageConfigurationAttributes) InternalWithRef ¶
func (sc StorageConfigurationAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationAttributes
type StorageConfigurationEfs ¶
type StorageConfigurationEfs struct { // FileSystemId: string, required FileSystemId terra.StringValue `hcl:"file_system_id,attr" validate:"required"` // MountPoint: string, required MountPoint terra.StringValue `hcl:"mount_point,attr" validate:"required"` }
type StorageConfigurationEfsAttributes ¶
type StorageConfigurationEfsAttributes struct {
// contains filtered or unexported fields
}
func (StorageConfigurationEfsAttributes) FileSystemId ¶
func (e StorageConfigurationEfsAttributes) FileSystemId() terra.StringValue
func (StorageConfigurationEfsAttributes) InternalRef ¶
func (e StorageConfigurationEfsAttributes) InternalRef() (terra.Reference, error)
func (StorageConfigurationEfsAttributes) InternalTokens ¶
func (e StorageConfigurationEfsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageConfigurationEfsAttributes) InternalWithRef ¶
func (e StorageConfigurationEfsAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationEfsAttributes
func (StorageConfigurationEfsAttributes) MountPoint ¶
func (e StorageConfigurationEfsAttributes) MountPoint() terra.StringValue
type StorageConfigurationFsx ¶
type StorageConfigurationFsx struct { // FileSystemId: string, required FileSystemId terra.StringValue `hcl:"file_system_id,attr" validate:"required"` // MountPoint: string, required MountPoint terra.StringValue `hcl:"mount_point,attr" validate:"required"` }
type StorageConfigurationFsxAttributes ¶
type StorageConfigurationFsxAttributes struct {
// contains filtered or unexported fields
}
func (StorageConfigurationFsxAttributes) FileSystemId ¶
func (f StorageConfigurationFsxAttributes) FileSystemId() terra.StringValue
func (StorageConfigurationFsxAttributes) InternalRef ¶
func (f StorageConfigurationFsxAttributes) InternalRef() (terra.Reference, error)
func (StorageConfigurationFsxAttributes) InternalTokens ¶
func (f StorageConfigurationFsxAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageConfigurationFsxAttributes) InternalWithRef ¶
func (f StorageConfigurationFsxAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationFsxAttributes
func (StorageConfigurationFsxAttributes) MountPoint ¶
func (f StorageConfigurationFsxAttributes) MountPoint() terra.StringValue
type StorageConfigurationState ¶
type StorageConfigurationState struct { Efs []StorageConfigurationEfsState `json:"efs"` Fsx []StorageConfigurationFsxState `json:"fsx"` }
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.