Namespace Pulumi.Aws.Fsx
Classes
LustreFileSystem
Manages a FSx Lustre File System. See the FSx Lustre Guide for more information.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Fsx.LustreFileSystem("example", new Aws.Fsx.LustreFileSystemArgs
{
ImportPath = $"s3://{aws_s3_bucket.Example.Bucket}",
StorageCapacity = 1200,
SubnetIds = aws_subnet.Example.Id,
});
}
}
LustreFileSystemArgs
LustreFileSystemState
WindowsFileSystem
Manages a FSx Windows File System. See the FSx Windows Guide for more information.
NOTE: Either the
active_directory_idargument orself_managed_active_directoryconfiguration block must be specified.
Example Usage
Using AWS Directory Service
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Fsx.WindowsFileSystem("example", new Aws.Fsx.WindowsFileSystemArgs
{
ActiveDirectoryId = aws_directory_service_directory.Example.Id,
KmsKeyId = aws_kms_key.Example.Arn,
StorageCapacity = 300,
SubnetIds = aws_subnet.Example.Id,
ThroughputCapacity = 1024,
});
}
}
Using a Self-Managed Microsoft Active Directory
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Fsx.WindowsFileSystem("example", new Aws.Fsx.WindowsFileSystemArgs
{
KmsKeyId = aws_kms_key.Example.Arn,
SelfManagedActiveDirectory = new Aws.Fsx.Inputs.WindowsFileSystemSelfManagedActiveDirectoryArgs
{
DnsIps =
{
"10.0.0.111",
"10.0.0.222",
},
DomainName = "corp.example.com",
Password = "avoid-plaintext-passwords",
Username = "Admin",
},
StorageCapacity = 300,
SubnetIds = aws_subnet.Example.Id,
ThroughputCapacity = 1024,
});
}
}