fsx

package
v0.104.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DataRepositoryAssociationEventTypeNew     = DataRepositoryAssociationEventType("NEW")
	DataRepositoryAssociationEventTypeChanged = DataRepositoryAssociationEventType("CHANGED")
	DataRepositoryAssociationEventTypeDeleted = DataRepositoryAssociationEventType("DELETED")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataRepositoryAssociation added in v0.40.0

type DataRepositoryAssociation struct {
	pulumi.CustomResourceState

	AssociationId pulumi.StringOutput `pulumi:"associationId"`
	// A boolean flag indicating whether an import data repository task to import metadata should run after the data repository association is created. The task runs if this flag is set to “true“.
	BatchImportMetaDataOnCreate pulumi.BoolPtrOutput `pulumi:"batchImportMetaDataOnCreate"`
	// The path to the Amazon S3 data repository that will be linked to the file system. The path can be an S3 bucket or prefix in the format “s3://myBucket/myPrefix/“. This path specifies where in the S3 data repository files will be imported from or exported to.
	DataRepositoryPath pulumi.StringOutput `pulumi:"dataRepositoryPath"`
	// The ID of the file system on which the data repository association is configured.
	FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"`
	// A path on the Amazon FSx for Lustre file system that points to a high-level directory (such as “/ns1/“) or subdirectory (such as “/ns1/subdir/“) that will be mapped 1-1 with “DataRepositoryPath“. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path “/ns1/“, then you cannot link another data repository with file system path “/ns1/ns2“.
	//  This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory.
	//   If you specify only a forward slash (“/“) as the file system path, you can link only one data repository to the file system. You can only specify "/" as the file system path for the first data repository associated with a file system.
	FileSystemPath pulumi.StringOutput `pulumi:"fileSystemPath"`
	// 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. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system or cache.
	//  The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
	ImportedFileChunkSize pulumi.IntPtrOutput `pulumi:"importedFileChunkSize"`
	ResourceArn           pulumi.StringOutput `pulumi:"resourceArn"`
	// The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
	S3 DataRepositoryAssociationS3PtrOutput `pulumi:"s3"`
	// An array of key-value pairs to apply to this resource.
	//  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
	Tags aws.TagArrayOutput `pulumi:"tags"`
}

Creates an Amazon FSx for Lustre data repository association (DRA). A data repository association is a link between a directory on the file system and an Amazon S3 bucket or prefix. You can have a maximum of 8 data repository associations on a file system. Data repository associations are supported on all FSx for Lustre 2.12 and newer file systems, excluding “scratch_1“ deployment type.

Each data repository association must have a unique Amazon FSx file system directory and a unique S3 bucket or prefix associated with it. You can configure a data repository association for automatic import only, for automatic export only, or for both. To learn more about linking a data repository to your file system, see [Linking your file system to an S3 bucket](https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-dra-linked-data-repo.html).

## Example Usage ### Example

```go package main

import (

awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/fsx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		fsId := cfg.Require("fsId")
		draIdExportName := cfg.Require("draIdExportName")
		fileSystemPath := cfg.Require("fileSystemPath")
		importedFileChunkSize := cfg.Require("importedFileChunkSize")
		testDRA, err := fsx.NewDataRepositoryAssociation(ctx, "testDRA", &fsx.DataRepositoryAssociationArgs{
			FileSystemId:                pulumi.String(fsId),
			FileSystemPath:              pulumi.String(fileSystemPath),
			DataRepositoryPath:          pulumi.String("s3://example-bucket"),
			BatchImportMetaDataOnCreate: pulumi.Bool(true),
			ImportedFileChunkSize:       pulumi.String(importedFileChunkSize),
			S3: &fsx.DataRepositoryAssociationS3Args{
				AutoImportPolicy: &fsx.DataRepositoryAssociationAutoImportPolicyArgs{
					Events: fsx.DataRepositoryAssociationEventTypeArray{
						fsx.DataRepositoryAssociationEventTypeNew,
						fsx.DataRepositoryAssociationEventTypeChanged,
						fsx.DataRepositoryAssociationEventTypeDeleted,
					},
				},
				AutoExportPolicy: &fsx.DataRepositoryAssociationAutoExportPolicyArgs{
					Events: fsx.DataRepositoryAssociationEventTypeArray{
						fsx.DataRepositoryAssociationEventTypeNew,
						fsx.DataRepositoryAssociationEventTypeChanged,
						fsx.DataRepositoryAssociationEventTypeDeleted,
					},
				},
			},
			Tags: aws.TagArray{
				&aws.TagArgs{
					Key:   pulumi.String("Location"),
					Value: pulumi.String("Boston"),
				},
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("draId", testDRA.ID())
		return nil
	})
}

```

func GetDataRepositoryAssociation added in v0.40.0

func GetDataRepositoryAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataRepositoryAssociationState, opts ...pulumi.ResourceOption) (*DataRepositoryAssociation, error)

GetDataRepositoryAssociation gets an existing DataRepositoryAssociation 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 NewDataRepositoryAssociation added in v0.40.0

func NewDataRepositoryAssociation(ctx *pulumi.Context,
	name string, args *DataRepositoryAssociationArgs, opts ...pulumi.ResourceOption) (*DataRepositoryAssociation, error)

NewDataRepositoryAssociation registers a new resource with the given unique name, arguments, and options.

func (*DataRepositoryAssociation) ElementType added in v0.40.0

func (*DataRepositoryAssociation) ElementType() reflect.Type

func (*DataRepositoryAssociation) ToDataRepositoryAssociationOutput added in v0.40.0

func (i *DataRepositoryAssociation) ToDataRepositoryAssociationOutput() DataRepositoryAssociationOutput

func (*DataRepositoryAssociation) ToDataRepositoryAssociationOutputWithContext added in v0.40.0

