aws.fsx.WindowsFileSystem
Explore with Pulumi AI
Manages a FSx Windows File System. See the FSx Windows Guide for more information.
NOTE: Either the
active_directory_id
argument orself_managed_active_directory
configuration block must be specified.
Example Usage
Using AWS Directory Service
Additional information for using AWS Directory Service with Windows File Systems can be found in the FSx Windows Guide.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.fsx.WindowsFileSystem("example", {
activeDirectoryId: exampleAwsDirectoryServiceDirectory.id,
kmsKeyId: exampleAwsKmsKey.arn,
storageCapacity: 300,
subnetIds: [exampleAwsSubnet.id],
throughputCapacity: 1024,
});
import pulumi
import pulumi_aws as aws
example = aws.fsx.WindowsFileSystem("example",
active_directory_id=example_aws_directory_service_directory["id"],
kms_key_id=example_aws_kms_key["arn"],
storage_capacity=300,
subnet_ids=[example_aws_subnet["id"]],
throughput_capacity=1024)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fsx.NewWindowsFileSystem(ctx, "example", &fsx.WindowsFileSystemArgs{
ActiveDirectoryId: pulumi.Any(exampleAwsDirectoryServiceDirectory.Id),
KmsKeyId: pulumi.Any(exampleAwsKmsKey.Arn),
StorageCapacity: pulumi.Int(300),
SubnetIds: pulumi.StringArray{
exampleAwsSubnet.Id,
},
ThroughputCapacity: pulumi.Int(1024),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Fsx.WindowsFileSystem("example", new()
{
ActiveDirectoryId = exampleAwsDirectoryServiceDirectory.Id,
KmsKeyId = exampleAwsKmsKey.Arn,
StorageCapacity = 300,
SubnetIds = new[]
{
exampleAwsSubnet.Id,
},
ThroughputCapacity = 1024,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.WindowsFileSystem;
import com.pulumi.aws.fsx.WindowsFileSystemArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new WindowsFileSystem("example", WindowsFileSystemArgs.builder()
.activeDirectoryId(exampleAwsDirectoryServiceDirectory.id())
.kmsKeyId(exampleAwsKmsKey.arn())
.storageCapacity(300)
.subnetIds(exampleAwsSubnet.id())
.throughputCapacity(1024)
.build());
}
}
resources:
example:
type: aws:fsx:WindowsFileSystem
properties:
activeDirectoryId: ${exampleAwsDirectoryServiceDirectory.id}
kmsKeyId: ${exampleAwsKmsKey.arn}
storageCapacity: 300
subnetIds:
- ${exampleAwsSubnet.id}
throughputCapacity: 1024
Using a Self-Managed Microsoft Active Directory
Additional information for using AWS Directory Service with Windows File Systems can be found in the FSx Windows Guide.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.fsx.WindowsFileSystem("example", {
kmsKeyId: exampleAwsKmsKey.arn,
storageCapacity: 300,
subnetIds: [exampleAwsSubnet.id],
throughputCapacity: 1024,
selfManagedActiveDirectory: {
dnsIps: [
"10.0.0.111",
"10.0.0.222",
],
domainName: "corp.example.com",
password: "avoid-plaintext-passwords",
username: "Admin",
},
});
import pulumi
import pulumi_aws as aws
example = aws.fsx.WindowsFileSystem("example",
kms_key_id=example_aws_kms_key["arn"],
storage_capacity=300,
subnet_ids=[example_aws_subnet["id"]],
throughput_capacity=1024,
self_managed_active_directory={
"dns_ips": [
"10.0.0.111",
"10.0.0.222",
],
"domain_name": "corp.example.com",
"password": "avoid-plaintext-passwords",
"username": "Admin",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fsx.NewWindowsFileSystem(ctx, "example", &fsx.WindowsFileSystemArgs{
KmsKeyId: pulumi.Any(exampleAwsKmsKey.Arn),
StorageCapacity: pulumi.Int(300),
SubnetIds: pulumi.StringArray{
exampleAwsSubnet.Id,
},
ThroughputCapacity: pulumi.Int(1024),
SelfManagedActiveDirectory: &fsx.WindowsFileSystemSelfManagedActiveDirectoryArgs{
DnsIps: pulumi.StringArray{
pulumi.String("10.0.0.111"),
pulumi.String("10.0.0.222"),
},
DomainName: pulumi.String("corp.example.com"),
Password: pulumi.String("avoid-plaintext-passwords"),
Username: pulumi.String("Admin"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Fsx.WindowsFileSystem("example", new()
{
KmsKeyId = exampleAwsKmsKey.Arn,
StorageCapacity = 300,
SubnetIds = new[]
{
exampleAwsSubnet.Id,
},
ThroughputCapacity = 1024,
SelfManagedActiveDirectory = new Aws.Fsx.Inputs.WindowsFileSystemSelfManagedActiveDirectoryArgs
{
DnsIps = new[]
{
"10.0.0.111",
"10.0.0.222",
},
DomainName = "corp.example.com",
Password = "avoid-plaintext-passwords",
Username = "Admin",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.WindowsFileSystem;
import com.pulumi.aws.fsx.WindowsFileSystemArgs;
import com.pulumi.aws.fsx.inputs.WindowsFileSystemSelfManagedActiveDirectoryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new WindowsFileSystem("example", WindowsFileSystemArgs.builder()
.kmsKeyId(exampleAwsKmsKey.arn())
.storageCapacity(300)
.subnetIds(exampleAwsSubnet.id())
.throughputCapacity(1024)
.selfManagedActiveDirectory(WindowsFileSystemSelfManagedActiveDirectoryArgs.builder()
.dnsIps(
"10.0.0.111",
"10.0.0.222")
.domainName("corp.example.com")
.password("avoid-plaintext-passwords")
.username("Admin")
.build())
.build());
}
}
resources:
example:
type: aws:fsx:WindowsFileSystem
properties:
kmsKeyId: ${exampleAwsKmsKey.arn}
storageCapacity: 300
subnetIds:
- ${exampleAwsSubnet.id}
throughputCapacity: 1024
selfManagedActiveDirectory:
dnsIps:
- 10.0.0.111
- 10.0.0.222
domainName: corp.example.com
password: avoid-plaintext-passwords
username: Admin
Create WindowsFileSystem Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WindowsFileSystem(name: string, args: WindowsFileSystemArgs, opts?: CustomResourceOptions);
@overload
def WindowsFileSystem(resource_name: str,
args: WindowsFileSystemArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WindowsFileSystem(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet_ids: Optional[Sequence[str]] = None,
throughput_capacity: Optional[int] = None,
kms_key_id: Optional[str] = None,
preferred_subnet_id: Optional[str] = None,
backup_id: Optional[str] = None,
copy_tags_to_backups: Optional[bool] = None,
daily_automatic_backup_start_time: Optional[str] = None,
deployment_type: Optional[str] = None,
disk_iops_configuration: Optional[WindowsFileSystemDiskIopsConfigurationArgs] = None,
final_backup_tags: Optional[Mapping[str, str]] = None,
active_directory_id: Optional[str] = None,
automatic_backup_retention_days: Optional[int] = None,
security_group_ids: Optional[Sequence[str]] = None,
self_managed_active_directory: Optional[WindowsFileSystemSelfManagedActiveDirectoryArgs] = None,
skip_final_backup: Optional[bool] = None,
storage_capacity: Optional[int] = None,
storage_type: Optional[str] = None,
audit_log_configuration: Optional[WindowsFileSystemAuditLogConfigurationArgs] = None,
tags: Optional[Mapping[str, str]] = None,
aliases: Optional[Sequence[str]] = None,
weekly_maintenance_start_time: Optional[str] = None)
func NewWindowsFileSystem(ctx *Context, name string, args WindowsFileSystemArgs, opts ...ResourceOption) (*WindowsFileSystem, error)
public WindowsFileSystem(string name, WindowsFileSystemArgs args, CustomResourceOptions? opts = null)
public WindowsFileSystem(String name, WindowsFileSystemArgs args)
public WindowsFileSystem(String name, WindowsFileSystemArgs args, CustomResourceOptions options)
type: aws:fsx:WindowsFileSystem
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WindowsFileSystemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WindowsFileSystemArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WindowsFileSystemArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WindowsFileSystemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WindowsFileSystemArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var windowsFileSystemResource = new Aws.Fsx.WindowsFileSystem("windowsFileSystemResource", new()
{
SubnetIds = new[]
{
"string",
},
ThroughputCapacity = 0,
KmsKeyId = "string",
PreferredSubnetId = "string",
BackupId = "string",
CopyTagsToBackups = false,
DailyAutomaticBackupStartTime = "string",
DeploymentType = "string",
DiskIopsConfiguration = new Aws.Fsx.Inputs.WindowsFileSystemDiskIopsConfigurationArgs
{
Iops = 0,
Mode = "string",
},
FinalBackupTags =
{
{ "string", "string" },
},
ActiveDirectoryId = "string",
AutomaticBackupRetentionDays = 0,
SecurityGroupIds = new[]
{
"string",
},
SelfManagedActiveDirectory = new Aws.Fsx.Inputs.WindowsFileSystemSelfManagedActiveDirectoryArgs
{
DnsIps = new[]
{
"string",
},
DomainName = "string",
Password = "string",
Username = "string",
FileSystemAdministratorsGroup = "string",
OrganizationalUnitDistinguishedName = "string",
},
SkipFinalBackup = false,
StorageCapacity = 0,
StorageType = "string",
AuditLogConfiguration = new Aws.Fsx.Inputs.WindowsFileSystemAuditLogConfigurationArgs
{
AuditLogDestination = "string",
FileAccessAuditLogLevel = "string",
FileShareAccessAuditLogLevel = "string",
},
Tags =
{
{ "string", "string" },
},
Aliases = new[]
{
"string",
},
WeeklyMaintenanceStartTime = "string",
});
example, err := fsx.NewWindowsFileSystem(ctx, "windowsFileSystemResource", &fsx.WindowsFileSystemArgs{
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
ThroughputCapacity: pulumi.Int(0),
KmsKeyId: pulumi.String("string"),
PreferredSubnetId: pulumi.String("string"),
BackupId: pulumi.String("string"),
CopyTagsToBackups: pulumi.Bool(false),
DailyAutomaticBackupStartTime: pulumi.String("string"),
DeploymentType: pulumi.String("string"),
DiskIopsConfiguration: &fsx.WindowsFileSystemDiskIopsConfigurationArgs{
Iops: pulumi.Int(0),
Mode: pulumi.String("string"),
},
FinalBackupTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ActiveDirectoryId: pulumi.String("string"),
AutomaticBackupRetentionDays: pulumi.Int(0),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SelfManagedActiveDirectory: &fsx.WindowsFileSystemSelfManagedActiveDirectoryArgs{
DnsIps: pulumi.StringArray{
pulumi.String("string"),
},
DomainName: pulumi.String("string"),
Password: pulumi.String("string"),
Username: pulumi.String("string"),
FileSystemAdministratorsGroup: pulumi.String("string"),
OrganizationalUnitDistinguishedName: pulumi.String("string"),
},
SkipFinalBackup: pulumi.Bool(false),
StorageCapacity: pulumi.Int(0),
StorageType: pulumi.String("string"),
AuditLogConfiguration: &fsx.WindowsFileSystemAuditLogConfigurationArgs{
AuditLogDestination: pulumi.String("string"),
FileAccessAuditLogLevel: pulumi.String("string"),
FileShareAccessAuditLogLevel: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Aliases: pulumi.StringArray{
pulumi.String("string"),
},
WeeklyMaintenanceStartTime: pulumi.String("string"),
})
var windowsFileSystemResource = new WindowsFileSystem("windowsFileSystemResource", WindowsFileSystemArgs.builder()
.subnetIds("string")
.throughputCapacity(0)
.kmsKeyId("string")
.preferredSubnetId("string")
.backupId("string")
.copyTagsToBackups(false)
.dailyAutomaticBackupStartTime("string")
.deploymentType("string")
.diskIopsConfiguration(WindowsFileSystemDiskIopsConfigurationArgs.builder()
.iops(0)
.mode("string")
.build())
.finalBackupTags(Map.of("string", "string"))
.activeDirectoryId("string")
.automaticBackupRetentionDays(0)
.securityGroupIds("string")
.selfManagedActiveDirectory(WindowsFileSystemSelfManagedActiveDirectoryArgs.builder()
.dnsIps("string")
.domainName("string")
.password("string")
.username("string")
.fileSystemAdministratorsGroup("string")
.organizationalUnitDistinguishedName("string")
.build())
.skipFinalBackup(false)
.storageCapacity(0)
.storageType("string")
.auditLogConfiguration(WindowsFileSystemAuditLogConfigurationArgs.builder()
.auditLogDestination("string")
.fileAccessAuditLogLevel("string")
.fileShareAccessAuditLogLevel("string")
.build())
.tags(Map.of("string", "string"))
.aliases("string")
.weeklyMaintenanceStartTime("string")
.build());
windows_file_system_resource = aws.fsx.WindowsFileSystem("windowsFileSystemResource",
subnet_ids=["string"],
throughput_capacity=0,
kms_key_id="string",
preferred_subnet_id="string",
backup_id="string",
copy_tags_to_backups=False,
daily_automatic_backup_start_time="string",
deployment_type="string",
disk_iops_configuration={
"iops": 0,
"mode": "string",
},
final_backup_tags={
"string": "string",
},
active_directory_id="string",
automatic_backup_retention_days=0,
security_group_ids=["string"],
self_managed_active_directory={
"dns_ips": ["string"],
"domain_name": "string",
"password": "string",
"username": "string",
"file_system_administrators_group": "string",
"organizational_unit_distinguished_name": "string",
},
skip_final_backup=False,
storage_capacity=0,
storage_type="string",
audit_log_configuration={
"audit_log_destination": "string",
"file_access_audit_log_level": "string",
"file_share_access_audit_log_level": "string",
},
tags={
"string": "string",
},
aliases=["string"],
weekly_maintenance_start_time="string")
const windowsFileSystemResource = new aws.fsx.WindowsFileSystem("windowsFileSystemResource", {
subnetIds: ["string"],
throughputCapacity: 0,
kmsKeyId: "string",
preferredSubnetId: "string",
backupId: "string",
copyTagsToBackups: false,
dailyAutomaticBackupStartTime: "string",
deploymentType: "string",
diskIopsConfiguration: {
iops: 0,
mode: "string",
},
finalBackupTags: {
string: "string",
},
activeDirectoryId: "string",
automaticBackupRetentionDays: 0,
securityGroupIds: ["string"],
selfManagedActiveDirectory: {
dnsIps: ["string"],
domainName: "string",
password: "string",
username: "string",
fileSystemAdministratorsGroup: "string",
organizationalUnitDistinguishedName: "string",
},
skipFinalBackup: false,
storageCapacity: 0,
storageType: "string",
auditLogConfiguration: {
auditLogDestination: "string",
fileAccessAuditLogLevel: "string",
fileShareAccessAuditLogLevel: "string",
},
tags: {
string: "string",
},
aliases: ["string"],
weeklyMaintenanceStartTime: "string",
});
type: aws:fsx:WindowsFileSystem
properties:
activeDirectoryId: string
aliases:
- string
auditLogConfiguration:
auditLogDestination: string
fileAccessAuditLogLevel: string
fileShareAccessAuditLogLevel: string
automaticBackupRetentionDays: 0
backupId: string
copyTagsToBackups: false
dailyAutomaticBackupStartTime: string
deploymentType: string
diskIopsConfiguration:
iops: 0
mode: string
finalBackupTags:
string: string
kmsKeyId: string
preferredSubnetId: string
securityGroupIds:
- string
selfManagedActiveDirectory:
dnsIps:
- string
domainName: string
fileSystemAdministratorsGroup: string
organizationalUnitDistinguishedName: string
password: string
username: string
skipFinalBackup: false
storageCapacity: 0
storageType: string
subnetIds:
- string
tags:
string: string
throughputCapacity: 0
weeklyMaintenanceStartTime: string
WindowsFileSystem Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WindowsFileSystem resource accepts the following input properties:
- Subnet
Ids List<string> - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - Throughput
Capacity int Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- Active
Directory stringId - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - Aliases List<string>
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- Audit
Log WindowsConfiguration File System Audit Log Configuration - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - Automatic
Backup intRetention Days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - Backup
Id string - The ID of the source backup to create the filesystem from.
- bool
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - Daily
Automatic stringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - Deployment
Type string - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - Disk
Iops WindowsConfiguration File System Disk Iops Configuration - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - Dictionary<string, string>
- A map of tags to apply to the file system's final backup.
- Kms
Key stringId - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- Preferred
Subnet stringId - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - Security
Group List<string>Ids - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- Self
Managed WindowsActive Directory File System Self Managed Active Directory - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - Skip
Final boolBackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - Storage
Capacity int - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - Storage
Type string - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - Dictionary<string, string>
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Weekly
Maintenance stringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- Subnet
Ids []string - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - Throughput
Capacity int Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- Active
Directory stringId - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - Aliases []string
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- Audit
Log WindowsConfiguration File System Audit Log Configuration Args - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - Automatic
Backup intRetention Days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - Backup
Id string - The ID of the source backup to create the filesystem from.
- bool
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - Daily
Automatic stringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - Deployment
Type string - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - Disk
Iops WindowsConfiguration File System Disk Iops Configuration Args - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - map[string]string
- A map of tags to apply to the file system's final backup.
- Kms
Key stringId - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- Preferred
Subnet stringId - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - Security
Group []stringIds - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- Self
Managed WindowsActive Directory File System Self Managed Active Directory Args - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - Skip
Final boolBackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - Storage
Capacity int - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - Storage
Type string - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - map[string]string
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Weekly
Maintenance stringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- subnet
Ids List<String> - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - throughput
Capacity Integer Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- active
Directory StringId - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - aliases List<String>
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- audit
Log WindowsConfiguration File System Audit Log Configuration - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - automatic
Backup IntegerRetention Days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - backup
Id String - The ID of the source backup to create the filesystem from.
- Boolean
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - daily
Automatic StringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment
Type String - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - disk
Iops WindowsConfiguration File System Disk Iops Configuration - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - Map<String,String>
- A map of tags to apply to the file system's final backup.
- kms
Key StringId - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- preferred
Subnet StringId - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - security
Group List<String>Ids - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- self
Managed WindowsActive Directory File System Self Managed Active Directory - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - skip
Final BooleanBackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - storage
Capacity Integer - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - storage
Type String - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - Map<String,String>
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - weekly
Maintenance StringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- subnet
Ids string[] - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - throughput
Capacity number Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- active
Directory stringId - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - aliases string[]
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- audit
Log WindowsConfiguration File System Audit Log Configuration - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - automatic
Backup numberRetention Days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - backup
Id string - The ID of the source backup to create the filesystem from.
- boolean
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - daily
Automatic stringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment
Type string - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - disk
Iops WindowsConfiguration File System Disk Iops Configuration - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - {[key: string]: string}
- A map of tags to apply to the file system's final backup.
- kms
Key stringId - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- preferred
Subnet stringId - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - security
Group string[]Ids - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- self
Managed WindowsActive Directory File System Self Managed Active Directory - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - skip
Final booleanBackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - storage
Capacity number - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - storage
Type string - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - {[key: string]: string}
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - weekly
Maintenance stringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- subnet_
ids Sequence[str] - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - throughput_
capacity int Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- active_
directory_ strid - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - aliases Sequence[str]
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- audit_
log_ Windowsconfiguration File System Audit Log Configuration Args - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - automatic_
backup_ intretention_ days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - backup_
id str - The ID of the source backup to create the filesystem from.
- bool
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - daily_
automatic_ strbackup_ start_ time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment_
type str - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - disk_
iops_ Windowsconfiguration File System Disk Iops Configuration Args - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - Mapping[str, str]
- A map of tags to apply to the file system's final backup.
- kms_
key_ strid - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- preferred_
subnet_ strid - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - security_
group_ Sequence[str]ids - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- self_
managed_ Windowsactive_ directory File System Self Managed Active Directory Args - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - skip_
final_ boolbackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - storage_
capacity int - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - storage_
type str - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - Mapping[str, str]
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - weekly_
maintenance_ strstart_ time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- subnet
Ids List<String> - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - throughput
Capacity Number Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- active
Directory StringId - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - aliases List<String>
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- audit
Log Property MapConfiguration - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - automatic
Backup NumberRetention Days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - backup
Id String - The ID of the source backup to create the filesystem from.
- Boolean
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - daily
Automatic StringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment
Type String - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - disk
Iops Property MapConfiguration - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - Map<String>
- A map of tags to apply to the file system's final backup.
- kms
Key StringId - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- preferred
Subnet StringId - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - security
Group List<String>Ids - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- self
Managed Property MapActive Directory - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - skip
Final BooleanBackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - storage
Capacity Number - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - storage
Type String - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - Map<String>
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - weekly
Maintenance StringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
Outputs
All input properties are implicitly available as output properties. Additionally, the WindowsFileSystem resource produces the following output properties:
- Arn string
- Amazon Resource Name of the file system.
- Dns
Name string - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - Id string
- The provider-assigned unique ID for this managed resource.
- Network
Interface List<string>Ids - Set of Elastic Network Interface identifiers from which the file system is accessible.
- Owner
Id string - AWS account identifier that created the file system.
- Preferred
File stringServer Ip - The IP address of the primary, or preferred, file server.
- Remote
Administration stringEndpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Vpc
Id string - Identifier of the Virtual Private Cloud for the file system.
- Arn string
- Amazon Resource Name of the file system.
- Dns
Name string - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - Id string
- The provider-assigned unique ID for this managed resource.
- Network
Interface []stringIds - Set of Elastic Network Interface identifiers from which the file system is accessible.
- Owner
Id string - AWS account identifier that created the file system.
- Preferred
File stringServer Ip - The IP address of the primary, or preferred, file server.
- Remote
Administration stringEndpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Vpc
Id string - Identifier of the Virtual Private Cloud for the file system.
- arn String
- Amazon Resource Name of the file system.
- dns
Name String - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - id String
- The provider-assigned unique ID for this managed resource.
- network
Interface List<String>Ids - Set of Elastic Network Interface identifiers from which the file system is accessible.
- owner
Id String - AWS account identifier that created the file system.
- preferred
File StringServer Ip - The IP address of the primary, or preferred, file server.
- remote
Administration StringEndpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vpc
Id String - Identifier of the Virtual Private Cloud for the file system.
- arn string
- Amazon Resource Name of the file system.
- dns
Name string - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - id string
- The provider-assigned unique ID for this managed resource.
- network
Interface string[]Ids - Set of Elastic Network Interface identifiers from which the file system is accessible.
- owner
Id string - AWS account identifier that created the file system.
- preferred
File stringServer Ip - The IP address of the primary, or preferred, file server.
- remote
Administration stringEndpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vpc
Id string - Identifier of the Virtual Private Cloud for the file system.
- arn str
- Amazon Resource Name of the file system.
- dns_
name str - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - id str
- The provider-assigned unique ID for this managed resource.
- network_
interface_ Sequence[str]ids - Set of Elastic Network Interface identifiers from which the file system is accessible.
- owner_
id str - AWS account identifier that created the file system.
- preferred_
file_ strserver_ ip - The IP address of the primary, or preferred, file server.
- remote_
administration_ strendpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vpc_
id str - Identifier of the Virtual Private Cloud for the file system.
- arn String
- Amazon Resource Name of the file system.
- dns
Name String - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - id String
- The provider-assigned unique ID for this managed resource.
- network
Interface List<String>Ids - Set of Elastic Network Interface identifiers from which the file system is accessible.
- owner
Id String - AWS account identifier that created the file system.
- preferred
File StringServer Ip - The IP address of the primary, or preferred, file server.
- remote
Administration StringEndpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vpc
Id String - Identifier of the Virtual Private Cloud for the file system.
Look up Existing WindowsFileSystem Resource
Get an existing WindowsFileSystem resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WindowsFileSystemState, opts?: CustomResourceOptions): WindowsFileSystem
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active_directory_id: Optional[str] = None,
aliases: Optional[Sequence[str]] = None,
arn: Optional[str] = None,
audit_log_configuration: Optional[WindowsFileSystemAuditLogConfigurationArgs] = None,
automatic_backup_retention_days: Optional[int] = None,
backup_id: Optional[str] = None,
copy_tags_to_backups: Optional[bool] = None,
daily_automatic_backup_start_time: Optional[str] = None,
deployment_type: Optional[str] = None,
disk_iops_configuration: Optional[WindowsFileSystemDiskIopsConfigurationArgs] = None,
dns_name: Optional[str] = None,
final_backup_tags: Optional[Mapping[str, str]] = None,
kms_key_id: Optional[str] = None,
network_interface_ids: Optional[Sequence[str]] = None,
owner_id: Optional[str] = None,
preferred_file_server_ip: Optional[str] = None,
preferred_subnet_id: Optional[str] = None,
remote_administration_endpoint: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
self_managed_active_directory: Optional[WindowsFileSystemSelfManagedActiveDirectoryArgs] = None,
skip_final_backup: Optional[bool] = None,
storage_capacity: Optional[int] = None,
storage_type: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
throughput_capacity: Optional[int] = None,
vpc_id: Optional[str] = None,
weekly_maintenance_start_time: Optional[str] = None) -> WindowsFileSystem
func GetWindowsFileSystem(ctx *Context, name string, id IDInput, state *WindowsFileSystemState, opts ...ResourceOption) (*WindowsFileSystem, error)
public static WindowsFileSystem Get(string name, Input<string> id, WindowsFileSystemState? state, CustomResourceOptions? opts = null)
public static WindowsFileSystem get(String name, Output<String> id, WindowsFileSystemState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Active
Directory stringId - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - Aliases List<string>
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- Arn string
- Amazon Resource Name of the file system.
- Audit
Log WindowsConfiguration File System Audit Log Configuration - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - Automatic
Backup intRetention Days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - Backup
Id string - The ID of the source backup to create the filesystem from.
- bool
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - Daily
Automatic stringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - Deployment
Type string - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - Disk
Iops WindowsConfiguration File System Disk Iops Configuration - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - Dns
Name string - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - Dictionary<string, string>
- A map of tags to apply to the file system's final backup.
- Kms
Key stringId - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- Network
Interface List<string>Ids - Set of Elastic Network Interface identifiers from which the file system is accessible.
- Owner
Id string - AWS account identifier that created the file system.
- Preferred
File stringServer Ip - The IP address of the primary, or preferred, file server.
- Preferred
Subnet stringId - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - Remote
Administration stringEndpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - Security
Group List<string>Ids - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- Self
Managed WindowsActive Directory File System Self Managed Active Directory - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - Skip
Final boolBackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - Storage
Capacity int - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - Storage
Type string - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - Subnet
Ids List<string> - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - Dictionary<string, string>
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Throughput
Capacity int Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- Vpc
Id string - Identifier of the Virtual Private Cloud for the file system.
- Weekly
Maintenance stringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- Active
Directory stringId - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - Aliases []string
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- Arn string
- Amazon Resource Name of the file system.
- Audit
Log WindowsConfiguration File System Audit Log Configuration Args - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - Automatic
Backup intRetention Days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - Backup
Id string - The ID of the source backup to create the filesystem from.
- bool
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - Daily
Automatic stringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - Deployment
Type string - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - Disk
Iops WindowsConfiguration File System Disk Iops Configuration Args - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - Dns
Name string - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - map[string]string
- A map of tags to apply to the file system's final backup.
- Kms
Key stringId - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- Network
Interface []stringIds - Set of Elastic Network Interface identifiers from which the file system is accessible.
- Owner
Id string - AWS account identifier that created the file system.
- Preferred
File stringServer Ip - The IP address of the primary, or preferred, file server.
- Preferred
Subnet stringId - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - Remote
Administration stringEndpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - Security
Group []stringIds - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- Self
Managed WindowsActive Directory File System Self Managed Active Directory Args - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - Skip
Final boolBackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - Storage
Capacity int - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - Storage
Type string - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - Subnet
Ids []string - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - map[string]string
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Throughput
Capacity int Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- Vpc
Id string - Identifier of the Virtual Private Cloud for the file system.
- Weekly
Maintenance stringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- active
Directory StringId - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - aliases List<String>
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- arn String
- Amazon Resource Name of the file system.
- audit
Log WindowsConfiguration File System Audit Log Configuration - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - automatic
Backup IntegerRetention Days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - backup
Id String - The ID of the source backup to create the filesystem from.
- Boolean
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - daily
Automatic StringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment
Type String - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - disk
Iops WindowsConfiguration File System Disk Iops Configuration - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - dns
Name String - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - Map<String,String>
- A map of tags to apply to the file system's final backup.
- kms
Key StringId - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- network
Interface List<String>Ids - Set of Elastic Network Interface identifiers from which the file system is accessible.
- owner
Id String - AWS account identifier that created the file system.
- preferred
File StringServer Ip - The IP address of the primary, or preferred, file server.
- preferred
Subnet StringId - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - remote
Administration StringEndpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - security
Group List<String>Ids - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- self
Managed WindowsActive Directory File System Self Managed Active Directory - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - skip
Final BooleanBackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - storage
Capacity Integer - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - storage
Type String - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - subnet
Ids List<String> - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - Map<String,String>
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - throughput
Capacity Integer Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- vpc
Id String - Identifier of the Virtual Private Cloud for the file system.
- weekly
Maintenance StringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- active
Directory stringId - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - aliases string[]
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- arn string
- Amazon Resource Name of the file system.
- audit
Log WindowsConfiguration File System Audit Log Configuration - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - automatic
Backup numberRetention Days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - backup
Id string - The ID of the source backup to create the filesystem from.
- boolean
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - daily
Automatic stringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment
Type string - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - disk
Iops WindowsConfiguration File System Disk Iops Configuration - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - dns
Name string - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - {[key: string]: string}
- A map of tags to apply to the file system's final backup.
- kms
Key stringId - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- network
Interface string[]Ids - Set of Elastic Network Interface identifiers from which the file system is accessible.
- owner
Id string - AWS account identifier that created the file system.
- preferred
File stringServer Ip - The IP address of the primary, or preferred, file server.
- preferred
Subnet stringId - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - remote
Administration stringEndpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - security
Group string[]Ids - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- self
Managed WindowsActive Directory File System Self Managed Active Directory - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - skip
Final booleanBackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - storage
Capacity number - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - storage
Type string - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - subnet
Ids string[] - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - {[key: string]: string}
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - throughput
Capacity number Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- vpc
Id string - Identifier of the Virtual Private Cloud for the file system.
- weekly
Maintenance stringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- active_
directory_ strid - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - aliases Sequence[str]
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- arn str
- Amazon Resource Name of the file system.
- audit_
log_ Windowsconfiguration File System Audit Log Configuration Args - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - automatic_
backup_ intretention_ days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - backup_
id str - The ID of the source backup to create the filesystem from.
- bool
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - daily_
automatic_ strbackup_ start_ time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment_
type str - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - disk_
iops_ Windowsconfiguration File System Disk Iops Configuration Args - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - dns_
name str - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - Mapping[str, str]
- A map of tags to apply to the file system's final backup.
- kms_
key_ strid - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- network_
interface_ Sequence[str]ids - Set of Elastic Network Interface identifiers from which the file system is accessible.
- owner_
id str - AWS account identifier that created the file system.
- preferred_
file_ strserver_ ip - The IP address of the primary, or preferred, file server.
- preferred_
subnet_ strid - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - remote_
administration_ strendpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - security_
group_ Sequence[str]ids - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- self_
managed_ Windowsactive_ directory File System Self Managed Active Directory Args - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - skip_
final_ boolbackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - storage_
capacity int - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - storage_
type str - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - subnet_
ids Sequence[str] - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - Mapping[str, str]
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - throughput_
capacity int Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- vpc_
id str - Identifier of the Virtual Private Cloud for the file system.
- weekly_
maintenance_ strstart_ time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
- active
Directory StringId - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with
self_managed_active_directory
. - aliases List<String>
- An array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see Working with DNS Aliases
- arn String
- Amazon Resource Name of the file system.
- audit
Log Property MapConfiguration - The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See
audit_log_configuration
Block for details. - automatic
Backup NumberRetention Days - The number of days to retain automatic backups. Minimum of
0
and maximum of90
. Defaults to7
. Set to0
to disable. - backup
Id String - The ID of the source backup to create the filesystem from.
- Boolean
- A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to
false
. - daily
Automatic StringBackup Start Time - The preferred time (in
HH:MM
format) to take daily automatic backups, in the UTC time zone. - deployment
Type String - Specifies the file system deployment type, valid values are
MULTI_AZ_1
,SINGLE_AZ_1
andSINGLE_AZ_2
. Default value isSINGLE_AZ_1
. - disk
Iops Property MapConfiguration - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See
disk_iops_configuration
Block for details. - dns
Name String - DNS name for the file system, e.g.,
fs-12345678.corp.example.com
(domain name matching the Active Directory domain name) - Map<String>
- A map of tags to apply to the file system's final backup.
- kms
Key StringId - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
- network
Interface List<String>Ids - Set of Elastic Network Interface identifiers from which the file system is accessible.
- owner
Id String - AWS account identifier that created the file system.
- preferred
File StringServer Ip - The IP address of the primary, or preferred, file server.
- preferred
Subnet StringId - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is
MULTI_AZ_1
. - remote
Administration StringEndpoint - For
MULTI_AZ_1
deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. ForSINGLE_AZ_1
deployment types, this is the DNS name of the file system. - security
Group List<String>Ids - A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.
- self
Managed Property MapActive Directory - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with
active_directory_id
. Seeself_managed_active_directory
Block for details. - skip
Final BooleanBackup - When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to
false
. - storage
Capacity Number - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to
HDD
the minimum value is 2000. Required when not creating filesystem for a backup. - storage
Type String - Specifies the storage type, Valid values are
SSD
andHDD
.HDD
is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types. Default value isSSD
. - subnet
Ids List<String> - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set
deployment_type
toMULTI_AZ_1
. - Map<String>
- A map of tags to assign to the file system. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - throughput
Capacity Number Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of
8
and maximum of2048
.The following arguments are optional:
- vpc
Id String - Identifier of the Virtual Private Cloud for the file system.
- weekly
Maintenance StringStart Time - The preferred start time (in
d:HH:MM
format) to perform weekly maintenance, in the UTC time zone.
Supporting Types
WindowsFileSystemAuditLogConfiguration, WindowsFileSystemAuditLogConfigurationArgs
- Audit
Log stringDestination - The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN. Can be specified when
file_access_audit_log_level
andfile_share_access_audit_log_level
are not set toDISABLED
. The name of the Amazon CloudWatch Logs log group must begin with the/aws/fsx
prefix. The name of the Amazon Kinesis Data Firehouse delivery stream must begin with theaws-fsx
prefix. If you do not provide a destination inaudit_log_destionation
, Amazon FSx will create and use a log stream in the CloudWatch Logs /aws/fsx/windows log group. - File
Access stringAudit Log Level - Sets which attempt type is logged by Amazon FSx for file and folder accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
. - string
- Sets which attempt type is logged by Amazon FSx for file share accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
.
- Audit
Log stringDestination - The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN. Can be specified when
file_access_audit_log_level
andfile_share_access_audit_log_level
are not set toDISABLED
. The name of the Amazon CloudWatch Logs log group must begin with the/aws/fsx
prefix. The name of the Amazon Kinesis Data Firehouse delivery stream must begin with theaws-fsx
prefix. If you do not provide a destination inaudit_log_destionation
, Amazon FSx will create and use a log stream in the CloudWatch Logs /aws/fsx/windows log group. - File
Access stringAudit Log Level - Sets which attempt type is logged by Amazon FSx for file and folder accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
. - string
- Sets which attempt type is logged by Amazon FSx for file share accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
.
- audit
Log StringDestination - The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN. Can be specified when
file_access_audit_log_level
andfile_share_access_audit_log_level
are not set toDISABLED
. The name of the Amazon CloudWatch Logs log group must begin with the/aws/fsx
prefix. The name of the Amazon Kinesis Data Firehouse delivery stream must begin with theaws-fsx
prefix. If you do not provide a destination inaudit_log_destionation
, Amazon FSx will create and use a log stream in the CloudWatch Logs /aws/fsx/windows log group. - file
Access StringAudit Log Level - Sets which attempt type is logged by Amazon FSx for file and folder accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
. - String
- Sets which attempt type is logged by Amazon FSx for file share accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
.
- audit
Log stringDestination - The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN. Can be specified when
file_access_audit_log_level
andfile_share_access_audit_log_level
are not set toDISABLED
. The name of the Amazon CloudWatch Logs log group must begin with the/aws/fsx
prefix. The name of the Amazon Kinesis Data Firehouse delivery stream must begin with theaws-fsx
prefix. If you do not provide a destination inaudit_log_destionation
, Amazon FSx will create and use a log stream in the CloudWatch Logs /aws/fsx/windows log group. - file
Access stringAudit Log Level - Sets which attempt type is logged by Amazon FSx for file and folder accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
. - string
- Sets which attempt type is logged by Amazon FSx for file share accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
.
- audit_
log_ strdestination - The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN. Can be specified when
file_access_audit_log_level
andfile_share_access_audit_log_level
are not set toDISABLED
. The name of the Amazon CloudWatch Logs log group must begin with the/aws/fsx
prefix. The name of the Amazon Kinesis Data Firehouse delivery stream must begin with theaws-fsx
prefix. If you do not provide a destination inaudit_log_destionation
, Amazon FSx will create and use a log stream in the CloudWatch Logs /aws/fsx/windows log group. - file_
access_ straudit_ log_ level - Sets which attempt type is logged by Amazon FSx for file and folder accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
. - str
- Sets which attempt type is logged by Amazon FSx for file share accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
.
- audit
Log StringDestination - The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN. Can be specified when
file_access_audit_log_level
andfile_share_access_audit_log_level
are not set toDISABLED
. The name of the Amazon CloudWatch Logs log group must begin with the/aws/fsx
prefix. The name of the Amazon Kinesis Data Firehouse delivery stream must begin with theaws-fsx
prefix. If you do not provide a destination inaudit_log_destionation
, Amazon FSx will create and use a log stream in the CloudWatch Logs /aws/fsx/windows log group. - file
Access StringAudit Log Level - Sets which attempt type is logged by Amazon FSx for file and folder accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
. - String
- Sets which attempt type is logged by Amazon FSx for file share accesses. Valid values are
SUCCESS_ONLY
,FAILURE_ONLY
,SUCCESS_AND_FAILURE
, andDISABLED
. Default value isDISABLED
.
WindowsFileSystemDiskIopsConfiguration, WindowsFileSystemDiskIopsConfigurationArgs
WindowsFileSystemSelfManagedActiveDirectory, WindowsFileSystemSelfManagedActiveDirectoryArgs
- Dns
Ips List<string> - A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory. The IP addresses need to be either in the same VPC CIDR range as the file system or in the private IP version 4 (IPv4) address ranges as specified in RFC 1918.
- Domain
Name string - The fully qualified domain name of the self-managed AD directory. For example,
corp.example.com
. - Password string
- The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- Username string
- The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- File
System stringAdministrators Group - The name of the domain group whose members are granted administrative privileges for the file system. Administrative privileges include taking ownership of files and folders, and setting audit controls (audit ACLs) on files and folders. The group that you specify must already exist in your domain. Defaults to
Domain Admins
. - Organizational
Unit stringDistinguished Name - The fully qualified distinguished name of the organizational unit within your self-managed AD directory that the Windows File Server instance will join. For example,
OU=FSx,DC=yourdomain,DC=corp,DC=com
. Only accepts OU as the direct parent of the file system. If none is provided, the FSx file system is created in the default location of your self-managed AD directory. To learn more, see RFC 2253.
- Dns
Ips []string - A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory. The IP addresses need to be either in the same VPC CIDR range as the file system or in the private IP version 4 (IPv4) address ranges as specified in RFC 1918.
- Domain
Name string - The fully qualified domain name of the self-managed AD directory. For example,
corp.example.com
. - Password string
- The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- Username string
- The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- File
System stringAdministrators Group - The name of the domain group whose members are granted administrative privileges for the file system. Administrative privileges include taking ownership of files and folders, and setting audit controls (audit ACLs) on files and folders. The group that you specify must already exist in your domain. Defaults to
Domain Admins
. - Organizational
Unit stringDistinguished Name - The fully qualified distinguished name of the organizational unit within your self-managed AD directory that the Windows File Server instance will join. For example,
OU=FSx,DC=yourdomain,DC=corp,DC=com
. Only accepts OU as the direct parent of the file system. If none is provided, the FSx file system is created in the default location of your self-managed AD directory. To learn more, see RFC 2253.
- dns
Ips List<String> - A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory. The IP addresses need to be either in the same VPC CIDR range as the file system or in the private IP version 4 (IPv4) address ranges as specified in RFC 1918.
- domain
Name String - The fully qualified domain name of the self-managed AD directory. For example,
corp.example.com
. - password String
- The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- username String
- The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- file
System StringAdministrators Group - The name of the domain group whose members are granted administrative privileges for the file system. Administrative privileges include taking ownership of files and folders, and setting audit controls (audit ACLs) on files and folders. The group that you specify must already exist in your domain. Defaults to
Domain Admins
. - organizational
Unit StringDistinguished Name - The fully qualified distinguished name of the organizational unit within your self-managed AD directory that the Windows File Server instance will join. For example,
OU=FSx,DC=yourdomain,DC=corp,DC=com
. Only accepts OU as the direct parent of the file system. If none is provided, the FSx file system is created in the default location of your self-managed AD directory. To learn more, see RFC 2253.
- dns
Ips string[] - A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory. The IP addresses need to be either in the same VPC CIDR range as the file system or in the private IP version 4 (IPv4) address ranges as specified in RFC 1918.
- domain
Name string - The fully qualified domain name of the self-managed AD directory. For example,
corp.example.com
. - password string
- The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- username string
- The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- file
System stringAdministrators Group - The name of the domain group whose members are granted administrative privileges for the file system. Administrative privileges include taking ownership of files and folders, and setting audit controls (audit ACLs) on files and folders. The group that you specify must already exist in your domain. Defaults to
Domain Admins
. - organizational
Unit stringDistinguished Name - The fully qualified distinguished name of the organizational unit within your self-managed AD directory that the Windows File Server instance will join. For example,
OU=FSx,DC=yourdomain,DC=corp,DC=com
. Only accepts OU as the direct parent of the file system. If none is provided, the FSx file system is created in the default location of your self-managed AD directory. To learn more, see RFC 2253.
- dns_
ips Sequence[str] - A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory. The IP addresses need to be either in the same VPC CIDR range as the file system or in the private IP version 4 (IPv4) address ranges as specified in RFC 1918.
- domain_
name str - The fully qualified domain name of the self-managed AD directory. For example,
corp.example.com
. - password str
- The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- username str
- The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- file_
system_ stradministrators_ group - The name of the domain group whose members are granted administrative privileges for the file system. Administrative privileges include taking ownership of files and folders, and setting audit controls (audit ACLs) on files and folders. The group that you specify must already exist in your domain. Defaults to
Domain Admins
. - organizational_
unit_ strdistinguished_ name - The fully qualified distinguished name of the organizational unit within your self-managed AD directory that the Windows File Server instance will join. For example,
OU=FSx,DC=yourdomain,DC=corp,DC=com
. Only accepts OU as the direct parent of the file system. If none is provided, the FSx file system is created in the default location of your self-managed AD directory. To learn more, see RFC 2253.
- dns
Ips List<String> - A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory. The IP addresses need to be either in the same VPC CIDR range as the file system or in the private IP version 4 (IPv4) address ranges as specified in RFC 1918.
- domain
Name String - The fully qualified domain name of the self-managed AD directory. For example,
corp.example.com
. - password String
- The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- username String
- The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
- file
System StringAdministrators Group - The name of the domain group whose members are granted administrative privileges for the file system. Administrative privileges include taking ownership of files and folders, and setting audit controls (audit ACLs) on files and folders. The group that you specify must already exist in your domain. Defaults to
Domain Admins
. - organizational
Unit StringDistinguished Name - The fully qualified distinguished name of the organizational unit within your self-managed AD directory that the Windows File Server instance will join. For example,
OU=FSx,DC=yourdomain,DC=corp,DC=com
. Only accepts OU as the direct parent of the file system. If none is provided, the FSx file system is created in the default location of your self-managed AD directory. To learn more, see RFC 2253.
Import
Using pulumi import
, import FSx File Systems using the id
. For example:
$ pulumi import aws:fsx/windowsFileSystem:WindowsFileSystem example fs-543ab12b1ca672f33
Certain resource arguments, like security_group_ids
and the self_managed_active_directory
configuation block password
, do not have a FSx API method for reading the information after creation. If these arguments are set in the Pulumi program on an imported resource, Pulumi will always show a difference. To workaround this behavior, either omit the argument from the Pulumi program or use ignore_changes
to hide the difference. For example:
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.