Documentation ¶
Index ¶
- type LustreFileSystem
- func (*LustreFileSystem) ElementType() reflect.Type
- func (i *LustreFileSystem) ToLustreFileSystemOutput() LustreFileSystemOutput
- func (i *LustreFileSystem) ToLustreFileSystemOutputWithContext(ctx context.Context) LustreFileSystemOutput
- func (i *LustreFileSystem) ToLustreFileSystemPtrOutput() LustreFileSystemPtrOutput
- func (i *LustreFileSystem) ToLustreFileSystemPtrOutputWithContext(ctx context.Context) LustreFileSystemPtrOutput
- type LustreFileSystemArgs
- type LustreFileSystemArray
- type LustreFileSystemArrayInput
- type LustreFileSystemArrayOutput
- func (LustreFileSystemArrayOutput) ElementType() reflect.Type
- func (o LustreFileSystemArrayOutput) Index(i pulumi.IntInput) LustreFileSystemOutput
- func (o LustreFileSystemArrayOutput) ToLustreFileSystemArrayOutput() LustreFileSystemArrayOutput
- func (o LustreFileSystemArrayOutput) ToLustreFileSystemArrayOutputWithContext(ctx context.Context) LustreFileSystemArrayOutput
- type LustreFileSystemInput
- type LustreFileSystemMap
- type LustreFileSystemMapInput
- type LustreFileSystemMapOutput
- func (LustreFileSystemMapOutput) ElementType() reflect.Type
- func (o LustreFileSystemMapOutput) MapIndex(k pulumi.StringInput) LustreFileSystemOutput
- func (o LustreFileSystemMapOutput) ToLustreFileSystemMapOutput() LustreFileSystemMapOutput
- func (o LustreFileSystemMapOutput) ToLustreFileSystemMapOutputWithContext(ctx context.Context) LustreFileSystemMapOutput
- type LustreFileSystemOutput
- func (LustreFileSystemOutput) ElementType() reflect.Type
- func (o LustreFileSystemOutput) ToLustreFileSystemOutput() LustreFileSystemOutput
- func (o LustreFileSystemOutput) ToLustreFileSystemOutputWithContext(ctx context.Context) LustreFileSystemOutput
- func (o LustreFileSystemOutput) ToLustreFileSystemPtrOutput() LustreFileSystemPtrOutput
- func (o LustreFileSystemOutput) ToLustreFileSystemPtrOutputWithContext(ctx context.Context) LustreFileSystemPtrOutput
- type LustreFileSystemPtrInput
- type LustreFileSystemPtrOutput
- type LustreFileSystemState
- type WindowsFileSystem
- func (*WindowsFileSystem) ElementType() reflect.Type
- func (i *WindowsFileSystem) ToWindowsFileSystemOutput() WindowsFileSystemOutput
- func (i *WindowsFileSystem) ToWindowsFileSystemOutputWithContext(ctx context.Context) WindowsFileSystemOutput
- func (i *WindowsFileSystem) ToWindowsFileSystemPtrOutput() WindowsFileSystemPtrOutput
- func (i *WindowsFileSystem) ToWindowsFileSystemPtrOutputWithContext(ctx context.Context) WindowsFileSystemPtrOutput
- type WindowsFileSystemArgs
- type WindowsFileSystemArray
- type WindowsFileSystemArrayInput
- type WindowsFileSystemArrayOutput
- func (WindowsFileSystemArrayOutput) ElementType() reflect.Type
- func (o WindowsFileSystemArrayOutput) Index(i pulumi.IntInput) WindowsFileSystemOutput
- func (o WindowsFileSystemArrayOutput) ToWindowsFileSystemArrayOutput() WindowsFileSystemArrayOutput
- func (o WindowsFileSystemArrayOutput) ToWindowsFileSystemArrayOutputWithContext(ctx context.Context) WindowsFileSystemArrayOutput
- type WindowsFileSystemInput
- type WindowsFileSystemMap
- type WindowsFileSystemMapInput
- type WindowsFileSystemMapOutput
- func (WindowsFileSystemMapOutput) ElementType() reflect.Type
- func (o WindowsFileSystemMapOutput) MapIndex(k pulumi.StringInput) WindowsFileSystemOutput
- func (o WindowsFileSystemMapOutput) ToWindowsFileSystemMapOutput() WindowsFileSystemMapOutput
- func (o WindowsFileSystemMapOutput) ToWindowsFileSystemMapOutputWithContext(ctx context.Context) WindowsFileSystemMapOutput
- type WindowsFileSystemOutput
- func (WindowsFileSystemOutput) ElementType() reflect.Type
- func (o WindowsFileSystemOutput) ToWindowsFileSystemOutput() WindowsFileSystemOutput
- func (o WindowsFileSystemOutput) ToWindowsFileSystemOutputWithContext(ctx context.Context) WindowsFileSystemOutput
- func (o WindowsFileSystemOutput) ToWindowsFileSystemPtrOutput() WindowsFileSystemPtrOutput
- func (o WindowsFileSystemOutput) ToWindowsFileSystemPtrOutputWithContext(ctx context.Context) WindowsFileSystemPtrOutput
- type WindowsFileSystemPtrInput
- type WindowsFileSystemPtrOutput
- type WindowsFileSystemSelfManagedActiveDirectory
- type WindowsFileSystemSelfManagedActiveDirectoryArgs
- func (WindowsFileSystemSelfManagedActiveDirectoryArgs) ElementType() reflect.Type
- func (i WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryOutput() WindowsFileSystemSelfManagedActiveDirectoryOutput
- func (i WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryOutputWithContext(ctx context.Context) WindowsFileSystemSelfManagedActiveDirectoryOutput
- func (i WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutput() WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
- func (i WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutputWithContext(ctx context.Context) WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
- type WindowsFileSystemSelfManagedActiveDirectoryInput
- type WindowsFileSystemSelfManagedActiveDirectoryOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) DnsIps() pulumi.StringArrayOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) DomainName() pulumi.StringOutput
- func (WindowsFileSystemSelfManagedActiveDirectoryOutput) ElementType() reflect.Type
- func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) FileSystemAdministratorsGroup() pulumi.StringPtrOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) OrganizationalUnitDistinguishedName() pulumi.StringPtrOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) Password() pulumi.StringOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryOutput() WindowsFileSystemSelfManagedActiveDirectoryOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryOutputWithContext(ctx context.Context) WindowsFileSystemSelfManagedActiveDirectoryOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutput() WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutputWithContext(ctx context.Context) WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) Username() pulumi.StringOutput
- type WindowsFileSystemSelfManagedActiveDirectoryPtrInput
- type WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) DnsIps() pulumi.StringArrayOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) DomainName() pulumi.StringPtrOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) Elem() WindowsFileSystemSelfManagedActiveDirectoryOutput
- func (WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) ElementType() reflect.Type
- func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) FileSystemAdministratorsGroup() pulumi.StringPtrOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) OrganizationalUnitDistinguishedName() pulumi.StringPtrOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) Password() pulumi.StringPtrOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutput() WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutputWithContext(ctx context.Context) WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
- func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) Username() pulumi.StringPtrOutput
- type WindowsFileSystemState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LustreFileSystem ¶
type LustreFileSystem struct { pulumi.CustomResourceState // Amazon Resource Name of the file system. Arn pulumi.StringOutput `pulumi:"arn"` // How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see [Auto Import Data Repo](https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html) for more details. AutoImportPolicy pulumi.StringOutput `pulumi:"autoImportPolicy"` // The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for `PERSISTENT_1` deployment_type. AutomaticBackupRetentionDays pulumi.IntOutput `pulumi:"automaticBackupRetentionDays"` // A boolean flag indicating whether tags for the file system should be copied to backups. Applicable for `PERSISTENT_1` deployment_type. The default value is false. CopyTagsToBackups pulumi.BoolPtrOutput `pulumi:"copyTagsToBackups"` // A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for `PERSISTENT_1` deployment_type. Requires `automaticBackupRetentionDays` to be set. DailyAutomaticBackupStartTime pulumi.StringOutput `pulumi:"dailyAutomaticBackupStartTime"` // - The filesystem deployment type. One of: `SCRATCH_1`, `SCRATCH_2`, `PERSISTENT_1`. `SCRATCH_1` deployment types cannot have `storageCapacity` increased. DeploymentType pulumi.StringPtrOutput `pulumi:"deploymentType"` // DNS name for the file system, e.g. `fs-12345678.fsx.us-west-2.amazonaws.com` DnsName pulumi.StringOutput `pulumi:"dnsName"` // - The type of drive cache used by `PERSISTENT_1` filesystems that are provisioned with `HDD` storage_type. Required for `HDD` storage_type, set to either `READ` or `NONE`. DriveCacheType pulumi.StringPtrOutput `pulumi:"driveCacheType"` // S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with `importPath` argument and the path must use the same Amazon S3 bucket as specified in `importPath`. Set equal to `importPath` to overwrite files on export. Defaults to `s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}`. ExportPath pulumi.StringOutput `pulumi:"exportPath"` // S3 URI (with optional prefix) that you're using as the data repository for your FSx for Lustre file system. For example, `s3://example-bucket/optional-prefix/`. ImportPath pulumi.StringPtrOutput `pulumi:"importPath"` // For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with `importPath` argument. Defaults to `1024`. Minimum of `1` and maximum of `512000`. ImportedFileChunkSize pulumi.IntOutput `pulumi:"importedFileChunkSize"` // ARN for the KMS Key to encrypt the file system at rest, applicable for `PERSISTENT_1` deployment_type. Defaults to an AWS managed KMS Key. KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"` // The value to be used when mounting the filesystem. MountName pulumi.StringOutput `pulumi:"mountName"` // Set of Elastic Network Interface identifiers from which the file system is accessible. As explained in the [documentation](https://docs.aws.amazon.com/fsx/latest/LustreGuide/mounting-on-premises.html), the first network interface returned is the primary network interface. NetworkInterfaceIds pulumi.StringArrayOutput `pulumi:"networkInterfaceIds"` // AWS account identifier that created the file system. OwnerId pulumi.StringOutput `pulumi:"ownerId"` // - Describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the `PERSISTENT_1` deployment_type. Valid values for `SSD` storageType are 50, 100, 200. Valid values for `HDD` storageType are 12, 40. PerUnitStorageThroughput pulumi.IntPtrOutput `pulumi:"perUnitStorageThroughput"` // 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. SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` // The storage capacity (GiB) of the file system. Minimum of `1200`. Storage capacity is provisioned in increments of 3,600 GiB. StorageCapacity pulumi.IntOutput `pulumi:"storageCapacity"` // - The filesystem storage type. Either `SSD` or `HDD`, defaults to `SSD`. `HDD` is only supported on `PERSISTENT_1` deployment types. StorageType pulumi.StringPtrOutput `pulumi:"storageType"` // A list of IDs for the subnets that the file system will be accessible from. File systems currently support only one subnet. The file server is also launched in that subnet's Availability Zone. SubnetIds pulumi.StringOutput `pulumi:"subnetIds"` // A map of tags to assign to the file system. Tags pulumi.StringMapOutput `pulumi:"tags"` // Identifier of the Virtual Private Cloud for the file system. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The preferred start time (in `d:HH:MM` format) to perform weekly maintenance, in the UTC time zone. WeeklyMaintenanceStartTime pulumi.StringOutput `pulumi:"weeklyMaintenanceStartTime"` }
Manages a FSx Lustre File System. See the [FSx Lustre Guide](https://docs.aws.amazon.com/fsx/latest/LustreGuide/what-is.html) for more information.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/fsx" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fsx.NewLustreFileSystem(ctx, "example", &fsx.LustreFileSystemArgs{ ImportPath: pulumi.String(fmt.Sprintf("%v%v", "s3://", aws_s3_bucket.Example.Bucket)), StorageCapacity: pulumi.Int(1200), SubnetIds: pulumi.String(pulumi.String{ pulumi.Any(aws_subnet.Example.Id), }), }) if err != nil { return err } return nil }) }
```
## Import
FSx File Systems can be imported using the `id`, e.g.
```sh
$ pulumi import aws:fsx/lustreFileSystem:LustreFileSystem example fs-543ab12b1ca672f33
```
Certain resource arguments, like `security_group_ids`, do not have a FSx API method for reading the information after creation. If the argument is set in the provider configuration on an imported resource, this provider will always show a difference. To workaround this behavior, either omit the argument from the provider configuration or use [`ignoreChanges`](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) to hide the difference, e.g. terraform resource "aws_fsx_lustre_file_system" "example" {
... other configuration ... ¶
security_group_ids = [aws_security_group.example.id]
There is no FSx API for reading security_group_ids ¶
lifecycle { ignore_changes = [security_group_ids] } }
func GetLustreFileSystem ¶
func GetLustreFileSystem(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LustreFileSystemState, opts ...pulumi.ResourceOption) (*LustreFileSystem, error)
GetLustreFileSystem gets an existing LustreFileSystem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLustreFileSystem ¶
func NewLustreFileSystem(ctx *pulumi.Context, name string, args *LustreFileSystemArgs, opts ...pulumi.ResourceOption) (*LustreFileSystem, error)
NewLustreFileSystem registers a new resource with the given unique name, arguments, and options.
func (*LustreFileSystem) ElementType ¶ added in v3.13.0
func (*LustreFileSystem) ElementType() reflect.Type
func (*LustreFileSystem) ToLustreFileSystemOutput ¶ added in v3.13.0
func (i *LustreFileSystem) ToLustreFileSystemOutput() LustreFileSystemOutput
func (*LustreFileSystem) ToLustreFileSystemOutputWithContext ¶ added in v3.13.0
func (i *LustreFileSystem) ToLustreFileSystemOutputWithContext(ctx context.Context) LustreFileSystemOutput
func (*LustreFileSystem) ToLustreFileSystemPtrOutput ¶ added in v3.25.0
func (i *LustreFileSystem) ToLustreFileSystemPtrOutput() LustreFileSystemPtrOutput
func (*LustreFileSystem) ToLustreFileSystemPtrOutputWithContext ¶ added in v3.25.0
func (i *LustreFileSystem) ToLustreFileSystemPtrOutputWithContext(ctx context.Context) LustreFileSystemPtrOutput
type LustreFileSystemArgs ¶
type LustreFileSystemArgs struct { // How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see [Auto Import Data Repo](https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html) for more details. AutoImportPolicy pulumi.StringPtrInput // The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for `PERSISTENT_1` deployment_type. AutomaticBackupRetentionDays pulumi.IntPtrInput // A boolean flag indicating whether tags for the file system should be copied to backups. Applicable for `PERSISTENT_1` deployment_type. The default value is false. CopyTagsToBackups pulumi.BoolPtrInput // A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for `PERSISTENT_1` deployment_type. Requires `automaticBackupRetentionDays` to be set. DailyAutomaticBackupStartTime pulumi.StringPtrInput // - The filesystem deployment type. One of: `SCRATCH_1`, `SCRATCH_2`, `PERSISTENT_1`. `SCRATCH_1` deployment types cannot have `storageCapacity` increased. DeploymentType pulumi.StringPtrInput // - The type of drive cache used by `PERSISTENT_1` filesystems that are provisioned with `HDD` storage_type. Required for `HDD` storage_type, set to either `READ` or `NONE`. DriveCacheType pulumi.StringPtrInput // S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with `importPath` argument and the path must use the same Amazon S3 bucket as specified in `importPath`. Set equal to `importPath` to overwrite files on export. Defaults to `s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}`. ExportPath pulumi.StringPtrInput // S3 URI (with optional prefix) that you're using as the data repository for your FSx for Lustre file system. For example, `s3://example-bucket/optional-prefix/`. ImportPath pulumi.StringPtrInput // For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with `importPath` argument. Defaults to `1024`. Minimum of `1` and maximum of `512000`. ImportedFileChunkSize pulumi.IntPtrInput // ARN for the KMS Key to encrypt the file system at rest, applicable for `PERSISTENT_1` deployment_type. Defaults to an AWS managed KMS Key. KmsKeyId pulumi.StringPtrInput // - Describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the `PERSISTENT_1` deployment_type. Valid values for `SSD` storageType are 50, 100, 200. Valid values for `HDD` storageType are 12, 40. PerUnitStorageThroughput pulumi.IntPtrInput // 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. SecurityGroupIds pulumi.StringArrayInput // The storage capacity (GiB) of the file system. Minimum of `1200`. Storage capacity is provisioned in increments of 3,600 GiB. StorageCapacity pulumi.IntInput // - The filesystem storage type. Either `SSD` or `HDD`, defaults to `SSD`. `HDD` is only supported on `PERSISTENT_1` deployment types. StorageType pulumi.StringPtrInput // A list of IDs for the subnets that the file system will be accessible from. File systems currently support only one subnet. The file server is also launched in that subnet's Availability Zone. SubnetIds pulumi.StringInput // A map of tags to assign to the file system. Tags pulumi.StringMapInput // The preferred start time (in `d:HH:MM` format) to perform weekly maintenance, in the UTC time zone. WeeklyMaintenanceStartTime pulumi.StringPtrInput }
The set of arguments for constructing a LustreFileSystem resource.
func (LustreFileSystemArgs) ElementType ¶
func (LustreFileSystemArgs) ElementType() reflect.Type
type LustreFileSystemArray ¶ added in v3.25.0
type LustreFileSystemArray []LustreFileSystemInput
func (LustreFileSystemArray) ElementType ¶ added in v3.25.0
func (LustreFileSystemArray) ElementType() reflect.Type
func (LustreFileSystemArray) ToLustreFileSystemArrayOutput ¶ added in v3.25.0
func (i LustreFileSystemArray) ToLustreFileSystemArrayOutput() LustreFileSystemArrayOutput
func (LustreFileSystemArray) ToLustreFileSystemArrayOutputWithContext ¶ added in v3.25.0
func (i LustreFileSystemArray) ToLustreFileSystemArrayOutputWithContext(ctx context.Context) LustreFileSystemArrayOutput
type LustreFileSystemArrayInput ¶ added in v3.25.0
type LustreFileSystemArrayInput interface { pulumi.Input ToLustreFileSystemArrayOutput() LustreFileSystemArrayOutput ToLustreFileSystemArrayOutputWithContext(context.Context) LustreFileSystemArrayOutput }
LustreFileSystemArrayInput is an input type that accepts LustreFileSystemArray and LustreFileSystemArrayOutput values. You can construct a concrete instance of `LustreFileSystemArrayInput` via:
LustreFileSystemArray{ LustreFileSystemArgs{...} }
type LustreFileSystemArrayOutput ¶ added in v3.25.0
type LustreFileSystemArrayOutput struct{ *pulumi.OutputState }
func (LustreFileSystemArrayOutput) ElementType ¶ added in v3.25.0
func (LustreFileSystemArrayOutput) ElementType() reflect.Type
func (LustreFileSystemArrayOutput) Index ¶ added in v3.25.0
func (o LustreFileSystemArrayOutput) Index(i pulumi.IntInput) LustreFileSystemOutput
func (LustreFileSystemArrayOutput) ToLustreFileSystemArrayOutput ¶ added in v3.25.0
func (o LustreFileSystemArrayOutput) ToLustreFileSystemArrayOutput() LustreFileSystemArrayOutput
func (LustreFileSystemArrayOutput) ToLustreFileSystemArrayOutputWithContext ¶ added in v3.25.0
func (o LustreFileSystemArrayOutput) ToLustreFileSystemArrayOutputWithContext(ctx context.Context) LustreFileSystemArrayOutput
type LustreFileSystemInput ¶ added in v3.13.0
type LustreFileSystemInput interface { pulumi.Input ToLustreFileSystemOutput() LustreFileSystemOutput ToLustreFileSystemOutputWithContext(ctx context.Context) LustreFileSystemOutput }
type LustreFileSystemMap ¶ added in v3.25.0
type LustreFileSystemMap map[string]LustreFileSystemInput
func (LustreFileSystemMap) ElementType ¶ added in v3.25.0
func (LustreFileSystemMap) ElementType() reflect.Type
func (LustreFileSystemMap) ToLustreFileSystemMapOutput ¶ added in v3.25.0
func (i LustreFileSystemMap) ToLustreFileSystemMapOutput() LustreFileSystemMapOutput
func (LustreFileSystemMap) ToLustreFileSystemMapOutputWithContext ¶ added in v3.25.0
func (i LustreFileSystemMap) ToLustreFileSystemMapOutputWithContext(ctx context.Context) LustreFileSystemMapOutput
type LustreFileSystemMapInput ¶ added in v3.25.0
type LustreFileSystemMapInput interface { pulumi.Input ToLustreFileSystemMapOutput() LustreFileSystemMapOutput ToLustreFileSystemMapOutputWithContext(context.Context) LustreFileSystemMapOutput }
LustreFileSystemMapInput is an input type that accepts LustreFileSystemMap and LustreFileSystemMapOutput values. You can construct a concrete instance of `LustreFileSystemMapInput` via:
LustreFileSystemMap{ "key": LustreFileSystemArgs{...} }
type LustreFileSystemMapOutput ¶ added in v3.25.0
type LustreFileSystemMapOutput struct{ *pulumi.OutputState }
func (LustreFileSystemMapOutput) ElementType ¶ added in v3.25.0
func (LustreFileSystemMapOutput) ElementType() reflect.Type
func (LustreFileSystemMapOutput) MapIndex ¶ added in v3.25.0
func (o LustreFileSystemMapOutput) MapIndex(k pulumi.StringInput) LustreFileSystemOutput
func (LustreFileSystemMapOutput) ToLustreFileSystemMapOutput ¶ added in v3.25.0
func (o LustreFileSystemMapOutput) ToLustreFileSystemMapOutput() LustreFileSystemMapOutput
func (LustreFileSystemMapOutput) ToLustreFileSystemMapOutputWithContext ¶ added in v3.25.0
func (o LustreFileSystemMapOutput) ToLustreFileSystemMapOutputWithContext(ctx context.Context) LustreFileSystemMapOutput
type LustreFileSystemOutput ¶ added in v3.13.0
type LustreFileSystemOutput struct {
*pulumi.OutputState
}
func (LustreFileSystemOutput) ElementType ¶ added in v3.13.0
func (LustreFileSystemOutput) ElementType() reflect.Type
func (LustreFileSystemOutput) ToLustreFileSystemOutput ¶ added in v3.13.0
func (o LustreFileSystemOutput) ToLustreFileSystemOutput() LustreFileSystemOutput
func (LustreFileSystemOutput) ToLustreFileSystemOutputWithContext ¶ added in v3.13.0
func (o LustreFileSystemOutput) ToLustreFileSystemOutputWithContext(ctx context.Context) LustreFileSystemOutput
func (LustreFileSystemOutput) ToLustreFileSystemPtrOutput ¶ added in v3.25.0
func (o LustreFileSystemOutput) ToLustreFileSystemPtrOutput() LustreFileSystemPtrOutput
func (LustreFileSystemOutput) ToLustreFileSystemPtrOutputWithContext ¶ added in v3.25.0
func (o LustreFileSystemOutput) ToLustreFileSystemPtrOutputWithContext(ctx context.Context) LustreFileSystemPtrOutput
type LustreFileSystemPtrInput ¶ added in v3.25.0
type LustreFileSystemPtrInput interface { pulumi.Input ToLustreFileSystemPtrOutput() LustreFileSystemPtrOutput ToLustreFileSystemPtrOutputWithContext(ctx context.Context) LustreFileSystemPtrOutput }
type LustreFileSystemPtrOutput ¶ added in v3.25.0
type LustreFileSystemPtrOutput struct {
*pulumi.OutputState
}
func (LustreFileSystemPtrOutput) ElementType ¶ added in v3.25.0
func (LustreFileSystemPtrOutput) ElementType() reflect.Type
func (LustreFileSystemPtrOutput) ToLustreFileSystemPtrOutput ¶ added in v3.25.0
func (o LustreFileSystemPtrOutput) ToLustreFileSystemPtrOutput() LustreFileSystemPtrOutput
func (LustreFileSystemPtrOutput) ToLustreFileSystemPtrOutputWithContext ¶ added in v3.25.0
func (o LustreFileSystemPtrOutput) ToLustreFileSystemPtrOutputWithContext(ctx context.Context) LustreFileSystemPtrOutput
type LustreFileSystemState ¶
type LustreFileSystemState struct { // Amazon Resource Name of the file system. Arn pulumi.StringPtrInput // How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see [Auto Import Data Repo](https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html) for more details. AutoImportPolicy pulumi.StringPtrInput // The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for `PERSISTENT_1` deployment_type. AutomaticBackupRetentionDays pulumi.IntPtrInput // A boolean flag indicating whether tags for the file system should be copied to backups. Applicable for `PERSISTENT_1` deployment_type. The default value is false. CopyTagsToBackups pulumi.BoolPtrInput // A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for `PERSISTENT_1` deployment_type. Requires `automaticBackupRetentionDays` to be set. DailyAutomaticBackupStartTime pulumi.StringPtrInput // - The filesystem deployment type. One of: `SCRATCH_1`, `SCRATCH_2`, `PERSISTENT_1`. `SCRATCH_1` deployment types cannot have `storageCapacity` increased. DeploymentType pulumi.StringPtrInput // DNS name for the file system, e.g. `fs-12345678.fsx.us-west-2.amazonaws.com` DnsName pulumi.StringPtrInput // - The type of drive cache used by `PERSISTENT_1` filesystems that are provisioned with `HDD` storage_type. Required for `HDD` storage_type, set to either `READ` or `NONE`. DriveCacheType pulumi.StringPtrInput // S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with `importPath` argument and the path must use the same Amazon S3 bucket as specified in `importPath`. Set equal to `importPath` to overwrite files on export. Defaults to `s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}`. ExportPath pulumi.StringPtrInput // S3 URI (with optional prefix) that you're using as the data repository for your FSx for Lustre file system. For example, `s3://example-bucket/optional-prefix/`. ImportPath pulumi.StringPtrInput // For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with `importPath` argument. Defaults to `1024`. Minimum of `1` and maximum of `512000`. ImportedFileChunkSize pulumi.IntPtrInput // ARN for the KMS Key to encrypt the file system at rest, applicable for `PERSISTENT_1` deployment_type. Defaults to an AWS managed KMS Key. KmsKeyId pulumi.StringPtrInput // The value to be used when mounting the filesystem. MountName pulumi.StringPtrInput // Set of Elastic Network Interface identifiers from which the file system is accessible. As explained in the [documentation](https://docs.aws.amazon.com/fsx/latest/LustreGuide/mounting-on-premises.html), the first network interface returned is the primary network interface. NetworkInterfaceIds pulumi.StringArrayInput // AWS account identifier that created the file system. OwnerId pulumi.StringPtrInput // - Describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the `PERSISTENT_1` deployment_type. Valid values for `SSD` storageType are 50, 100, 200. Valid values for `HDD` storageType are 12, 40. PerUnitStorageThroughput pulumi.IntPtrInput // 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. SecurityGroupIds pulumi.StringArrayInput // The storage capacity (GiB) of the file system. Minimum of `1200`. Storage capacity is provisioned in increments of 3,600 GiB. StorageCapacity pulumi.IntPtrInput // - The filesystem storage type. Either `SSD` or `HDD`, defaults to `SSD`. `HDD` is only supported on `PERSISTENT_1` deployment types. StorageType pulumi.StringPtrInput // A list of IDs for the subnets that the file system will be accessible from. File systems currently support only one subnet. The file server is also launched in that subnet's Availability Zone. SubnetIds pulumi.StringPtrInput // A map of tags to assign to the file system. Tags pulumi.StringMapInput // Identifier of the Virtual Private Cloud for the file system. VpcId pulumi.StringPtrInput // The preferred start time (in `d:HH:MM` format) to perform weekly maintenance, in the UTC time zone. WeeklyMaintenanceStartTime pulumi.StringPtrInput }
func (LustreFileSystemState) ElementType ¶
func (LustreFileSystemState) ElementType() reflect.Type
type WindowsFileSystem ¶
type WindowsFileSystem struct { pulumi.CustomResourceState // The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with `selfManagedActiveDirectory`. ActiveDirectoryId pulumi.StringPtrOutput `pulumi:"activeDirectoryId"` // Amazon Resource Name of the file system. Arn pulumi.StringOutput `pulumi:"arn"` // The number of days to retain automatic backups. Minimum of `0` and maximum of `90`. Defaults to `7`. Set to `0` to disable. AutomaticBackupRetentionDays pulumi.IntPtrOutput `pulumi:"automaticBackupRetentionDays"` // A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to `false`. CopyTagsToBackups pulumi.BoolPtrOutput `pulumi:"copyTagsToBackups"` // The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone. DailyAutomaticBackupStartTime pulumi.StringOutput `pulumi:"dailyAutomaticBackupStartTime"` // Specifies the file system deployment type, valid values are `MULTI_AZ_1`, `SINGLE_AZ_1` and `SINGLE_AZ_2`. Default value is `SINGLE_AZ_1`. DeploymentType pulumi.StringPtrOutput `pulumi:"deploymentType"` // DNS name for the file system, e.g. `fs-12345678.corp.example.com` (domain name matching the Active Directory domain name) DnsName pulumi.StringOutput `pulumi:"dnsName"` // ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key. KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"` // Set of Elastic Network Interface identifiers from which the file system is accessible. NetworkInterfaceIds pulumi.StringArrayOutput `pulumi:"networkInterfaceIds"` // AWS account identifier that created the file system. OwnerId pulumi.StringOutput `pulumi:"ownerId"` // The IP address of the primary, or preferred, file server. PreferredFileServerIp pulumi.StringOutput `pulumi:"preferredFileServerIp"` // Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is `MULTI_AZ_1`. PreferredSubnetId pulumi.StringOutput `pulumi:"preferredSubnetId"` // For `MULTI_AZ_1` deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. For `SINGLE_AZ_1` deployment types, this is the DNS name of the file system. RemoteAdministrationEndpoint pulumi.StringOutput `pulumi:"remoteAdministrationEndpoint"` // 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. SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` // 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 `activeDirectoryId`. Detailed below. SelfManagedActiveDirectory WindowsFileSystemSelfManagedActiveDirectoryPtrOutput `pulumi:"selfManagedActiveDirectory"` // 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`. SkipFinalBackup pulumi.BoolPtrOutput `pulumi:"skipFinalBackup"` // 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. StorageCapacity pulumi.IntOutput `pulumi:"storageCapacity"` // Specifies the storage type, Valid values are `SSD` and `HDD`. `HDD` is supported on `SINGLE_AZ_2` and `MULTI_AZ_1` Windows file system deployment types. Default value is `SSD`. StorageType pulumi.StringPtrOutput `pulumi:"storageType"` // A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set `deploymentType` to `MULTI_AZ_1`. SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"` // A map of tags to assign to the file system. Tags pulumi.StringMapOutput `pulumi:"tags"` // Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of `8` and maximum of `2048`. ThroughputCapacity pulumi.IntOutput `pulumi:"throughputCapacity"` // Identifier of the Virtual Private Cloud for the file system. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The preferred start time (in `d:HH:MM` format) to perform weekly maintenance, in the UTC time zone. WeeklyMaintenanceStartTime pulumi.StringOutput `pulumi:"weeklyMaintenanceStartTime"` }
Manages a FSx Windows File System. See the [FSx Windows Guide](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html) for more information.
> **NOTE:** Either the `activeDirectoryId` argument or `selfManagedActiveDirectory` 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](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/fsx-aws-managed-ad.html).
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/fsx" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fsx.NewWindowsFileSystem(ctx, "example", &fsx.WindowsFileSystemArgs{ ActiveDirectoryId: pulumi.Any(aws_directory_service_directory.Example.Id), KmsKeyId: pulumi.Any(aws_kms_key.Example.Arn), StorageCapacity: pulumi.Int(300), SubnetIds: pulumi.StringArray{ pulumi.Any(aws_subnet.Example.Id), }, ThroughputCapacity: pulumi.Int(1024), }) if err != nil { return err } return nil }) }
``` ### 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](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/self-managed-AD.html).
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/fsx" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fsx.NewWindowsFileSystem(ctx, "example", &fsx.WindowsFileSystemArgs{ KmsKeyId: pulumi.Any(aws_kms_key.Example.Arn), StorageCapacity: pulumi.Int(300), SubnetIds: pulumi.StringArray{ pulumi.Any(aws_subnet.Example.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 }) }
```
## Import
FSx File Systems can be imported using the `id`, e.g.
```sh
$ 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 provider configuration on an imported resource, the povider will always show a difference. To workaround this behavior, either omit the argument from the configuration or use [`ignoreChanges`](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) to hide the difference, e.g. terraform resource "aws_fsx_windows_file_system" "example" {
... other configuration ... ¶
security_group_ids = [aws_security_group.example.id]
There is no FSx API for reading security_group_ids ¶
lifecycle { ignore_changes = [security_group_ids] } }
func GetWindowsFileSystem ¶
func GetWindowsFileSystem(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WindowsFileSystemState, opts ...pulumi.ResourceOption) (*WindowsFileSystem, error)
GetWindowsFileSystem gets an existing WindowsFileSystem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWindowsFileSystem ¶
func NewWindowsFileSystem(ctx *pulumi.Context, name string, args *WindowsFileSystemArgs, opts ...pulumi.ResourceOption) (*WindowsFileSystem, error)
NewWindowsFileSystem registers a new resource with the given unique name, arguments, and options.
func (*WindowsFileSystem) ElementType ¶ added in v3.13.0
func (*WindowsFileSystem) ElementType() reflect.Type
func (*WindowsFileSystem) ToWindowsFileSystemOutput ¶ added in v3.13.0
func (i *WindowsFileSystem) ToWindowsFileSystemOutput() WindowsFileSystemOutput
func (*WindowsFileSystem) ToWindowsFileSystemOutputWithContext ¶ added in v3.13.0
func (i *WindowsFileSystem) ToWindowsFileSystemOutputWithContext(ctx context.Context) WindowsFileSystemOutput
func (*WindowsFileSystem) ToWindowsFileSystemPtrOutput ¶ added in v3.25.0
func (i *WindowsFileSystem) ToWindowsFileSystemPtrOutput() WindowsFileSystemPtrOutput
func (*WindowsFileSystem) ToWindowsFileSystemPtrOutputWithContext ¶ added in v3.25.0
func (i *WindowsFileSystem) ToWindowsFileSystemPtrOutputWithContext(ctx context.Context) WindowsFileSystemPtrOutput
type WindowsFileSystemArgs ¶
type WindowsFileSystemArgs struct { // The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with `selfManagedActiveDirectory`. ActiveDirectoryId pulumi.StringPtrInput // The number of days to retain automatic backups. Minimum of `0` and maximum of `90`. Defaults to `7`. Set to `0` to disable. AutomaticBackupRetentionDays pulumi.IntPtrInput // A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to `false`. CopyTagsToBackups pulumi.BoolPtrInput // The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone. DailyAutomaticBackupStartTime pulumi.StringPtrInput // Specifies the file system deployment type, valid values are `MULTI_AZ_1`, `SINGLE_AZ_1` and `SINGLE_AZ_2`. Default value is `SINGLE_AZ_1`. DeploymentType pulumi.StringPtrInput // ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key. KmsKeyId pulumi.StringPtrInput // Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is `MULTI_AZ_1`. PreferredSubnetId pulumi.StringPtrInput // 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. SecurityGroupIds pulumi.StringArrayInput // 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 `activeDirectoryId`. Detailed below. SelfManagedActiveDirectory WindowsFileSystemSelfManagedActiveDirectoryPtrInput // 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`. SkipFinalBackup pulumi.BoolPtrInput // 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. StorageCapacity pulumi.IntInput // Specifies the storage type, Valid values are `SSD` and `HDD`. `HDD` is supported on `SINGLE_AZ_2` and `MULTI_AZ_1` Windows file system deployment types. Default value is `SSD`. StorageType pulumi.StringPtrInput // A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set `deploymentType` to `MULTI_AZ_1`. SubnetIds pulumi.StringArrayInput // A map of tags to assign to the file system. Tags pulumi.StringMapInput // Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of `8` and maximum of `2048`. ThroughputCapacity pulumi.IntInput // The preferred start time (in `d:HH:MM` format) to perform weekly maintenance, in the UTC time zone. WeeklyMaintenanceStartTime pulumi.StringPtrInput }
The set of arguments for constructing a WindowsFileSystem resource.
func (WindowsFileSystemArgs) ElementType ¶
func (WindowsFileSystemArgs) ElementType() reflect.Type
type WindowsFileSystemArray ¶ added in v3.25.0
type WindowsFileSystemArray []WindowsFileSystemInput
func (WindowsFileSystemArray) ElementType ¶ added in v3.25.0
func (WindowsFileSystemArray) ElementType() reflect.Type
func (WindowsFileSystemArray) ToWindowsFileSystemArrayOutput ¶ added in v3.25.0
func (i WindowsFileSystemArray) ToWindowsFileSystemArrayOutput() WindowsFileSystemArrayOutput
func (WindowsFileSystemArray) ToWindowsFileSystemArrayOutputWithContext ¶ added in v3.25.0
func (i WindowsFileSystemArray) ToWindowsFileSystemArrayOutputWithContext(ctx context.Context) WindowsFileSystemArrayOutput
type WindowsFileSystemArrayInput ¶ added in v3.25.0
type WindowsFileSystemArrayInput interface { pulumi.Input ToWindowsFileSystemArrayOutput() WindowsFileSystemArrayOutput ToWindowsFileSystemArrayOutputWithContext(context.Context) WindowsFileSystemArrayOutput }
WindowsFileSystemArrayInput is an input type that accepts WindowsFileSystemArray and WindowsFileSystemArrayOutput values. You can construct a concrete instance of `WindowsFileSystemArrayInput` via:
WindowsFileSystemArray{ WindowsFileSystemArgs{...} }
type WindowsFileSystemArrayOutput ¶ added in v3.25.0
type WindowsFileSystemArrayOutput struct{ *pulumi.OutputState }
func (WindowsFileSystemArrayOutput) ElementType ¶ added in v3.25.0
func (WindowsFileSystemArrayOutput) ElementType() reflect.Type
func (WindowsFileSystemArrayOutput) Index ¶ added in v3.25.0
func (o WindowsFileSystemArrayOutput) Index(i pulumi.IntInput) WindowsFileSystemOutput
func (WindowsFileSystemArrayOutput) ToWindowsFileSystemArrayOutput ¶ added in v3.25.0
func (o WindowsFileSystemArrayOutput) ToWindowsFileSystemArrayOutput() WindowsFileSystemArrayOutput
func (WindowsFileSystemArrayOutput) ToWindowsFileSystemArrayOutputWithContext ¶ added in v3.25.0
func (o WindowsFileSystemArrayOutput) ToWindowsFileSystemArrayOutputWithContext(ctx context.Context) WindowsFileSystemArrayOutput
type WindowsFileSystemInput ¶ added in v3.13.0
type WindowsFileSystemInput interface { pulumi.Input ToWindowsFileSystemOutput() WindowsFileSystemOutput ToWindowsFileSystemOutputWithContext(ctx context.Context) WindowsFileSystemOutput }
type WindowsFileSystemMap ¶ added in v3.25.0
type WindowsFileSystemMap map[string]WindowsFileSystemInput
func (WindowsFileSystemMap) ElementType ¶ added in v3.25.0
func (WindowsFileSystemMap) ElementType() reflect.Type
func (WindowsFileSystemMap) ToWindowsFileSystemMapOutput ¶ added in v3.25.0
func (i WindowsFileSystemMap) ToWindowsFileSystemMapOutput() WindowsFileSystemMapOutput
func (WindowsFileSystemMap) ToWindowsFileSystemMapOutputWithContext ¶ added in v3.25.0
func (i WindowsFileSystemMap) ToWindowsFileSystemMapOutputWithContext(ctx context.Context) WindowsFileSystemMapOutput
type WindowsFileSystemMapInput ¶ added in v3.25.0
type WindowsFileSystemMapInput interface { pulumi.Input ToWindowsFileSystemMapOutput() WindowsFileSystemMapOutput ToWindowsFileSystemMapOutputWithContext(context.Context) WindowsFileSystemMapOutput }
WindowsFileSystemMapInput is an input type that accepts WindowsFileSystemMap and WindowsFileSystemMapOutput values. You can construct a concrete instance of `WindowsFileSystemMapInput` via:
WindowsFileSystemMap{ "key": WindowsFileSystemArgs{...} }
type WindowsFileSystemMapOutput ¶ added in v3.25.0
type WindowsFileSystemMapOutput struct{ *pulumi.OutputState }
func (WindowsFileSystemMapOutput) ElementType ¶ added in v3.25.0
func (WindowsFileSystemMapOutput) ElementType() reflect.Type
func (WindowsFileSystemMapOutput) MapIndex ¶ added in v3.25.0
func (o WindowsFileSystemMapOutput) MapIndex(k pulumi.StringInput) WindowsFileSystemOutput
func (WindowsFileSystemMapOutput) ToWindowsFileSystemMapOutput ¶ added in v3.25.0
func (o WindowsFileSystemMapOutput) ToWindowsFileSystemMapOutput() WindowsFileSystemMapOutput
func (WindowsFileSystemMapOutput) ToWindowsFileSystemMapOutputWithContext ¶ added in v3.25.0
func (o WindowsFileSystemMapOutput) ToWindowsFileSystemMapOutputWithContext(ctx context.Context) WindowsFileSystemMapOutput
type WindowsFileSystemOutput ¶ added in v3.13.0
type WindowsFileSystemOutput struct {
*pulumi.OutputState
}
func (WindowsFileSystemOutput) ElementType ¶ added in v3.13.0
func (WindowsFileSystemOutput) ElementType() reflect.Type
func (WindowsFileSystemOutput) ToWindowsFileSystemOutput ¶ added in v3.13.0
func (o WindowsFileSystemOutput) ToWindowsFileSystemOutput() WindowsFileSystemOutput
func (WindowsFileSystemOutput) ToWindowsFileSystemOutputWithContext ¶ added in v3.13.0
func (o WindowsFileSystemOutput) ToWindowsFileSystemOutputWithContext(ctx context.Context) WindowsFileSystemOutput
func (WindowsFileSystemOutput) ToWindowsFileSystemPtrOutput ¶ added in v3.25.0
func (o WindowsFileSystemOutput) ToWindowsFileSystemPtrOutput() WindowsFileSystemPtrOutput
func (WindowsFileSystemOutput) ToWindowsFileSystemPtrOutputWithContext ¶ added in v3.25.0
func (o WindowsFileSystemOutput) ToWindowsFileSystemPtrOutputWithContext(ctx context.Context) WindowsFileSystemPtrOutput
type WindowsFileSystemPtrInput ¶ added in v3.25.0
type WindowsFileSystemPtrInput interface { pulumi.Input ToWindowsFileSystemPtrOutput() WindowsFileSystemPtrOutput ToWindowsFileSystemPtrOutputWithContext(ctx context.Context) WindowsFileSystemPtrOutput }
type WindowsFileSystemPtrOutput ¶ added in v3.25.0
type WindowsFileSystemPtrOutput struct {
*pulumi.OutputState
}
func (WindowsFileSystemPtrOutput) ElementType ¶ added in v3.25.0
func (WindowsFileSystemPtrOutput) ElementType() reflect.Type
func (WindowsFileSystemPtrOutput) ToWindowsFileSystemPtrOutput ¶ added in v3.25.0
func (o WindowsFileSystemPtrOutput) ToWindowsFileSystemPtrOutput() WindowsFileSystemPtrOutput
func (WindowsFileSystemPtrOutput) ToWindowsFileSystemPtrOutputWithContext ¶ added in v3.25.0
func (o WindowsFileSystemPtrOutput) ToWindowsFileSystemPtrOutputWithContext(ctx context.Context) WindowsFileSystemPtrOutput
type WindowsFileSystemSelfManagedActiveDirectory ¶
type WindowsFileSystemSelfManagedActiveDirectory struct { // 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](https://tools.ietf.org/html/rfc1918). DnsIps []string `pulumi:"dnsIps"` // The fully qualified domain name of the self-managed AD directory. For example, `corp.example.com`. DomainName string `pulumi:"domainName"` // 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`. FileSystemAdministratorsGroup *string `pulumi:"fileSystemAdministratorsGroup"` // 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](https://tools.ietf.org/html/rfc2253). OrganizationalUnitDistinguishedName *string `pulumi:"organizationalUnitDistinguishedName"` // The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain. Password string `pulumi:"password"` // The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain. Username string `pulumi:"username"` }
type WindowsFileSystemSelfManagedActiveDirectoryArgs ¶
type WindowsFileSystemSelfManagedActiveDirectoryArgs struct { // 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](https://tools.ietf.org/html/rfc1918). DnsIps pulumi.StringArrayInput `pulumi:"dnsIps"` // The fully qualified domain name of the self-managed AD directory. For example, `corp.example.com`. DomainName pulumi.StringInput `pulumi:"domainName"` // 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`. FileSystemAdministratorsGroup pulumi.StringPtrInput `pulumi:"fileSystemAdministratorsGroup"` // 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](https://tools.ietf.org/html/rfc2253). OrganizationalUnitDistinguishedName pulumi.StringPtrInput `pulumi:"organizationalUnitDistinguishedName"` // The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain. Password pulumi.StringInput `pulumi:"password"` // The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain. Username pulumi.StringInput `pulumi:"username"` }
func (WindowsFileSystemSelfManagedActiveDirectoryArgs) ElementType ¶
func (WindowsFileSystemSelfManagedActiveDirectoryArgs) ElementType() reflect.Type
func (WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryOutput ¶
func (i WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryOutput() WindowsFileSystemSelfManagedActiveDirectoryOutput
func (WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryOutputWithContext ¶
func (i WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryOutputWithContext(ctx context.Context) WindowsFileSystemSelfManagedActiveDirectoryOutput
func (WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutput ¶
func (i WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutput() WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
func (WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutputWithContext ¶
func (i WindowsFileSystemSelfManagedActiveDirectoryArgs) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutputWithContext(ctx context.Context) WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
type WindowsFileSystemSelfManagedActiveDirectoryInput ¶
type WindowsFileSystemSelfManagedActiveDirectoryInput interface { pulumi.Input ToWindowsFileSystemSelfManagedActiveDirectoryOutput() WindowsFileSystemSelfManagedActiveDirectoryOutput ToWindowsFileSystemSelfManagedActiveDirectoryOutputWithContext(context.Context) WindowsFileSystemSelfManagedActiveDirectoryOutput }
WindowsFileSystemSelfManagedActiveDirectoryInput is an input type that accepts WindowsFileSystemSelfManagedActiveDirectoryArgs and WindowsFileSystemSelfManagedActiveDirectoryOutput values. You can construct a concrete instance of `WindowsFileSystemSelfManagedActiveDirectoryInput` via:
WindowsFileSystemSelfManagedActiveDirectoryArgs{...}
type WindowsFileSystemSelfManagedActiveDirectoryOutput ¶
type WindowsFileSystemSelfManagedActiveDirectoryOutput struct{ *pulumi.OutputState }
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) DnsIps ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) DnsIps() pulumi.StringArrayOutput
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](https://tools.ietf.org/html/rfc1918).
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) DomainName ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) DomainName() pulumi.StringOutput
The fully qualified domain name of the self-managed AD directory. For example, `corp.example.com`.
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) ElementType ¶
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) ElementType() reflect.Type
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) FileSystemAdministratorsGroup ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) FileSystemAdministratorsGroup() pulumi.StringPtrOutput
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`.
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) OrganizationalUnitDistinguishedName ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) OrganizationalUnitDistinguishedName() pulumi.StringPtrOutput
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](https://tools.ietf.org/html/rfc2253).
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) Password ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) Password() pulumi.StringOutput
The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryOutput ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryOutput() WindowsFileSystemSelfManagedActiveDirectoryOutput
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryOutputWithContext ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryOutputWithContext(ctx context.Context) WindowsFileSystemSelfManagedActiveDirectoryOutput
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutput ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutput() WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutputWithContext ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutputWithContext(ctx context.Context) WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
func (WindowsFileSystemSelfManagedActiveDirectoryOutput) Username ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryOutput) Username() pulumi.StringOutput
The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
type WindowsFileSystemSelfManagedActiveDirectoryPtrInput ¶
type WindowsFileSystemSelfManagedActiveDirectoryPtrInput interface { pulumi.Input ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutput() WindowsFileSystemSelfManagedActiveDirectoryPtrOutput ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutputWithContext(context.Context) WindowsFileSystemSelfManagedActiveDirectoryPtrOutput }
WindowsFileSystemSelfManagedActiveDirectoryPtrInput is an input type that accepts WindowsFileSystemSelfManagedActiveDirectoryArgs, WindowsFileSystemSelfManagedActiveDirectoryPtr and WindowsFileSystemSelfManagedActiveDirectoryPtrOutput values. You can construct a concrete instance of `WindowsFileSystemSelfManagedActiveDirectoryPtrInput` via:
WindowsFileSystemSelfManagedActiveDirectoryArgs{...} or: nil
func WindowsFileSystemSelfManagedActiveDirectoryPtr ¶
func WindowsFileSystemSelfManagedActiveDirectoryPtr(v *WindowsFileSystemSelfManagedActiveDirectoryArgs) WindowsFileSystemSelfManagedActiveDirectoryPtrInput
type WindowsFileSystemSelfManagedActiveDirectoryPtrOutput ¶
type WindowsFileSystemSelfManagedActiveDirectoryPtrOutput struct{ *pulumi.OutputState }
func (WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) DnsIps ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) DnsIps() pulumi.StringArrayOutput
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](https://tools.ietf.org/html/rfc1918).
func (WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) DomainName ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) DomainName() pulumi.StringPtrOutput
The fully qualified domain name of the self-managed AD directory. For example, `corp.example.com`.
func (WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) ElementType ¶
func (WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) ElementType() reflect.Type
func (WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) FileSystemAdministratorsGroup ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) FileSystemAdministratorsGroup() pulumi.StringPtrOutput
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`.
func (WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) OrganizationalUnitDistinguishedName ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) OrganizationalUnitDistinguishedName() pulumi.StringPtrOutput
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](https://tools.ietf.org/html/rfc2253).
func (WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) Password ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) Password() pulumi.StringPtrOutput
The password for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
func (WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutput ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutput() WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
func (WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutputWithContext ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) ToWindowsFileSystemSelfManagedActiveDirectoryPtrOutputWithContext(ctx context.Context) WindowsFileSystemSelfManagedActiveDirectoryPtrOutput
func (WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) Username ¶
func (o WindowsFileSystemSelfManagedActiveDirectoryPtrOutput) Username() pulumi.StringPtrOutput
The user name for the service account on your self-managed AD domain that Amazon FSx will use to join to your AD domain.
type WindowsFileSystemState ¶
type WindowsFileSystemState struct { // The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with `selfManagedActiveDirectory`. ActiveDirectoryId pulumi.StringPtrInput // Amazon Resource Name of the file system. Arn pulumi.StringPtrInput // The number of days to retain automatic backups. Minimum of `0` and maximum of `90`. Defaults to `7`. Set to `0` to disable. AutomaticBackupRetentionDays pulumi.IntPtrInput // A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to `false`. CopyTagsToBackups pulumi.BoolPtrInput // The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone. DailyAutomaticBackupStartTime pulumi.StringPtrInput // Specifies the file system deployment type, valid values are `MULTI_AZ_1`, `SINGLE_AZ_1` and `SINGLE_AZ_2`. Default value is `SINGLE_AZ_1`. DeploymentType pulumi.StringPtrInput // DNS name for the file system, e.g. `fs-12345678.corp.example.com` (domain name matching the Active Directory domain name) DnsName pulumi.StringPtrInput // ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key. KmsKeyId pulumi.StringPtrInput // Set of Elastic Network Interface identifiers from which the file system is accessible. NetworkInterfaceIds pulumi.StringArrayInput // AWS account identifier that created the file system. OwnerId pulumi.StringPtrInput // The IP address of the primary, or preferred, file server. PreferredFileServerIp pulumi.StringPtrInput // Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is `MULTI_AZ_1`. PreferredSubnetId pulumi.StringPtrInput // For `MULTI_AZ_1` deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. For `SINGLE_AZ_1` deployment types, this is the DNS name of the file system. RemoteAdministrationEndpoint pulumi.StringPtrInput // 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. SecurityGroupIds pulumi.StringArrayInput // 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 `activeDirectoryId`. Detailed below. SelfManagedActiveDirectory WindowsFileSystemSelfManagedActiveDirectoryPtrInput // 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`. SkipFinalBackup pulumi.BoolPtrInput // 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. StorageCapacity pulumi.IntPtrInput // Specifies the storage type, Valid values are `SSD` and `HDD`. `HDD` is supported on `SINGLE_AZ_2` and `MULTI_AZ_1` Windows file system deployment types. Default value is `SSD`. StorageType pulumi.StringPtrInput // A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set `deploymentType` to `MULTI_AZ_1`. SubnetIds pulumi.StringArrayInput // A map of tags to assign to the file system. Tags pulumi.StringMapInput // Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of `8` and maximum of `2048`. ThroughputCapacity pulumi.IntPtrInput // Identifier of the Virtual Private Cloud for the file system. VpcId pulumi.StringPtrInput // The preferred start time (in `d:HH:MM` format) to perform weekly maintenance, in the UTC time zone. WeeklyMaintenanceStartTime pulumi.StringPtrInput }
func (WindowsFileSystemState) ElementType ¶
func (WindowsFileSystemState) ElementType() reflect.Type