func (i *DataRepositoryAssociation) ToDataRepositoryAssociationOutputWithContext(ctx context.Context) DataRepositoryAssociationOutput

type DataRepositoryAssociationArgs added in v0.40.0

type DataRepositoryAssociationArgs struct {
	// A boolean flag indicating whether an import data repository task to import metadata should run after the data repository association is created. The task runs if this flag is set to “true“.
	BatchImportMetaDataOnCreate pulumi.BoolPtrInput
	// The path to the Amazon S3 data repository that will be linked to the file system. The path can be an S3 bucket or prefix in the format “s3://myBucket/myPrefix/“. This path specifies where in the S3 data repository files will be imported from or exported to.
	DataRepositoryPath pulumi.StringInput
	// The ID of the file system on which the data repository association is configured.
	FileSystemId pulumi.StringInput
	// A path on the Amazon FSx for Lustre file system that points to a high-level directory (such as “/ns1/“) or subdirectory (such as “/ns1/subdir/“) that will be mapped 1-1 with “DataRepositoryPath“. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path “/ns1/“, then you cannot link another data repository with file system path “/ns1/ns2“.
	//  This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory.
	//   If you specify only a forward slash (“/“) as the file system path, you can link only one data repository to the file system. You can only specify "/" as the file system path for the first data repository associated with a file system.
	FileSystemPath pulumi.StringInput
	// 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. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system or cache.
	//  The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
	ImportedFileChunkSize pulumi.IntPtrInput
	// The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
	S3 DataRepositoryAssociationS3PtrInput
	// An array of key-value pairs to apply to this resource.
	//  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
	Tags aws.TagArrayInput
}

The set of arguments for constructing a DataRepositoryAssociation resource.

func (DataRepositoryAssociationArgs) ElementType added in v0.40.0

type DataRepositoryAssociationAutoExportPolicy added in v0.40.0

type DataRepositoryAssociationAutoExportPolicy struct {
	// The “AutoExportPolicy“ can have the following event values:
	//   +   “NEW“ - New files and directories are automatically exported to the data repository as they are added to the file system.
	//   +   “CHANGED“ - Changes to files and directories on the file system are automatically exported to the data repository.
	//   +   “DELETED“ - Files and directories are automatically deleted on the data repository when they are deleted on the file system.
	//
	//  You can define any combination of event types for your “AutoExportPolicy“.
	Events []DataRepositoryAssociationEventType `pulumi:"events"`
}

Describes a data repository association's automatic export policy. The “AutoExportPolicy“ defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.

The ``AutoExportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association.

type DataRepositoryAssociationAutoExportPolicyArgs added in v0.40.0

type DataRepositoryAssociationAutoExportPolicyArgs struct {
	// The “AutoExportPolicy“ can have the following event values:
	//   +   “NEW“ - New files and directories are automatically exported to the data repository as they are added to the file system.
	//   +   “CHANGED“ - Changes to files and directories on the file system are automatically exported to the data repository.
	//   +   “DELETED“ - Files and directories are automatically deleted on the data repository when they are deleted on the file system.
	//
	//  You can define any combination of event types for your “AutoExportPolicy“.
	Events DataRepositoryAssociationEventTypeArrayInput `pulumi:"events"`
}

Describes a data repository association's automatic export policy. The “AutoExportPolicy“ defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.

The ``AutoExportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association.

func (DataRepositoryAssociationAutoExportPolicyArgs) ElementType added in v0.40.0

func (DataRepositoryAssociationAutoExportPolicyArgs) ToDataRepositoryAssociationAutoExportPolicyOutput added in v0.40.0

func (i DataRepositoryAssociationAutoExportPolicyArgs) ToDataRepositoryAssociationAutoExportPolicyOutput() DataRepositoryAssociationAutoExportPolicyOutput

func (DataRepositoryAssociationAutoExportPolicyArgs) ToDataRepositoryAssociationAutoExportPolicyOutputWithContext added in v0.40.0

func (i DataRepositoryAssociationAutoExportPolicyArgs) ToDataRepositoryAssociationAutoExportPolicyOutputWithContext(ctx context.Context) DataRepositoryAssociationAutoExportPolicyOutput

func (DataRepositoryAssociationAutoExportPolicyArgs) ToDataRepositoryAssociationAutoExportPolicyPtrOutput added in v0.40.0

func (i DataRepositoryAssociationAutoExportPolicyArgs) ToDataRepositoryAssociationAutoExportPolicyPtrOutput() DataRepositoryAssociationAutoExportPolicyPtrOutput

func (DataRepositoryAssociationAutoExportPolicyArgs) ToDataRepositoryAssociationAutoExportPolicyPtrOutputWithContext added in v0.40.0

func (i DataRepositoryAssociationAutoExportPolicyArgs) ToDataRepositoryAssociationAutoExportPolicyPtrOutputWithContext(ctx context.Context) DataRepositoryAssociationAutoExportPolicyPtrOutput

type DataRepositoryAssociationAutoExportPolicyInput added in v0.40.0

type DataRepositoryAssociationAutoExportPolicyInput interface {
	pulumi.Input

	ToDataRepositoryAssociationAutoExportPolicyOutput() DataRepositoryAssociationAutoExportPolicyOutput
	ToDataRepositoryAssociationAutoExportPolicyOutputWithContext(context.Context) DataRepositoryAssociationAutoExportPolicyOutput
}

DataRepositoryAssociationAutoExportPolicyInput is an input type that accepts DataRepositoryAssociationAutoExportPolicyArgs and DataRepositoryAssociationAutoExportPolicyOutput values. You can construct a concrete instance of `DataRepositoryAssociationAutoExportPolicyInput` via:

DataRepositoryAssociationAutoExportPolicyArgs{...}

type DataRepositoryAssociationAutoExportPolicyOutput added in v0.40.0

type DataRepositoryAssociationAutoExportPolicyOutput struct{ *pulumi.OutputState }

