OntapConfigurationProperty Struct
The configuration for this Amazon FSx for NetApp ONTAP file system.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fsx as fsx } from 'aws-cdk-lib';
const ontapConfigurationProperty: fsx.CfnFileSystem.OntapConfigurationProperty = {
deploymentType: 'deploymentType',
// the properties below are optional
automaticBackupRetentionDays: 123,
dailyAutomaticBackupStartTime: 'dailyAutomaticBackupStartTime',
diskIopsConfiguration: {
iops: 123,
mode: 'mode',
},
endpointIpAddressRange: 'endpointIpAddressRange',
endpointIpv6AddressRange: 'endpointIpv6AddressRange',
fsxAdminPassword: 'fsxAdminPassword',
haPairs: 123,
preferredSubnetId: 'preferredSubnetId',
routeTableIds: ['routeTableIds'],
throughputCapacity: 123,
throughputCapacityPerHaPair: 123,
weeklyMaintenanceStartTime: 'weeklyMaintenanceStartTime',
};
Properties
automaticBackupRetentionDaysoptionalnumberautomatic_backup_retention_daysoptionalint | floatautomaticBackupRetentionDaysoptionalNumberAutomaticBackupRetentionDaysoptionaldoubleAutomaticBackupRetentionDaysoptional*float64#Setting this property to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 30 .
dailyAutomaticBackupStartTimeoptionalstringdaily_automatic_backup_start_timeoptionalstrdailyAutomaticBackupStartTimeoptionalStringDailyAutomaticBackupStartTimeoptionalstringDailyAutomaticBackupStartTimeoptional*string#HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily.
deploymentTypestringdeployment_typestrdeploymentTypeStringDeploymentTypestringDeploymentType*stringrequired#notes
MULTI_AZ_1- A high availability file system configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. This is a first-generation FSx for ONTAP file system.MULTI_AZ_2- A high availability file system configured for Multi-AZ redundancy to tolerate temporary AZ unavailability. This is a second-generation FSx for ONTAP file system.SINGLE_AZ_1- A file system configured for Single-AZ redundancy. This is a first-generation FSx for ONTAP file system.SINGLE_AZ_2- A file system configured with multiple high-availability (HA) pairs for Single-AZ redundancy. This is a second-generation FSx for ONTAP file system.
For information about the use cases for Multi-AZ and Single-AZ deployments, refer to Choosing a file system deployment type .
diskIopsConfigurationoptionalIResolvable | CfnFileSystem.DiskIopsConfigurationPropertydisk_iops_configurationoptionaltyping.Union[IResolvable, DiskIopsConfigurationProperty]diskIopsConfigurationoptionalIResolvableDiskIopsConfigurationoptionalIResolvableDiskIopsConfigurationoptionalinterface{}#endpointIpAddressRangeoptionalstringendpoint_ip_address_rangeoptionalstrendpointIpAddressRangeoptionalStringEndpointIpAddressRangeoptionalstringEndpointIpAddressRangeoptional*string#notes
By default in the Amazon FSx API, Amazon FSx selects an unused IP address range for you from the 198.19.* range. By default in the Amazon FSx console, Amazon FSx chooses the last 64 IP addresses from the VPC’s primary CIDR range to use as the endpoint IP address range for the file system. You can have overlapping endpoint IP addresses for file systems deployed in the same VPC/route tables, as long as they don't overlap with any subnet.
endpointIpv6AddressRangeoptionalstringendpoint_ipv6_address_rangeoptionalstrendpointIpv6AddressRangeoptionalStringEndpointIpv6AddressRangeoptionalstringEndpointIpv6AddressRangeoptional*string#fsxAdminPasswordoptionalstringfsx_admin_passwordoptionalstrfsxAdminPasswordoptionalStringFsxAdminPasswordoptionalstringFsxAdminPasswordoptional*string#haPairsoptionalnumberha_pairsoptionalint | floathaPairsoptionalNumberHaPairsoptionaldoubleHaPairsoptional*float64#notes
First-generation file systems are powered by 1 HA pair. Second-generation multi-AZ file systems are powered by 1 HA pair. Second generation single-AZ file systems are powered by up to 12 HA pairs. The default value is 1. The value of this property affects the values of StorageCapacity , Iops , and ThroughputCapacity . For more information, see High-availability (HA) pairs in the FSx for ONTAP user guide. Block storage protocol support (iSCSI and NVMe over TCP) is disabled on file systems with more than 6 HA pairs. For more information, see Using block storage protocols .
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
- The value of
HAPairsis less than 1 or greater than 12. - The value of
HAPairsis greater than 1 and the value ofDeploymentTypeisSINGLE_AZ_1,MULTI_AZ_1, orMULTI_AZ_2.
preferredSubnetIdoptionalstringpreferred_subnet_idoptionalstrpreferredSubnetIdoptionalStringPreferredSubnetIdoptionalstringPreferredSubnetIdoptional*string#This specifies the subnet in which you want the preferred file server to be located.
routeTableIdsoptionalstring[]route_table_idsoptionaltyping.List[str]routeTableIdsoptionalList<String>RouteTableIdsoptionalstring[]RouteTableIdsoptional*[]*string#notes
You should specify all virtual private cloud (VPC) route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table.
Amazon FSx manages these route tables for Multi-AZ file systems using tag-based authentication. These route tables are tagged with
Key: AmazonFSx; Value: ManagedByAmazonFSx. When creating FSx for ONTAP Multi-AZ file systems using CloudFormation we recommend that you add theKey: AmazonFSx; Value: ManagedByAmazonFSxtag manually.
throughputCapacityoptionalnumberthroughput_capacityoptionalint | floatthroughputCapacityoptionalNumberThroughputCapacityoptionaldoubleThroughputCapacityoptional*float64#notes
For more information, see Managing throughput capacity in the FSx for ONTAP User Guide.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
- The value of
ThroughputCapacityandThroughputCapacityPerHAPairare not the same value. - The value of
ThroughputCapacitywhen divided by the value ofHAPairsis outside of the valid range forThroughputCapacity.
throughputCapacityPerHaPairoptionalnumberthroughput_capacity_per_ha_pairoptionalint | floatthroughputCapacityPerHaPairoptionalNumberThroughputCapacityPerHaPairoptionaldoubleThroughputCapacityPerHaPairoptional*float64#notes
You can define either the ThroughputCapacityPerHAPair or the ThroughputCapacity when creating a file system, but not both.
This field and ThroughputCapacity are the same for file systems powered by one HA pair.
- For
SINGLE_AZ_1andMULTI_AZ_1file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. - For
SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. - For
MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
- The value of
ThroughputCapacityandThroughputCapacityPerHAPairare not the same value for file systems with one HA pair. - The value of deployment type is
SINGLE_AZ_2andThroughputCapacity/ThroughputCapacityPerHAPairis not a valid HA pair (a value between 1 and 12). - The value of
ThroughputCapacityPerHAPairis not a valid value.
weeklyMaintenanceStartTimeoptionalstringweekly_maintenance_start_timeoptionalstrweeklyMaintenanceStartTimeoptionalStringWeeklyMaintenanceStartTimeoptionalstringWeeklyMaintenanceStartTimeoptional*string#For example, 1:05:00 specifies maintenance at 5 AM Monday.