aws_fsx_ontap_file_system

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 {
	// AutomaticBackupRetentionDays: number, optional
	AutomaticBackupRetentionDays terra.NumberValue `hcl:"automatic_backup_retention_days,attr"`
	// DailyAutomaticBackupStartTime: string, optional
	DailyAutomaticBackupStartTime terra.StringValue `hcl:"daily_automatic_backup_start_time,attr"`
	// DeploymentType: string, required
	DeploymentType terra.StringValue `hcl:"deployment_type,attr" validate:"required"`
	// EndpointIpAddressRange: string, optional
	EndpointIpAddressRange terra.StringValue `hcl:"endpoint_ip_address_range,attr"`
	// FsxAdminPassword: string, optional
	FsxAdminPassword terra.StringValue `hcl:"fsx_admin_password,attr"`
	// HaPairs: number, optional
	HaPairs terra.NumberValue `hcl:"ha_pairs,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// PreferredSubnetId: string, required
	PreferredSubnetId terra.StringValue `hcl:"preferred_subnet_id,attr" validate:"required"`
	// RouteTableIds: set of string, optional
	RouteTableIds terra.SetValue[terra.StringValue] `hcl:"route_table_ids,attr"`
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// StorageCapacity: number, optional
	StorageCapacity terra.NumberValue `hcl:"storage_capacity,attr"`
	// StorageType: string, optional
	StorageType terra.StringValue `hcl:"storage_type,attr"`
	// SubnetIds: list of string, required
	SubnetIds terra.ListValue[terra.StringValue] `hcl:"subnet_ids,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"`
	// ThroughputCapacity: number, optional
	ThroughputCapacity terra.NumberValue `hcl:"throughput_capacity,attr"`
	// ThroughputCapacityPerHaPair: number, optional
	ThroughputCapacityPerHaPair terra.NumberValue `hcl:"throughput_capacity_per_ha_pair,attr"`
	// WeeklyMaintenanceStartTime: string, optional
	WeeklyMaintenanceStartTime terra.StringValue `hcl:"weekly_maintenance_start_time,attr"`
	// DiskIopsConfiguration: optional
	DiskIopsConfiguration *DiskIopsConfiguration `hcl:"disk_iops_configuration,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_fsx_ontap_file_system.

type DataArgs

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

DataArgs contains the configurations for aws_fsx_ontap_file_system.

type DataDiskIopsConfigurationAttributes

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

func (DataDiskIopsConfigurationAttributes) InternalRef

func (DataDiskIopsConfigurationAttributes) InternalTokens

func (dic DataDiskIopsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDiskIopsConfigurationAttributes) InternalWithRef

func (DataDiskIopsConfigurationAttributes) Iops

func (DataDiskIopsConfigurationAttributes) Mode

type DataDiskIopsConfigurationState

type DataDiskIopsConfigurationState struct {
	Iops float64 `json:"iops"`
	Mode string  `json:"mode"`
}

type DataEndpointsAttributes

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

func (DataEndpointsAttributes) Intercluster

func (DataEndpointsAttributes) InternalRef

func (e DataEndpointsAttributes) InternalRef() (terra.Reference, error)

func (DataEndpointsAttributes) InternalTokens

func (e DataEndpointsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataEndpointsAttributes) InternalWithRef

func (DataEndpointsAttributes) Management

type DataEndpointsInterclusterAttributes

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

func (DataEndpointsInterclusterAttributes) DnsName

func (DataEndpointsInterclusterAttributes) InternalRef

func (DataEndpointsInterclusterAttributes) InternalTokens

func (DataEndpointsInterclusterAttributes) InternalWithRef

func (DataEndpointsInterclusterAttributes) IpAddresses

type DataEndpointsInterclusterState

type DataEndpointsInterclusterState struct {
	DnsName     string   `json:"dns_name"`
	IpAddresses []string `json:"ip_addresses"`
}

type DataEndpointsManagementAttributes

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

func (DataEndpointsManagementAttributes) DnsName

func (DataEndpointsManagementAttributes) InternalRef

func (DataEndpointsManagementAttributes) InternalTokens

func (DataEndpointsManagementAttributes) InternalWithRef

func (DataEndpointsManagementAttributes) IpAddresses

type DataEndpointsManagementState

type DataEndpointsManagementState struct {
	DnsName     string   `json:"dns_name"`
	IpAddresses []string `json:"ip_addresses"`
}

type DataEndpointsState

type DataEndpointsState struct {
	Intercluster []DataEndpointsInterclusterState `json:"intercluster"`
	Management   []DataEndpointsManagementState   `json:"management"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_fsx_ontap_file_system.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (afofs *DataSource) Attributes() dataAwsFsxOntapFileSystemAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (afofs *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (afofs *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DiskIopsConfiguration

type DiskIopsConfiguration struct {
	// Iops: number, optional
	Iops terra.NumberValue `hcl:"iops,attr"`
	// Mode: string, optional
	Mode terra.StringValue `hcl:"mode,attr"`
}

type DiskIopsConfigurationAttributes

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

func (DiskIopsConfigurationAttributes) InternalRef

func (DiskIopsConfigurationAttributes) InternalTokens

func (dic DiskIopsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DiskIopsConfigurationAttributes) InternalWithRef

func (DiskIopsConfigurationAttributes) Iops

func (DiskIopsConfigurationAttributes) Mode

type DiskIopsConfigurationState

type DiskIopsConfigurationState struct {
	Iops float64 `json:"iops"`
	Mode string  `json:"mode"`
}

type EndpointsAttributes

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

func (EndpointsAttributes) Intercluster

func (EndpointsAttributes) InternalRef

func (e EndpointsAttributes) InternalRef() (terra.Reference, error)

func (EndpointsAttributes) InternalTokens

func (e EndpointsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EndpointsAttributes) InternalWithRef

func (e EndpointsAttributes) InternalWithRef(ref terra.Reference) EndpointsAttributes

func (EndpointsAttributes) Management

type EndpointsInterclusterAttributes

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

func (EndpointsInterclusterAttributes) DnsName

func (EndpointsInterclusterAttributes) InternalRef

func (EndpointsInterclusterAttributes) InternalTokens

func (i EndpointsInterclusterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EndpointsInterclusterAttributes) InternalWithRef

func (EndpointsInterclusterAttributes) IpAddresses

type EndpointsInterclusterState

type EndpointsInterclusterState struct {
	DnsName     string   `json:"dns_name"`
	IpAddresses []string `json:"ip_addresses"`
}

type EndpointsManagementAttributes

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

func (EndpointsManagementAttributes) DnsName

func (EndpointsManagementAttributes) InternalRef

func (EndpointsManagementAttributes) InternalTokens

func (m EndpointsManagementAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EndpointsManagementAttributes) InternalWithRef

func (EndpointsManagementAttributes) IpAddresses

type EndpointsManagementState

type EndpointsManagementState struct {
	DnsName     string   `json:"dns_name"`
	IpAddresses []string `json:"ip_addresses"`
}

type EndpointsState

type EndpointsState struct {
	Intercluster []EndpointsInterclusterState `json:"intercluster"`
	Management   []EndpointsManagementState   `json:"management"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (afofs *Resource) Attributes() awsFsxOntapFileSystemAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (afofs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (afofs *Resource) State() (*awsFsxOntapFileSystemState, bool)

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

func (*Resource) StateMust

func (afofs *Resource) StateMust() *awsFsxOntapFileSystemState

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

func (*Resource) Type

func (afofs *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"`
}

Jump to

Keyboard shortcuts

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