Describes a data repository association's automatic export policy. The “AutoExportPolicy“ defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.

The ``AutoExportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association.

func (DataRepositoryAssociationAutoExportPolicyOutput) ElementType added in v0.40.0

func (DataRepositoryAssociationAutoExportPolicyOutput) Events added in v0.40.0

The “AutoExportPolicy“ can have the following event values:

  • “NEW“ - New files and directories are automatically exported to the data repository as they are added to the file system.

  • “CHANGED“ - Changes to files and directories on the file system are automatically exported to the data repository.

  • “DELETED“ - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

    You can define any combination of event types for your “AutoExportPolicy“.

func (DataRepositoryAssociationAutoExportPolicyOutput) ToDataRepositoryAssociationAutoExportPolicyOutput added in v0.40.0

func (o DataRepositoryAssociationAutoExportPolicyOutput) ToDataRepositoryAssociationAutoExportPolicyOutput() DataRepositoryAssociationAutoExportPolicyOutput

func (DataRepositoryAssociationAutoExportPolicyOutput) ToDataRepositoryAssociationAutoExportPolicyOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationAutoExportPolicyOutput) ToDataRepositoryAssociationAutoExportPolicyOutputWithContext(ctx context.Context) DataRepositoryAssociationAutoExportPolicyOutput

func (DataRepositoryAssociationAutoExportPolicyOutput) ToDataRepositoryAssociationAutoExportPolicyPtrOutput added in v0.40.0

func (o DataRepositoryAssociationAutoExportPolicyOutput) ToDataRepositoryAssociationAutoExportPolicyPtrOutput() DataRepositoryAssociationAutoExportPolicyPtrOutput

func (DataRepositoryAssociationAutoExportPolicyOutput) ToDataRepositoryAssociationAutoExportPolicyPtrOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationAutoExportPolicyOutput) ToDataRepositoryAssociationAutoExportPolicyPtrOutputWithContext(ctx context.Context) DataRepositoryAssociationAutoExportPolicyPtrOutput

type DataRepositoryAssociationAutoExportPolicyPtrInput added in v0.40.0

type DataRepositoryAssociationAutoExportPolicyPtrInput interface {
	pulumi.Input

	ToDataRepositoryAssociationAutoExportPolicyPtrOutput() DataRepositoryAssociationAutoExportPolicyPtrOutput
	ToDataRepositoryAssociationAutoExportPolicyPtrOutputWithContext(context.Context) DataRepositoryAssociationAutoExportPolicyPtrOutput
}

DataRepositoryAssociationAutoExportPolicyPtrInput is an input type that accepts DataRepositoryAssociationAutoExportPolicyArgs, DataRepositoryAssociationAutoExportPolicyPtr and DataRepositoryAssociationAutoExportPolicyPtrOutput values. You can construct a concrete instance of `DataRepositoryAssociationAutoExportPolicyPtrInput` via:

        DataRepositoryAssociationAutoExportPolicyArgs{...}

or:

        nil

type DataRepositoryAssociationAutoExportPolicyPtrOutput added in v0.40.0

type DataRepositoryAssociationAutoExportPolicyPtrOutput struct{ *pulumi.OutputState }

func (DataRepositoryAssociationAutoExportPolicyPtrOutput) Elem added in v0.40.0

func (DataRepositoryAssociationAutoExportPolicyPtrOutput) ElementType added in v0.40.0

func (DataRepositoryAssociationAutoExportPolicyPtrOutput) Events added in v0.40.0

The “AutoExportPolicy“ can have the following event values:

  • “NEW“ - New files and directories are automatically exported to the data repository as they are added to the file system.

  • “CHANGED“ - Changes to files and directories on the file system are automatically exported to the data repository.

  • “DELETED“ - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

    You can define any combination of event types for your “AutoExportPolicy“.

func (DataRepositoryAssociationAutoExportPolicyPtrOutput) ToDataRepositoryAssociationAutoExportPolicyPtrOutput added in v0.40.0

func (o DataRepositoryAssociationAutoExportPolicyPtrOutput) ToDataRepositoryAssociationAutoExportPolicyPtrOutput() DataRepositoryAssociationAutoExportPolicyPtrOutput

func (DataRepositoryAssociationAutoExportPolicyPtrOutput) ToDataRepositoryAssociationAutoExportPolicyPtrOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationAutoExportPolicyPtrOutput) ToDataRepositoryAssociationAutoExportPolicyPtrOutputWithContext(ctx context.Context) DataRepositoryAssociationAutoExportPolicyPtrOutput

type DataRepositoryAssociationAutoImportPolicy added in v0.40.0

type DataRepositoryAssociationAutoImportPolicy struct {
	// The “AutoImportPolicy“ can have the following event values:
	//   +   “NEW“ - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.
	//   +   “CHANGED“ - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.
	//   +   “DELETED“ - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.
	//
	//  You can define any combination of event types for your “AutoImportPolicy“.
	Events []DataRepositoryAssociationEventType `pulumi:"events"`
}

Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.

The ``AutoImportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association.

type DataRepositoryAssociationAutoImportPolicyArgs added in v0.40.0

type DataRepositoryAssociationAutoImportPolicyArgs struct {
	// The “AutoImportPolicy“ can have the following event values:
	//   +   “NEW“ - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.
	//   +   “CHANGED“ - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.
	//   +   “DELETED“ - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.
	//
	//  You can define any combination of event types for your “AutoImportPolicy“.
	Events DataRepositoryAssociationEventTypeArrayInput `pulumi:"events"`
}

Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.

The ``AutoImportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association.

func (DataRepositoryAssociationAutoImportPolicyArgs) ElementType added in v0.40.0

func (DataRepositoryAssociationAutoImportPolicyArgs) ToDataRepositoryAssociationAutoImportPolicyOutput added in v0.40.0

func (i DataRepositoryAssociationAutoImportPolicyArgs) ToDataRepositoryAssociationAutoImportPolicyOutput() DataRepositoryAssociationAutoImportPolicyOutput

func (DataRepositoryAssociationAutoImportPolicyArgs) ToDataRepositoryAssociationAutoImportPolicyOutputWithContext added in v0.40.0

func (i DataRepositoryAssociationAutoImportPolicyArgs) ToDataRepositoryAssociationAutoImportPolicyOutputWithContext(ctx context.Context) DataRepositoryAssociationAutoImportPolicyOutput

func (DataRepositoryAssociationAutoImportPolicyArgs) ToDataRepositoryAssociationAutoImportPolicyPtrOutput added in v0.40.0

func (i DataRepositoryAssociationAutoImportPolicyArgs) ToDataRepositoryAssociationAutoImportPolicyPtrOutput() DataRepositoryAssociationAutoImportPolicyPtrOutput

func (DataRepositoryAssociationAutoImportPolicyArgs) ToDataRepositoryAssociationAutoImportPolicyPtrOutputWithContext added in v0.40.0

func (i DataRepositoryAssociationAutoImportPolicyArgs) ToDataRepositoryAssociationAutoImportPolicyPtrOutputWithContext(ctx context.Context) DataRepositoryAssociationAutoImportPolicyPtrOutput

type DataRepositoryAssociationAutoImportPolicyInput added in v0.40.0

type DataRepositoryAssociationAutoImportPolicyInput interface {
	pulumi.Input

	ToDataRepositoryAssociationAutoImportPolicyOutput() DataRepositoryAssociationAutoImportPolicyOutput
	ToDataRepositoryAssociationAutoImportPolicyOutputWithContext(context.Context) DataRepositoryAssociationAutoImportPolicyOutput
}

DataRepositoryAssociationAutoImportPolicyInput is an input type that accepts DataRepositoryAssociationAutoImportPolicyArgs and DataRepositoryAssociationAutoImportPolicyOutput values. You can construct a concrete instance of `DataRepositoryAssociationAutoImportPolicyInput` via:

DataRepositoryAssociationAutoImportPolicyArgs{...}

type DataRepositoryAssociationAutoImportPolicyOutput added in v0.40.0

type DataRepositoryAssociationAutoImportPolicyOutput struct{ *pulumi.OutputState }

Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.

The ``AutoImportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association.

func (DataRepositoryAssociationAutoImportPolicyOutput) ElementType added in v0.40.0

func (DataRepositoryAssociationAutoImportPolicyOutput) Events added in v0.40.0

The “AutoImportPolicy“ can have the following event values:

  • “NEW“ - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.

  • “CHANGED“ - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.

  • “DELETED“ - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.

    You can define any combination of event types for your “AutoImportPolicy“.

func (DataRepositoryAssociationAutoImportPolicyOutput) ToDataRepositoryAssociationAutoImportPolicyOutput added in v0.40.0

func (o DataRepositoryAssociationAutoImportPolicyOutput) ToDataRepositoryAssociationAutoImportPolicyOutput() DataRepositoryAssociationAutoImportPolicyOutput

func (DataRepositoryAssociationAutoImportPolicyOutput) ToDataRepositoryAssociationAutoImportPolicyOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationAutoImportPolicyOutput) ToDataRepositoryAssociationAutoImportPolicyOutputWithContext(ctx context.Context) DataRepositoryAssociationAutoImportPolicyOutput

func (DataRepositoryAssociationAutoImportPolicyOutput) ToDataRepositoryAssociationAutoImportPolicyPtrOutput added in v0.40.0

func (o DataRepositoryAssociationAutoImportPolicyOutput) ToDataRepositoryAssociationAutoImportPolicyPtrOutput() DataRepositoryAssociationAutoImportPolicyPtrOutput

func (DataRepositoryAssociationAutoImportPolicyOutput) ToDataRepositoryAssociationAutoImportPolicyPtrOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationAutoImportPolicyOutput) ToDataRepositoryAssociationAutoImportPolicyPtrOutputWithContext(ctx context.Context) DataRepositoryAssociationAutoImportPolicyPtrOutput

type DataRepositoryAssociationAutoImportPolicyPtrInput added in v0.40.0

type DataRepositoryAssociationAutoImportPolicyPtrInput interface {
	pulumi.Input

	ToDataRepositoryAssociationAutoImportPolicyPtrOutput() DataRepositoryAssociationAutoImportPolicyPtrOutput
	ToDataRepositoryAssociationAutoImportPolicyPtrOutputWithContext(context.Context) DataRepositoryAssociationAutoImportPolicyPtrOutput
}

DataRepositoryAssociationAutoImportPolicyPtrInput is an input type that accepts DataRepositoryAssociationAutoImportPolicyArgs, DataRepositoryAssociationAutoImportPolicyPtr and DataRepositoryAssociationAutoImportPolicyPtrOutput values. You can construct a concrete instance of `DataRepositoryAssociationAutoImportPolicyPtrInput` via:

        DataRepositoryAssociationAutoImportPolicyArgs{...}

or:

        nil

type DataRepositoryAssociationAutoImportPolicyPtrOutput added in v0.40.0

type DataRepositoryAssociationAutoImportPolicyPtrOutput struct{ *pulumi.OutputState }

func (DataRepositoryAssociationAutoImportPolicyPtrOutput) Elem added in v0.40.0

func (DataRepositoryAssociationAutoImportPolicyPtrOutput) ElementType added in v0.40.0

func (DataRepositoryAssociationAutoImportPolicyPtrOutput) Events added in v0.40.0

The “AutoImportPolicy“ can have the following event values:

  • “NEW“ - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.

  • “CHANGED“ - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.

  • “DELETED“ - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.

    You can define any combination of event types for your “AutoImportPolicy“.

func (DataRepositoryAssociationAutoImportPolicyPtrOutput) ToDataRepositoryAssociationAutoImportPolicyPtrOutput added in v0.40.0

func (o DataRepositoryAssociationAutoImportPolicyPtrOutput) ToDataRepositoryAssociationAutoImportPolicyPtrOutput() DataRepositoryAssociationAutoImportPolicyPtrOutput

func (DataRepositoryAssociationAutoImportPolicyPtrOutput) ToDataRepositoryAssociationAutoImportPolicyPtrOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationAutoImportPolicyPtrOutput) ToDataRepositoryAssociationAutoImportPolicyPtrOutputWithContext(ctx context.Context) DataRepositoryAssociationAutoImportPolicyPtrOutput

type DataRepositoryAssociationEventType added in v0.40.0

type DataRepositoryAssociationEventType string

func (DataRepositoryAssociationEventType) ElementType added in v0.40.0

func (DataRepositoryAssociationEventType) ToDataRepositoryAssociationEventTypeOutput added in v0.40.0

func (e DataRepositoryAssociationEventType) ToDataRepositoryAssociationEventTypeOutput() DataRepositoryAssociationEventTypeOutput

func (DataRepositoryAssociationEventType) ToDataRepositoryAssociationEventTypeOutputWithContext added in v0.40.0

func (e DataRepositoryAssociationEventType) ToDataRepositoryAssociationEventTypeOutputWithContext(ctx context.Context) DataRepositoryAssociationEventTypeOutput

func (DataRepositoryAssociationEventType) ToDataRepositoryAssociationEventTypePtrOutput added in v0.40.0

func (e DataRepositoryAssociationEventType) ToDataRepositoryAssociationEventTypePtrOutput() DataRepositoryAssociationEventTypePtrOutput

func (DataRepositoryAssociationEventType) ToDataRepositoryAssociationEventTypePtrOutputWithContext added in v0.40.0

func (e DataRepositoryAssociationEventType) ToDataRepositoryAssociationEventTypePtrOutputWithContext(ctx context.Context) DataRepositoryAssociationEventTypePtrOutput

func (DataRepositoryAssociationEventType) ToStringOutput added in v0.40.0

func (DataRepositoryAssociationEventType) ToStringOutputWithContext added in v0.40.0

func (e DataRepositoryAssociationEventType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (DataRepositoryAssociationEventType) ToStringPtrOutput added in v0.40.0

func (DataRepositoryAssociationEventType) ToStringPtrOutputWithContext added in v0.40.0

func (e DataRepositoryAssociationEventType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DataRepositoryAssociationEventTypeArray added in v0.40.0

type DataRepositoryAssociationEventTypeArray []DataRepositoryAssociationEventType

func (DataRepositoryAssociationEventTypeArray) ElementType added in v0.40.0

func (DataRepositoryAssociationEventTypeArray) ToDataRepositoryAssociationEventTypeArrayOutput added in v0.40.0

func (i DataRepositoryAssociationEventTypeArray) ToDataRepositoryAssociationEventTypeArrayOutput() DataRepositoryAssociationEventTypeArrayOutput

func (DataRepositoryAssociationEventTypeArray) ToDataRepositoryAssociationEventTypeArrayOutputWithContext added in v0.40.0

func (i DataRepositoryAssociationEventTypeArray) ToDataRepositoryAssociationEventTypeArrayOutputWithContext(ctx context.Context) DataRepositoryAssociationEventTypeArrayOutput

type DataRepositoryAssociationEventTypeArrayInput added in v0.40.0

type DataRepositoryAssociationEventTypeArrayInput interface {
	pulumi.Input

	ToDataRepositoryAssociationEventTypeArrayOutput() DataRepositoryAssociationEventTypeArrayOutput
	ToDataRepositoryAssociationEventTypeArrayOutputWithContext(context.Context) DataRepositoryAssociationEventTypeArrayOutput
}

DataRepositoryAssociationEventTypeArrayInput is an input type that accepts DataRepositoryAssociationEventTypeArray and DataRepositoryAssociationEventTypeArrayOutput values. You can construct a concrete instance of `DataRepositoryAssociationEventTypeArrayInput` via:

DataRepositoryAssociationEventTypeArray{ DataRepositoryAssociationEventTypeArgs{...} }

type DataRepositoryAssociationEventTypeArrayOutput added in v0.40.0

type DataRepositoryAssociationEventTypeArrayOutput struct{ *pulumi.OutputState }

func (DataRepositoryAssociationEventTypeArrayOutput) ElementType added in v0.40.0

func (DataRepositoryAssociationEventTypeArrayOutput) Index added in v0.40.0

func (DataRepositoryAssociationEventTypeArrayOutput) ToDataRepositoryAssociationEventTypeArrayOutput added in v0.40.0

func (o DataRepositoryAssociationEventTypeArrayOutput) ToDataRepositoryAssociationEventTypeArrayOutput() DataRepositoryAssociationEventTypeArrayOutput

func (DataRepositoryAssociationEventTypeArrayOutput) ToDataRepositoryAssociationEventTypeArrayOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationEventTypeArrayOutput) ToDataRepositoryAssociationEventTypeArrayOutputWithContext(ctx context.Context) DataRepositoryAssociationEventTypeArrayOutput

type DataRepositoryAssociationEventTypeInput added in v0.40.0

type DataRepositoryAssociationEventTypeInput interface {
	pulumi.Input

	ToDataRepositoryAssociationEventTypeOutput() DataRepositoryAssociationEventTypeOutput
	ToDataRepositoryAssociationEventTypeOutputWithContext(context.Context) DataRepositoryAssociationEventTypeOutput
}

DataRepositoryAssociationEventTypeInput is an input type that accepts values of the DataRepositoryAssociationEventType enum A concrete instance of `DataRepositoryAssociationEventTypeInput` can be one of the following:

DataRepositoryAssociationEventTypeNew
DataRepositoryAssociationEventTypeChanged
DataRepositoryAssociationEventTypeDeleted

type DataRepositoryAssociationEventTypeOutput added in v0.40.0

type DataRepositoryAssociationEventTypeOutput struct{ *pulumi.OutputState }

func (DataRepositoryAssociationEventTypeOutput) ElementType added in v0.40.0

func (DataRepositoryAssociationEventTypeOutput) ToDataRepositoryAssociationEventTypeOutput added in v0.40.0

func (o DataRepositoryAssociationEventTypeOutput) ToDataRepositoryAssociationEventTypeOutput() DataRepositoryAssociationEventTypeOutput

func (DataRepositoryAssociationEventTypeOutput) ToDataRepositoryAssociationEventTypeOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationEventTypeOutput) ToDataRepositoryAssociationEventTypeOutputWithContext(ctx context.Context) DataRepositoryAssociationEventTypeOutput

func (DataRepositoryAssociationEventTypeOutput) ToDataRepositoryAssociationEventTypePtrOutput added in v0.40.0

func (o DataRepositoryAssociationEventTypeOutput) ToDataRepositoryAssociationEventTypePtrOutput() DataRepositoryAssociationEventTypePtrOutput

func (DataRepositoryAssociationEventTypeOutput) ToDataRepositoryAssociationEventTypePtrOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationEventTypeOutput) ToDataRepositoryAssociationEventTypePtrOutputWithContext(ctx context.Context) DataRepositoryAssociationEventTypePtrOutput

func (DataRepositoryAssociationEventTypeOutput) ToStringOutput added in v0.40.0

func (DataRepositoryAssociationEventTypeOutput) ToStringOutputWithContext added in v0.40.0

func (DataRepositoryAssociationEventTypeOutput) ToStringPtrOutput added in v0.40.0

func (DataRepositoryAssociationEventTypeOutput) ToStringPtrOutputWithContext added in v0.40.0

type DataRepositoryAssociationEventTypePtrInput added in v0.40.0

type DataRepositoryAssociationEventTypePtrInput interface {
	pulumi.Input

	ToDataRepositoryAssociationEventTypePtrOutput() DataRepositoryAssociationEventTypePtrOutput
	ToDataRepositoryAssociationEventTypePtrOutputWithContext(context.Context) DataRepositoryAssociationEventTypePtrOutput
}

func DataRepositoryAssociationEventTypePtr added in v0.40.0

func DataRepositoryAssociationEventTypePtr(v string) DataRepositoryAssociationEventTypePtrInput

type DataRepositoryAssociationEventTypePtrOutput added in v0.40.0

type DataRepositoryAssociationEventTypePtrOutput struct{ *pulumi.OutputState }

func (DataRepositoryAssociationEventTypePtrOutput) Elem added in v0.40.0

func (DataRepositoryAssociationEventTypePtrOutput) ElementType added in v0.40.0

func (DataRepositoryAssociationEventTypePtrOutput) ToDataRepositoryAssociationEventTypePtrOutput added in v0.40.0

func (o DataRepositoryAssociationEventTypePtrOutput) ToDataRepositoryAssociationEventTypePtrOutput() DataRepositoryAssociationEventTypePtrOutput

func (DataRepositoryAssociationEventTypePtrOutput) ToDataRepositoryAssociationEventTypePtrOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationEventTypePtrOutput) ToDataRepositoryAssociationEventTypePtrOutputWithContext(ctx context.Context) DataRepositoryAssociationEventTypePtrOutput

func (DataRepositoryAssociationEventTypePtrOutput) ToStringPtrOutput added in v0.40.0

func (DataRepositoryAssociationEventTypePtrOutput) ToStringPtrOutputWithContext added in v0.40.0

type DataRepositoryAssociationInput added in v0.40.0

type DataRepositoryAssociationInput interface {
	pulumi.Input

	ToDataRepositoryAssociationOutput() DataRepositoryAssociationOutput
	ToDataRepositoryAssociationOutputWithContext(ctx context.Context) DataRepositoryAssociationOutput
}

type DataRepositoryAssociationOutput added in v0.40.0

type DataRepositoryAssociationOutput struct{ *pulumi.OutputState }

func (DataRepositoryAssociationOutput) AssociationId added in v0.40.0

func (DataRepositoryAssociationOutput) BatchImportMetaDataOnCreate added in v0.40.0

func (o DataRepositoryAssociationOutput) BatchImportMetaDataOnCreate() pulumi.BoolPtrOutput

A boolean flag indicating whether an import data repository task to import metadata should run after the data repository association is created. The task runs if this flag is set to “true“.

func (DataRepositoryAssociationOutput) DataRepositoryPath added in v0.40.0

func (o DataRepositoryAssociationOutput) DataRepositoryPath() pulumi.StringOutput

The path to the Amazon S3 data repository that will be linked to the file system. The path can be an S3 bucket or prefix in the format “s3://myBucket/myPrefix/“. This path specifies where in the S3 data repository files will be imported from or exported to.

func (DataRepositoryAssociationOutput) ElementType added in v0.40.0

func (DataRepositoryAssociationOutput) FileSystemId added in v0.40.0

The ID of the file system on which the data repository association is configured.

func (DataRepositoryAssociationOutput) FileSystemPath added in v0.40.0

A path on the Amazon FSx for Lustre file system that points to a high-level directory (such as “/ns1/“) or subdirectory (such as “/ns1/subdir/“) that will be mapped 1-1 with “DataRepositoryPath“. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path “/ns1/“, then you cannot link another data repository with file system path “/ns1/ns2“.

This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory.
 If you specify only a forward slash (``/``) as the file system path, you can link only one data repository to the file system. You can only specify "/" as the file system path for the first data repository associated with a file system.

func (DataRepositoryAssociationOutput) ImportedFileChunkSize added in v0.40.0

func (o DataRepositoryAssociationOutput) ImportedFileChunkSize() pulumi.IntPtrOutput

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. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system or cache.

The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.

func (DataRepositoryAssociationOutput) ResourceArn added in v0.72.0

func (DataRepositoryAssociationOutput) S3 added in v0.40.0

The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.

func (DataRepositoryAssociationOutput) Tags added in v0.40.0

An array of key-value pairs to apply to this resource.

For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).

func (DataRepositoryAssociationOutput) ToDataRepositoryAssociationOutput added in v0.40.0

func (o DataRepositoryAssociationOutput) ToDataRepositoryAssociationOutput() DataRepositoryAssociationOutput

func (DataRepositoryAssociationOutput) ToDataRepositoryAssociationOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationOutput) ToDataRepositoryAssociationOutputWithContext(ctx context.Context) DataRepositoryAssociationOutput

type DataRepositoryAssociationS3 added in v0.40.0

type DataRepositoryAssociationS3 struct {
	// Describes a data repository association's automatic export policy. The “AutoExportPolicy“ defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.
	//  The “AutoExportPolicy“ is only supported on Amazon FSx for Lustre file systems with a data repository association.
	AutoExportPolicy *DataRepositoryAssociationAutoExportPolicy `pulumi:"autoExportPolicy"`
	// Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.
	//  The “AutoImportPolicy“ is only supported on Amazon FSx for Lustre file systems with a data repository association.
	AutoImportPolicy *DataRepositoryAssociationAutoImportPolicy `pulumi:"autoImportPolicy"`
}

The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.

type DataRepositoryAssociationS3Args added in v0.40.0

type DataRepositoryAssociationS3Args struct {
	// Describes a data repository association's automatic export policy. The “AutoExportPolicy“ defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.
	//  The “AutoExportPolicy“ is only supported on Amazon FSx for Lustre file systems with a data repository association.
	AutoExportPolicy DataRepositoryAssociationAutoExportPolicyPtrInput `pulumi:"autoExportPolicy"`
	// Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.
	//  The “AutoImportPolicy“ is only supported on Amazon FSx for Lustre file systems with a data repository association.
	AutoImportPolicy DataRepositoryAssociationAutoImportPolicyPtrInput `pulumi:"autoImportPolicy"`
}

The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.

func (DataRepositoryAssociationS3Args) ElementType added in v0.40.0

func (DataRepositoryAssociationS3Args) ToDataRepositoryAssociationS3Output added in v0.40.0

func (i DataRepositoryAssociationS3Args) ToDataRepositoryAssociationS3Output() DataRepositoryAssociationS3Output

func (DataRepositoryAssociationS3Args) ToDataRepositoryAssociationS3OutputWithContext added in v0.40.0

func (i DataRepositoryAssociationS3Args) ToDataRepositoryAssociationS3OutputWithContext(ctx context.Context) DataRepositoryAssociationS3Output

func (DataRepositoryAssociationS3Args) ToDataRepositoryAssociationS3PtrOutput added in v0.40.0

func (i DataRepositoryAssociationS3Args) ToDataRepositoryAssociationS3PtrOutput() DataRepositoryAssociationS3PtrOutput

func (DataRepositoryAssociationS3Args) ToDataRepositoryAssociationS3PtrOutputWithContext added in v0.40.0

func (i DataRepositoryAssociationS3Args) ToDataRepositoryAssociationS3PtrOutputWithContext(ctx context.Context) DataRepositoryAssociationS3PtrOutput

type DataRepositoryAssociationS3Input added in v0.40.0

type DataRepositoryAssociationS3Input interface {
	pulumi.Input

	ToDataRepositoryAssociationS3Output() DataRepositoryAssociationS3Output
	ToDataRepositoryAssociationS3OutputWithContext(context.Context) DataRepositoryAssociationS3Output
}

DataRepositoryAssociationS3Input is an input type that accepts DataRepositoryAssociationS3Args and DataRepositoryAssociationS3Output values. You can construct a concrete instance of `DataRepositoryAssociationS3Input` via:

DataRepositoryAssociationS3Args{...}

type DataRepositoryAssociationS3Output added in v0.40.0

type DataRepositoryAssociationS3Output struct{ *pulumi.OutputState }

The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.

func (DataRepositoryAssociationS3Output) AutoExportPolicy added in v0.40.0

Describes a data repository association's automatic export policy. The “AutoExportPolicy“ defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.

The ``AutoExportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association.

func (DataRepositoryAssociationS3Output) AutoImportPolicy added in v0.40.0

Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.

The ``AutoImportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association.

func (DataRepositoryAssociationS3Output) ElementType added in v0.40.0

func (DataRepositoryAssociationS3Output) ToDataRepositoryAssociationS3Output added in v0.40.0

func (o DataRepositoryAssociationS3Output) ToDataRepositoryAssociationS3Output() DataRepositoryAssociationS3Output

func (DataRepositoryAssociationS3Output) ToDataRepositoryAssociationS3OutputWithContext added in v0.40.0

func (o DataRepositoryAssociationS3Output) ToDataRepositoryAssociationS3OutputWithContext(ctx context.Context) DataRepositoryAssociationS3Output

func (DataRepositoryAssociationS3Output) ToDataRepositoryAssociationS3PtrOutput added in v0.40.0

func (o DataRepositoryAssociationS3Output) ToDataRepositoryAssociationS3PtrOutput() DataRepositoryAssociationS3PtrOutput

func (DataRepositoryAssociationS3Output) ToDataRepositoryAssociationS3PtrOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationS3Output) ToDataRepositoryAssociationS3PtrOutputWithContext(ctx context.Context) DataRepositoryAssociationS3PtrOutput

type DataRepositoryAssociationS3PtrInput added in v0.40.0

type DataRepositoryAssociationS3PtrInput interface {
	pulumi.Input

	ToDataRepositoryAssociationS3PtrOutput() DataRepositoryAssociationS3PtrOutput
	ToDataRepositoryAssociationS3PtrOutputWithContext(context.Context) DataRepositoryAssociationS3PtrOutput
}

DataRepositoryAssociationS3PtrInput is an input type that accepts DataRepositoryAssociationS3Args, DataRepositoryAssociationS3Ptr and DataRepositoryAssociationS3PtrOutput values. You can construct a concrete instance of `DataRepositoryAssociationS3PtrInput` via:

        DataRepositoryAssociationS3Args{...}

or:

        nil

func DataRepositoryAssociationS3Ptr added in v0.40.0

type DataRepositoryAssociationS3PtrOutput added in v0.40.0

type DataRepositoryAssociationS3PtrOutput struct{ *pulumi.OutputState }

func (DataRepositoryAssociationS3PtrOutput) AutoExportPolicy added in v0.40.0

Describes a data repository association's automatic export policy. The “AutoExportPolicy“ defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.

The ``AutoExportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association.

func (DataRepositoryAssociationS3PtrOutput) AutoImportPolicy added in v0.40.0

Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.

The ``AutoImportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association.

func (DataRepositoryAssociationS3PtrOutput) Elem added in v0.40.0

func (DataRepositoryAssociationS3PtrOutput) ElementType added in v0.40.0

func (DataRepositoryAssociationS3PtrOutput) ToDataRepositoryAssociationS3PtrOutput added in v0.40.0

func (o DataRepositoryAssociationS3PtrOutput) ToDataRepositoryAssociationS3PtrOutput() DataRepositoryAssociationS3PtrOutput

func (DataRepositoryAssociationS3PtrOutput) ToDataRepositoryAssociationS3PtrOutputWithContext added in v0.40.0

func (o DataRepositoryAssociationS3PtrOutput) ToDataRepositoryAssociationS3PtrOutputWithContext(ctx context.Context) DataRepositoryAssociationS3PtrOutput

type DataRepositoryAssociationState added in v0.40.0

type DataRepositoryAssociationState struct {
}

func (DataRepositoryAssociationState) ElementType added in v0.40.0

type DataRepositoryAssociationTag added in v0.40.0

type DataRepositoryAssociationTag struct {
	// A value that specifies the “TagKey“, the name of the tag. Tag keys must be unique for the resource to which they are attached.
	Key string `pulumi:"key"`
	// A value that specifies the “TagValue“, the value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key-value pair in a tag set of “finances : April“ and also of “payroll : April“.
	Value string `pulumi:"value"`
}

Specifies a key-value pair for a resource tag.

type LookupDataRepositoryAssociationArgs added in v0.40.0

type LookupDataRepositoryAssociationArgs struct {
	AssociationId string `pulumi:"associationId"`
}

type LookupDataRepositoryAssociationOutputArgs added in v0.40.0

type LookupDataRepositoryAssociationOutputArgs struct {
	AssociationId pulumi.StringInput `pulumi:"associationId"`
}

func (LookupDataRepositoryAssociationOutputArgs) ElementType added in v0.40.0

type LookupDataRepositoryAssociationResult added in v0.40.0

type LookupDataRepositoryAssociationResult struct {
	AssociationId *string `pulumi:"associationId"`
	// 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. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system or cache.
	//  The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
	ImportedFileChunkSize *int    `pulumi:"importedFileChunkSize"`
	ResourceArn           *string `pulumi:"resourceArn"`
	// The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
	S3 *DataRepositoryAssociationS3 `pulumi:"s3"`
	// An array of key-value pairs to apply to this resource.
	//  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
	Tags []aws.Tag `pulumi:"tags"`
}

func LookupDataRepositoryAssociation added in v0.40.0

Creates an Amazon FSx for Lustre data repository association (DRA). A data repository association is a link between a directory on the file system and an Amazon S3 bucket or prefix. You can have a maximum of 8 data repository associations on a file system. Data repository associations are supported on all FSx for Lustre 2.12 and newer file systems, excluding “scratch_1“ deployment type.

Each data repository association must have a unique Amazon FSx file system directory and a unique S3 bucket or prefix associated with it. You can configure a data repository association for automatic import only, for automatic export only, or for both. To learn more about linking a data repository to your file system, see [Linking your file system to an S3 bucket](https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-dra-linked-data-repo.html).

type LookupDataRepositoryAssociationResultOutput added in v0.40.0

type LookupDataRepositoryAssociationResultOutput struct{ *pulumi.OutputState }

func (LookupDataRepositoryAssociationResultOutput) AssociationId added in v0.40.0

func (LookupDataRepositoryAssociationResultOutput) ElementType added in v0.40.0

func (LookupDataRepositoryAssociationResultOutput) ImportedFileChunkSize added in v0.40.0

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. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system or cache.

The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.

func (LookupDataRepositoryAssociationResultOutput) ResourceArn added in v0.72.0

func (LookupDataRepositoryAssociationResultOutput) S3 added in v0.40.0

The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.

func (LookupDataRepositoryAssociationResultOutput) Tags added in v0.40.0

An array of key-value pairs to apply to this resource.

For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).

func (LookupDataRepositoryAssociationResultOutput) ToLookupDataRepositoryAssociationResultOutput added in v0.40.0

func (o LookupDataRepositoryAssociationResultOutput) ToLookupDataRepositoryAssociationResultOutput() LookupDataRepositoryAssociationResultOutput

func (LookupDataRepositoryAssociationResultOutput) ToLookupDataRepositoryAssociationResultOutputWithContext added in v0.40.0

func (o LookupDataRepositoryAssociationResultOutput) ToLookupDataRepositoryAssociationResultOutputWithContext(ctx context.Context) LookupDataRepositoryAssociationResultOutput

Jump to

Keyboard shortcuts

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