efs

package
v6.25.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessPoint

type AccessPoint struct {
	pulumi.CustomResourceState

	// ARN of the access point.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// ARN of the file system.
	FileSystemArn pulumi.StringOutput `pulumi:"fileSystemArn"`
	// ID of the file system for which the access point is intended.
	FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"`
	OwnerId      pulumi.StringOutput `pulumi:"ownerId"`
	// Operating system user and group applied to all file system requests made using the access point. Detailed below.
	PosixUser AccessPointPosixUserPtrOutput `pulumi:"posixUser"`
	// Directory on the Amazon EFS file system that the access point provides access to. Detailed below.
	RootDirectory AccessPointRootDirectoryOutput `pulumi:"rootDirectory"`
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an Elastic File System (EFS) access point.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := efs.NewAccessPoint(ctx, "test", &efs.AccessPointArgs{
			FileSystemId: pulumi.Any(foo.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import the EFS access points using the `id`. For example:

```sh

$ pulumi import aws:efs/accessPoint:AccessPoint test fsap-52a643fb

```

func GetAccessPoint

func GetAccessPoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccessPointState, opts ...pulumi.ResourceOption) (*AccessPoint, error)

GetAccessPoint gets an existing AccessPoint 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 NewAccessPoint

func NewAccessPoint(ctx *pulumi.Context,
	name string, args *AccessPointArgs, opts ...pulumi.ResourceOption) (*AccessPoint, error)

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

func (*AccessPoint) ElementType

func (*AccessPoint) ElementType() reflect.Type

func (*AccessPoint) ToAccessPointOutput

func (i *AccessPoint) ToAccessPointOutput() AccessPointOutput

func (*AccessPoint) ToAccessPointOutputWithContext

func (i *AccessPoint) ToAccessPointOutputWithContext(ctx context.Context) AccessPointOutput

type AccessPointArgs

type AccessPointArgs struct {
	// ID of the file system for which the access point is intended.
	FileSystemId pulumi.StringInput
	// Operating system user and group applied to all file system requests made using the access point. Detailed below.
	PosixUser AccessPointPosixUserPtrInput
	// Directory on the Amazon EFS file system that the access point provides access to. Detailed below.
	RootDirectory AccessPointRootDirectoryPtrInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a AccessPoint resource.

func (AccessPointArgs) ElementType

func (AccessPointArgs) ElementType() reflect.Type

type AccessPointArray

type AccessPointArray []AccessPointInput

func (AccessPointArray) ElementType

func (AccessPointArray) ElementType() reflect.Type

func (AccessPointArray) ToAccessPointArrayOutput

func (i AccessPointArray) ToAccessPointArrayOutput() AccessPointArrayOutput

func (AccessPointArray) ToAccessPointArrayOutputWithContext

func (i AccessPointArray) ToAccessPointArrayOutputWithContext(ctx context.Context) AccessPointArrayOutput

type AccessPointArrayInput

type AccessPointArrayInput interface {
	pulumi.Input

	ToAccessPointArrayOutput() AccessPointArrayOutput
	ToAccessPointArrayOutputWithContext(context.Context) AccessPointArrayOutput
}

AccessPointArrayInput is an input type that accepts AccessPointArray and AccessPointArrayOutput values. You can construct a concrete instance of `AccessPointArrayInput` via:

AccessPointArray{ AccessPointArgs{...} }

type AccessPointArrayOutput

type AccessPointArrayOutput struct{ *pulumi.OutputState }

func (AccessPointArrayOutput) ElementType

func (AccessPointArrayOutput) ElementType() reflect.Type

func (AccessPointArrayOutput) Index

func (AccessPointArrayOutput) ToAccessPointArrayOutput

func (o AccessPointArrayOutput) ToAccessPointArrayOutput() AccessPointArrayOutput

func (AccessPointArrayOutput) ToAccessPointArrayOutputWithContext

func (o AccessPointArrayOutput) ToAccessPointArrayOutputWithContext(ctx context.Context) AccessPointArrayOutput

type AccessPointInput

type AccessPointInput interface {
	pulumi.Input

	ToAccessPointOutput() AccessPointOutput
	ToAccessPointOutputWithContext(ctx context.Context) AccessPointOutput
}

type AccessPointMap

type AccessPointMap map[string]AccessPointInput

func (AccessPointMap) ElementType

func (AccessPointMap) ElementType() reflect.Type

func (AccessPointMap) ToAccessPointMapOutput

func (i AccessPointMap) ToAccessPointMapOutput() AccessPointMapOutput

func (AccessPointMap) ToAccessPointMapOutputWithContext

func (i AccessPointMap) ToAccessPointMapOutputWithContext(ctx context.Context) AccessPointMapOutput

type AccessPointMapInput

type AccessPointMapInput interface {
	pulumi.Input

	ToAccessPointMapOutput() AccessPointMapOutput
	ToAccessPointMapOutputWithContext(context.Context) AccessPointMapOutput
}

AccessPointMapInput is an input type that accepts AccessPointMap and AccessPointMapOutput values. You can construct a concrete instance of `AccessPointMapInput` via:

AccessPointMap{ "key": AccessPointArgs{...} }

type AccessPointMapOutput

type AccessPointMapOutput struct{ *pulumi.OutputState }

func (AccessPointMapOutput) ElementType

func (AccessPointMapOutput) ElementType() reflect.Type

func (AccessPointMapOutput) MapIndex

func (AccessPointMapOutput) ToAccessPointMapOutput

func (o AccessPointMapOutput) ToAccessPointMapOutput() AccessPointMapOutput

func (AccessPointMapOutput) ToAccessPointMapOutputWithContext

func (o AccessPointMapOutput) ToAccessPointMapOutputWithContext(ctx context.Context) AccessPointMapOutput

type AccessPointOutput

type AccessPointOutput struct{ *pulumi.OutputState }

func (AccessPointOutput) Arn

ARN of the access point.

func (AccessPointOutput) ElementType

func (AccessPointOutput) ElementType() reflect.Type

func (AccessPointOutput) FileSystemArn

func (o AccessPointOutput) FileSystemArn() pulumi.StringOutput

ARN of the file system.

func (AccessPointOutput) FileSystemId

func (o AccessPointOutput) FileSystemId() pulumi.StringOutput

ID of the file system for which the access point is intended.

func (AccessPointOutput) OwnerId

func (AccessPointOutput) PosixUser

Operating system user and group applied to all file system requests made using the access point. Detailed below.

func (AccessPointOutput) RootDirectory

Directory on the Amazon EFS file system that the access point provides access to. Detailed below.

func (AccessPointOutput) Tags

Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level

func (AccessPointOutput) TagsAll deprecated

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (AccessPointOutput) ToAccessPointOutput

func (o AccessPointOutput) ToAccessPointOutput() AccessPointOutput

func (AccessPointOutput) ToAccessPointOutputWithContext

func (o AccessPointOutput) ToAccessPointOutputWithContext(ctx context.Context) AccessPointOutput

type AccessPointPosixUser

type AccessPointPosixUser struct {
	// POSIX group ID used for all file system operations using this access point.
	Gid int `pulumi:"gid"`
	// Secondary POSIX group IDs used for all file system operations using this access point.
	SecondaryGids []int `pulumi:"secondaryGids"`
	// POSIX user ID used for all file system operations using this access point.
	Uid int `pulumi:"uid"`
}

type AccessPointPosixUserArgs

type AccessPointPosixUserArgs struct {
	// POSIX group ID used for all file system operations using this access point.
	Gid pulumi.IntInput `pulumi:"gid"`
	// Secondary POSIX group IDs used for all file system operations using this access point.
	SecondaryGids pulumi.IntArrayInput `pulumi:"secondaryGids"`
	// POSIX user ID used for all file system operations using this access point.
	Uid pulumi.IntInput `pulumi:"uid"`
}

func (AccessPointPosixUserArgs) ElementType

func (AccessPointPosixUserArgs) ElementType() reflect.Type

func (AccessPointPosixUserArgs) ToAccessPointPosixUserOutput

func (i AccessPointPosixUserArgs) ToAccessPointPosixUserOutput() AccessPointPosixUserOutput

func (AccessPointPosixUserArgs) ToAccessPointPosixUserOutputWithContext

func (i AccessPointPosixUserArgs) ToAccessPointPosixUserOutputWithContext(ctx context.Context) AccessPointPosixUserOutput

func (AccessPointPosixUserArgs) ToAccessPointPosixUserPtrOutput

func (i AccessPointPosixUserArgs) ToAccessPointPosixUserPtrOutput() AccessPointPosixUserPtrOutput

func (AccessPointPosixUserArgs) ToAccessPointPosixUserPtrOutputWithContext

func (i AccessPointPosixUserArgs) ToAccessPointPosixUserPtrOutputWithContext(ctx context.Context) AccessPointPosixUserPtrOutput

type AccessPointPosixUserInput

type AccessPointPosixUserInput interface {
	pulumi.Input

	ToAccessPointPosixUserOutput() AccessPointPosixUserOutput
	ToAccessPointPosixUserOutputWithContext(context.Context) AccessPointPosixUserOutput
}

AccessPointPosixUserInput is an input type that accepts AccessPointPosixUserArgs and AccessPointPosixUserOutput values. You can construct a concrete instance of `AccessPointPosixUserInput` via:

AccessPointPosixUserArgs{...}

type AccessPointPosixUserOutput

type AccessPointPosixUserOutput struct{ *pulumi.OutputState }

func (AccessPointPosixUserOutput) ElementType

func (AccessPointPosixUserOutput) ElementType() reflect.Type

func (AccessPointPosixUserOutput) Gid

POSIX group ID used for all file system operations using this access point.

func (AccessPointPosixUserOutput) SecondaryGids

Secondary POSIX group IDs used for all file system operations using this access point.

func (AccessPointPosixUserOutput) ToAccessPointPosixUserOutput

func (o AccessPointPosixUserOutput) ToAccessPointPosixUserOutput() AccessPointPosixUserOutput

func (AccessPointPosixUserOutput) ToAccessPointPosixUserOutputWithContext

func (o AccessPointPosixUserOutput) ToAccessPointPosixUserOutputWithContext(ctx context.Context) AccessPointPosixUserOutput

func (AccessPointPosixUserOutput) ToAccessPointPosixUserPtrOutput

func (o AccessPointPosixUserOutput) ToAccessPointPosixUserPtrOutput() AccessPointPosixUserPtrOutput

func (AccessPointPosixUserOutput) ToAccessPointPosixUserPtrOutputWithContext

func (o AccessPointPosixUserOutput) ToAccessPointPosixUserPtrOutputWithContext(ctx context.Context) AccessPointPosixUserPtrOutput

func (AccessPointPosixUserOutput) Uid

POSIX user ID used for all file system operations using this access point.

type AccessPointPosixUserPtrInput

type AccessPointPosixUserPtrInput interface {
	pulumi.Input

	ToAccessPointPosixUserPtrOutput() AccessPointPosixUserPtrOutput
	ToAccessPointPosixUserPtrOutputWithContext(context.Context) AccessPointPosixUserPtrOutput
}

AccessPointPosixUserPtrInput is an input type that accepts AccessPointPosixUserArgs, AccessPointPosixUserPtr and AccessPointPosixUserPtrOutput values. You can construct a concrete instance of `AccessPointPosixUserPtrInput` via:

        AccessPointPosixUserArgs{...}

or:

        nil

type AccessPointPosixUserPtrOutput

type AccessPointPosixUserPtrOutput struct{ *pulumi.OutputState }

func (AccessPointPosixUserPtrOutput) Elem

func (AccessPointPosixUserPtrOutput) ElementType

func (AccessPointPosixUserPtrOutput) Gid

POSIX group ID used for all file system operations using this access point.

func (AccessPointPosixUserPtrOutput) SecondaryGids

Secondary POSIX group IDs used for all file system operations using this access point.

func (AccessPointPosixUserPtrOutput) ToAccessPointPosixUserPtrOutput

func (o AccessPointPosixUserPtrOutput) ToAccessPointPosixUserPtrOutput() AccessPointPosixUserPtrOutput

func (AccessPointPosixUserPtrOutput) ToAccessPointPosixUserPtrOutputWithContext

func (o AccessPointPosixUserPtrOutput) ToAccessPointPosixUserPtrOutputWithContext(ctx context.Context) AccessPointPosixUserPtrOutput

func (AccessPointPosixUserPtrOutput) Uid

POSIX user ID used for all file system operations using this access point.

type AccessPointRootDirectory

type AccessPointRootDirectory struct {
	// POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.
	CreationInfo *AccessPointRootDirectoryCreationInfo `pulumi:"creationInfo"`
	// Path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide `creationInfo`.
	Path *string `pulumi:"path"`
}

type AccessPointRootDirectoryArgs

type AccessPointRootDirectoryArgs struct {
	// POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.
	CreationInfo AccessPointRootDirectoryCreationInfoPtrInput `pulumi:"creationInfo"`
	// Path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide `creationInfo`.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

func (AccessPointRootDirectoryArgs) ElementType

func (AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryOutput

func (i AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryOutput() AccessPointRootDirectoryOutput

func (AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryOutputWithContext

func (i AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryOutputWithContext(ctx context.Context) AccessPointRootDirectoryOutput

func (AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryPtrOutput

func (i AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryPtrOutput() AccessPointRootDirectoryPtrOutput

func (AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryPtrOutputWithContext

func (i AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryPtrOutput

type AccessPointRootDirectoryCreationInfo

type AccessPointRootDirectoryCreationInfo struct {
	// POSIX group ID to apply to the `rootDirectory`.
	OwnerGid int `pulumi:"ownerGid"`
	// POSIX user ID to apply to the `rootDirectory`.
	OwnerUid int `pulumi:"ownerUid"`
	// POSIX permissions to apply to the RootDirectory, in the format of an octal number representing the file's mode bits.
	Permissions string `pulumi:"permissions"`
}

type AccessPointRootDirectoryCreationInfoArgs

type AccessPointRootDirectoryCreationInfoArgs struct {
	// POSIX group ID to apply to the `rootDirectory`.
	OwnerGid pulumi.IntInput `pulumi:"ownerGid"`
	// POSIX user ID to apply to the `rootDirectory`.
	OwnerUid pulumi.IntInput `pulumi:"ownerUid"`
	// POSIX permissions to apply to the RootDirectory, in the format of an octal number representing the file's mode bits.
	Permissions pulumi.StringInput `pulumi:"permissions"`
}

func (AccessPointRootDirectoryCreationInfoArgs) ElementType

func (AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoOutput

func (i AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoOutput() AccessPointRootDirectoryCreationInfoOutput

func (AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoOutputWithContext

func (i AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoOutputWithContext(ctx context.Context) AccessPointRootDirectoryCreationInfoOutput

func (AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoPtrOutput

func (i AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoPtrOutput() AccessPointRootDirectoryCreationInfoPtrOutput

func (AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext

func (i AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryCreationInfoPtrOutput

type AccessPointRootDirectoryCreationInfoInput

type AccessPointRootDirectoryCreationInfoInput interface {
	pulumi.Input

	ToAccessPointRootDirectoryCreationInfoOutput() AccessPointRootDirectoryCreationInfoOutput
	ToAccessPointRootDirectoryCreationInfoOutputWithContext(context.Context) AccessPointRootDirectoryCreationInfoOutput
}

AccessPointRootDirectoryCreationInfoInput is an input type that accepts AccessPointRootDirectoryCreationInfoArgs and AccessPointRootDirectoryCreationInfoOutput values. You can construct a concrete instance of `AccessPointRootDirectoryCreationInfoInput` via:

AccessPointRootDirectoryCreationInfoArgs{...}

type AccessPointRootDirectoryCreationInfoOutput

type AccessPointRootDirectoryCreationInfoOutput struct{ *pulumi.OutputState }

func (AccessPointRootDirectoryCreationInfoOutput) ElementType

func (AccessPointRootDirectoryCreationInfoOutput) OwnerGid

POSIX group ID to apply to the `rootDirectory`.

func (AccessPointRootDirectoryCreationInfoOutput) OwnerUid

POSIX user ID to apply to the `rootDirectory`.

func (AccessPointRootDirectoryCreationInfoOutput) Permissions

POSIX permissions to apply to the RootDirectory, in the format of an octal number representing the file's mode bits.

func (AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoOutput

func (o AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoOutput() AccessPointRootDirectoryCreationInfoOutput

func (AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoOutputWithContext

func (o AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoOutputWithContext(ctx context.Context) AccessPointRootDirectoryCreationInfoOutput

func (AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoPtrOutput

func (o AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoPtrOutput() AccessPointRootDirectoryCreationInfoPtrOutput

func (AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext

func (o AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryCreationInfoPtrOutput

type AccessPointRootDirectoryCreationInfoPtrInput

type AccessPointRootDirectoryCreationInfoPtrInput interface {
	pulumi.Input

	ToAccessPointRootDirectoryCreationInfoPtrOutput() AccessPointRootDirectoryCreationInfoPtrOutput
	ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext(context.Context) AccessPointRootDirectoryCreationInfoPtrOutput
}

AccessPointRootDirectoryCreationInfoPtrInput is an input type that accepts AccessPointRootDirectoryCreationInfoArgs, AccessPointRootDirectoryCreationInfoPtr and AccessPointRootDirectoryCreationInfoPtrOutput values. You can construct a concrete instance of `AccessPointRootDirectoryCreationInfoPtrInput` via:

        AccessPointRootDirectoryCreationInfoArgs{...}

or:

        nil

type AccessPointRootDirectoryCreationInfoPtrOutput

type AccessPointRootDirectoryCreationInfoPtrOutput struct{ *pulumi.OutputState }

func (AccessPointRootDirectoryCreationInfoPtrOutput) Elem

func (AccessPointRootDirectoryCreationInfoPtrOutput) ElementType

func (AccessPointRootDirectoryCreationInfoPtrOutput) OwnerGid

POSIX group ID to apply to the `rootDirectory`.

func (AccessPointRootDirectoryCreationInfoPtrOutput) OwnerUid

POSIX user ID to apply to the `rootDirectory`.

func (AccessPointRootDirectoryCreationInfoPtrOutput) Permissions

POSIX permissions to apply to the RootDirectory, in the format of an octal number representing the file's mode bits.

func (AccessPointRootDirectoryCreationInfoPtrOutput) ToAccessPointRootDirectoryCreationInfoPtrOutput

func (o AccessPointRootDirectoryCreationInfoPtrOutput) ToAccessPointRootDirectoryCreationInfoPtrOutput() AccessPointRootDirectoryCreationInfoPtrOutput

func (AccessPointRootDirectoryCreationInfoPtrOutput) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext

func (o AccessPointRootDirectoryCreationInfoPtrOutput) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryCreationInfoPtrOutput

type AccessPointRootDirectoryInput

type AccessPointRootDirectoryInput interface {
	pulumi.Input

	ToAccessPointRootDirectoryOutput() AccessPointRootDirectoryOutput
	ToAccessPointRootDirectoryOutputWithContext(context.Context) AccessPointRootDirectoryOutput
}

AccessPointRootDirectoryInput is an input type that accepts AccessPointRootDirectoryArgs and AccessPointRootDirectoryOutput values. You can construct a concrete instance of `AccessPointRootDirectoryInput` via:

AccessPointRootDirectoryArgs{...}

type AccessPointRootDirectoryOutput

type AccessPointRootDirectoryOutput struct{ *pulumi.OutputState }

func (AccessPointRootDirectoryOutput) CreationInfo

POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.

func (AccessPointRootDirectoryOutput) ElementType

func (AccessPointRootDirectoryOutput) Path

Path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide `creationInfo`.

func (AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryOutput

func (o AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryOutput() AccessPointRootDirectoryOutput

func (AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryOutputWithContext

func (o AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryOutputWithContext(ctx context.Context) AccessPointRootDirectoryOutput

func (AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryPtrOutput

func (o AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryPtrOutput() AccessPointRootDirectoryPtrOutput

func (AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryPtrOutputWithContext

func (o AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryPtrOutput

type AccessPointRootDirectoryPtrInput

type AccessPointRootDirectoryPtrInput interface {
	pulumi.Input

	ToAccessPointRootDirectoryPtrOutput() AccessPointRootDirectoryPtrOutput
	ToAccessPointRootDirectoryPtrOutputWithContext(context.Context) AccessPointRootDirectoryPtrOutput
}

AccessPointRootDirectoryPtrInput is an input type that accepts AccessPointRootDirectoryArgs, AccessPointRootDirectoryPtr and AccessPointRootDirectoryPtrOutput values. You can construct a concrete instance of `AccessPointRootDirectoryPtrInput` via:

        AccessPointRootDirectoryArgs{...}

or:

        nil

type AccessPointRootDirectoryPtrOutput

type AccessPointRootDirectoryPtrOutput struct{ *pulumi.OutputState }

func (AccessPointRootDirectoryPtrOutput) CreationInfo

POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.

func (AccessPointRootDirectoryPtrOutput) Elem

func (AccessPointRootDirectoryPtrOutput) ElementType

func (AccessPointRootDirectoryPtrOutput) Path

Path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide `creationInfo`.

func (AccessPointRootDirectoryPtrOutput) ToAccessPointRootDirectoryPtrOutput

func (o AccessPointRootDirectoryPtrOutput) ToAccessPointRootDirectoryPtrOutput() AccessPointRootDirectoryPtrOutput

func (AccessPointRootDirectoryPtrOutput) ToAccessPointRootDirectoryPtrOutputWithContext

func (o AccessPointRootDirectoryPtrOutput) ToAccessPointRootDirectoryPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryPtrOutput

type AccessPointState

type AccessPointState struct {
	// ARN of the access point.
	Arn pulumi.StringPtrInput
	// ARN of the file system.
	FileSystemArn pulumi.StringPtrInput
	// ID of the file system for which the access point is intended.
	FileSystemId pulumi.StringPtrInput
	OwnerId      pulumi.StringPtrInput
	// Operating system user and group applied to all file system requests made using the access point. Detailed below.
	PosixUser AccessPointPosixUserPtrInput
	// Directory on the Amazon EFS file system that the access point provides access to. Detailed below.
	RootDirectory AccessPointRootDirectoryPtrInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (AccessPointState) ElementType

func (AccessPointState) ElementType() reflect.Type

type BackupPolicy

type BackupPolicy struct {
	pulumi.CustomResourceState

	// A backupPolicy object (documented below).
	BackupPolicy BackupPolicyBackupPolicyOutput `pulumi:"backupPolicy"`
	// The ID of the EFS file system.
	FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"`
}

Provides an Elastic File System (EFS) Backup Policy resource. Backup policies turn automatic backups on or off for an existing file system.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fs, err := efs.NewFileSystem(ctx, "fs", &efs.FileSystemArgs{
			CreationToken: pulumi.String("my-product"),
		})
		if err != nil {
			return err
		}
		_, err = efs.NewBackupPolicy(ctx, "policy", &efs.BackupPolicyArgs{
			FileSystemId: fs.ID(),
			BackupPolicy: &efs.BackupPolicyBackupPolicyArgs{
				Status: pulumi.String("ENABLED"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import the EFS backup policies using the `id`. For example:

```sh

$ pulumi import aws:efs/backupPolicy:BackupPolicy example fs-6fa144c6

```

func GetBackupPolicy

func GetBackupPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BackupPolicyState, opts ...pulumi.ResourceOption) (*BackupPolicy, error)

GetBackupPolicy gets an existing BackupPolicy 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 NewBackupPolicy

func NewBackupPolicy(ctx *pulumi.Context,
	name string, args *BackupPolicyArgs, opts ...pulumi.ResourceOption) (*BackupPolicy, error)

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

func (*BackupPolicy) ElementType

func (*BackupPolicy) ElementType() reflect.Type

func (*BackupPolicy) ToBackupPolicyOutput

func (i *BackupPolicy) ToBackupPolicyOutput() BackupPolicyOutput

func (*BackupPolicy) ToBackupPolicyOutputWithContext

func (i *BackupPolicy) ToBackupPolicyOutputWithContext(ctx context.Context) BackupPolicyOutput

type BackupPolicyArgs

type BackupPolicyArgs struct {
	// A backupPolicy object (documented below).
	BackupPolicy BackupPolicyBackupPolicyInput
	// The ID of the EFS file system.
	FileSystemId pulumi.StringInput
}

The set of arguments for constructing a BackupPolicy resource.

func (BackupPolicyArgs) ElementType

func (BackupPolicyArgs) ElementType() reflect.Type

type BackupPolicyArray

type BackupPolicyArray []BackupPolicyInput

func (BackupPolicyArray) ElementType

func (BackupPolicyArray) ElementType() reflect.Type

func (BackupPolicyArray) ToBackupPolicyArrayOutput

func (i BackupPolicyArray) ToBackupPolicyArrayOutput() BackupPolicyArrayOutput

func (BackupPolicyArray) ToBackupPolicyArrayOutputWithContext

func (i BackupPolicyArray) ToBackupPolicyArrayOutputWithContext(ctx context.Context) BackupPolicyArrayOutput

type BackupPolicyArrayInput

type BackupPolicyArrayInput interface {
	pulumi.Input

	ToBackupPolicyArrayOutput() BackupPolicyArrayOutput
	ToBackupPolicyArrayOutputWithContext(context.Context) BackupPolicyArrayOutput
}

BackupPolicyArrayInput is an input type that accepts BackupPolicyArray and BackupPolicyArrayOutput values. You can construct a concrete instance of `BackupPolicyArrayInput` via:

BackupPolicyArray{ BackupPolicyArgs{...} }

type BackupPolicyArrayOutput

type BackupPolicyArrayOutput struct{ *pulumi.OutputState }

func (BackupPolicyArrayOutput) ElementType

func (BackupPolicyArrayOutput) ElementType() reflect.Type

func (BackupPolicyArrayOutput) Index

func (BackupPolicyArrayOutput) ToBackupPolicyArrayOutput

func (o BackupPolicyArrayOutput) ToBackupPolicyArrayOutput() BackupPolicyArrayOutput

func (BackupPolicyArrayOutput) ToBackupPolicyArrayOutputWithContext

func (o BackupPolicyArrayOutput) ToBackupPolicyArrayOutputWithContext(ctx context.Context) BackupPolicyArrayOutput

type BackupPolicyBackupPolicy

type BackupPolicyBackupPolicy struct {
	// A status of the backup policy. Valid values: `ENABLED`, `DISABLED`.
	Status string `pulumi:"status"`
}

type BackupPolicyBackupPolicyArgs

type BackupPolicyBackupPolicyArgs struct {
	// A status of the backup policy. Valid values: `ENABLED`, `DISABLED`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (BackupPolicyBackupPolicyArgs) ElementType

func (BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyOutput

func (i BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyOutput() BackupPolicyBackupPolicyOutput

func (BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyOutputWithContext

func (i BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyOutputWithContext(ctx context.Context) BackupPolicyBackupPolicyOutput

func (BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyPtrOutput

func (i BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyPtrOutput() BackupPolicyBackupPolicyPtrOutput

func (BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyPtrOutputWithContext

func (i BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyPtrOutputWithContext(ctx context.Context) BackupPolicyBackupPolicyPtrOutput

type BackupPolicyBackupPolicyInput

type BackupPolicyBackupPolicyInput interface {
	pulumi.Input

	ToBackupPolicyBackupPolicyOutput() BackupPolicyBackupPolicyOutput
	ToBackupPolicyBackupPolicyOutputWithContext(context.Context) BackupPolicyBackupPolicyOutput
}

BackupPolicyBackupPolicyInput is an input type that accepts BackupPolicyBackupPolicyArgs and BackupPolicyBackupPolicyOutput values. You can construct a concrete instance of `BackupPolicyBackupPolicyInput` via:

BackupPolicyBackupPolicyArgs{...}

type BackupPolicyBackupPolicyOutput

type BackupPolicyBackupPolicyOutput struct{ *pulumi.OutputState }

func (BackupPolicyBackupPolicyOutput) ElementType

func (BackupPolicyBackupPolicyOutput) Status

A status of the backup policy. Valid values: `ENABLED`, `DISABLED`.

func (BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyOutput

func (o BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyOutput() BackupPolicyBackupPolicyOutput

func (BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyOutputWithContext

func (o BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyOutputWithContext(ctx context.Context) BackupPolicyBackupPolicyOutput

func (BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyPtrOutput

func (o BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyPtrOutput() BackupPolicyBackupPolicyPtrOutput

func (BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyPtrOutputWithContext

func (o BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyPtrOutputWithContext(ctx context.Context) BackupPolicyBackupPolicyPtrOutput

type BackupPolicyBackupPolicyPtrInput

type BackupPolicyBackupPolicyPtrInput interface {
	pulumi.Input

	ToBackupPolicyBackupPolicyPtrOutput() BackupPolicyBackupPolicyPtrOutput
	ToBackupPolicyBackupPolicyPtrOutputWithContext(context.Context) BackupPolicyBackupPolicyPtrOutput
}

BackupPolicyBackupPolicyPtrInput is an input type that accepts BackupPolicyBackupPolicyArgs, BackupPolicyBackupPolicyPtr and BackupPolicyBackupPolicyPtrOutput values. You can construct a concrete instance of `BackupPolicyBackupPolicyPtrInput` via:

        BackupPolicyBackupPolicyArgs{...}

or:

        nil

type BackupPolicyBackupPolicyPtrOutput

type BackupPolicyBackupPolicyPtrOutput struct{ *pulumi.OutputState }

func (BackupPolicyBackupPolicyPtrOutput) Elem

func (BackupPolicyBackupPolicyPtrOutput) ElementType

func (BackupPolicyBackupPolicyPtrOutput) Status

A status of the backup policy. Valid values: `ENABLED`, `DISABLED`.

func (BackupPolicyBackupPolicyPtrOutput) ToBackupPolicyBackupPolicyPtrOutput

func (o BackupPolicyBackupPolicyPtrOutput) ToBackupPolicyBackupPolicyPtrOutput() BackupPolicyBackupPolicyPtrOutput

func (BackupPolicyBackupPolicyPtrOutput) ToBackupPolicyBackupPolicyPtrOutputWithContext

func (o BackupPolicyBackupPolicyPtrOutput) ToBackupPolicyBackupPolicyPtrOutputWithContext(ctx context.Context) BackupPolicyBackupPolicyPtrOutput

type BackupPolicyInput

type BackupPolicyInput interface {
	pulumi.Input

	ToBackupPolicyOutput() BackupPolicyOutput
	ToBackupPolicyOutputWithContext(ctx context.Context) BackupPolicyOutput
}

type BackupPolicyMap

type BackupPolicyMap map[string]BackupPolicyInput

func (BackupPolicyMap) ElementType

func (BackupPolicyMap) ElementType() reflect.Type

func (BackupPolicyMap) ToBackupPolicyMapOutput

func (i BackupPolicyMap) ToBackupPolicyMapOutput() BackupPolicyMapOutput

func (BackupPolicyMap) ToBackupPolicyMapOutputWithContext

func (i BackupPolicyMap) ToBackupPolicyMapOutputWithContext(ctx context.Context) BackupPolicyMapOutput

type BackupPolicyMapInput

type BackupPolicyMapInput interface {
	pulumi.Input

	ToBackupPolicyMapOutput() BackupPolicyMapOutput
	ToBackupPolicyMapOutputWithContext(context.Context) BackupPolicyMapOutput
}

BackupPolicyMapInput is an input type that accepts BackupPolicyMap and BackupPolicyMapOutput values. You can construct a concrete instance of `BackupPolicyMapInput` via:

BackupPolicyMap{ "key": BackupPolicyArgs{...} }

type BackupPolicyMapOutput

type BackupPolicyMapOutput struct{ *pulumi.OutputState }

func (BackupPolicyMapOutput) ElementType

func (BackupPolicyMapOutput) ElementType() reflect.Type

func (BackupPolicyMapOutput) MapIndex

func (BackupPolicyMapOutput) ToBackupPolicyMapOutput

func (o BackupPolicyMapOutput) ToBackupPolicyMapOutput() BackupPolicyMapOutput

func (BackupPolicyMapOutput) ToBackupPolicyMapOutputWithContext

func (o BackupPolicyMapOutput) ToBackupPolicyMapOutputWithContext(ctx context.Context) BackupPolicyMapOutput

type BackupPolicyOutput

type BackupPolicyOutput struct{ *pulumi.OutputState }

func (BackupPolicyOutput) BackupPolicy

A backupPolicy object (documented below).

func (BackupPolicyOutput) ElementType

func (BackupPolicyOutput) ElementType() reflect.Type

func (BackupPolicyOutput) FileSystemId

func (o BackupPolicyOutput) FileSystemId() pulumi.StringOutput

The ID of the EFS file system.

func (BackupPolicyOutput) ToBackupPolicyOutput

func (o BackupPolicyOutput) ToBackupPolicyOutput() BackupPolicyOutput

func (BackupPolicyOutput) ToBackupPolicyOutputWithContext

func (o BackupPolicyOutput) ToBackupPolicyOutputWithContext(ctx context.Context) BackupPolicyOutput

type BackupPolicyState

type BackupPolicyState struct {
	// A backupPolicy object (documented below).
	BackupPolicy BackupPolicyBackupPolicyPtrInput
	// The ID of the EFS file system.
	FileSystemId pulumi.StringPtrInput
}

func (BackupPolicyState) ElementType

func (BackupPolicyState) ElementType() reflect.Type

type FileSystem

type FileSystem struct {
	pulumi.CustomResourceState

	// Amazon Resource Name of the file system.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The identifier of the Availability Zone in which the file system's One Zone storage classes exist.
	AvailabilityZoneId pulumi.StringOutput `pulumi:"availabilityZoneId"`
	// the AWS Availability Zone in which to create the file system. Used to create a file system that uses One Zone storage classes. See [user guide](https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html) for more information.
	AvailabilityZoneName pulumi.StringOutput `pulumi:"availabilityZoneName"`
	// A unique name (a maximum of 64 characters are allowed)
	// used as reference when creating the Elastic File System to ensure idempotent file
	// system creation. By default generated by this provider. See [Elastic File System]
	// user guide for more information.
	CreationToken pulumi.StringOutput `pulumi:"creationToken"`
	// The DNS name for the filesystem per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// If true, the disk will be encrypted.
	Encrypted pulumi.BoolOutput `pulumi:"encrypted"`
	// The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.
	KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"`
	// A file system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) object. See `lifecyclePolicy` block below for details.
	LifecyclePolicies FileSystemLifecyclePolicyArrayOutput `pulumi:"lifecyclePolicies"`
	// The value of the file system's `Name` tag.
	Name pulumi.StringOutput `pulumi:"name"`
	// The current number of mount targets that the file system has.
	NumberOfMountTargets pulumi.IntOutput `pulumi:"numberOfMountTargets"`
	// The AWS account that created the file system. If the file system was createdby an IAM user, the parent account to which the user belongs is the owner.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// The file system performance mode. Can be either `"generalPurpose"` or `"maxIO"` (Default: `"generalPurpose"`).
	PerformanceMode pulumi.StringOutput `pulumi:"performanceMode"`
	// A file system [protection](https://docs.aws.amazon.com/efs/latest/ug/API_FileSystemProtectionDescription.html) object. See `protection` block below for details.
	Protection FileSystemProtectionOutput `pulumi:"protection"`
	// The throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with `throughputMode` set to `provisioned`.
	ProvisionedThroughputInMibps pulumi.Float64PtrOutput `pulumi:"provisionedThroughputInMibps"`
	// The latest known metered size (in bytes) of data stored in the file system, the value is not the exact size that the file system was at any point in time. See Size In Bytes.
	SizeInBytes FileSystemSizeInByteArrayOutput `pulumi:"sizeInBytes"`
	// A map of tags to assign to the file system. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `provisioned`, or `elastic`. When using `provisioned`, also set `provisionedThroughputInMibps`.
	ThroughputMode pulumi.StringPtrOutput `pulumi:"throughputMode"`
}

Provides an Elastic File System (EFS) File System resource.

## Example Usage ### EFS File System w/ tags

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := efs.NewFileSystem(ctx, "foo", &efs.FileSystemArgs{
			CreationToken: pulumi.String("my-product"),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("MyProduct"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Using lifecycle policy

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := efs.NewFileSystem(ctx, "foo_with_lifecyle_policy", &efs.FileSystemArgs{
			CreationToken: pulumi.String("my-product"),
			LifecyclePolicies: efs.FileSystemLifecyclePolicyArray{
				&efs.FileSystemLifecyclePolicyArgs{
					TransitionToIa: pulumi.String("AFTER_30_DAYS"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import the EFS file systems using the `id`. For example:

```sh

$ pulumi import aws:efs/fileSystem:FileSystem foo fs-6fa144c6

```

func GetFileSystem

func GetFileSystem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FileSystemState, opts ...pulumi.ResourceOption) (*FileSystem, error)

GetFileSystem gets an existing FileSystem 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 NewFileSystem

func NewFileSystem(ctx *pulumi.Context,
	name string, args *FileSystemArgs, opts ...pulumi.ResourceOption) (*FileSystem, error)

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

func (*FileSystem) ElementType

func (*FileSystem) ElementType() reflect.Type

func (*FileSystem) ToFileSystemOutput

func (i *FileSystem) ToFileSystemOutput() FileSystemOutput

func (*FileSystem) ToFileSystemOutputWithContext

func (i *FileSystem) ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput

type FileSystemArgs

type FileSystemArgs struct {
	// the AWS Availability Zone in which to create the file system. Used to create a file system that uses One Zone storage classes. See [user guide](https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html) for more information.
	AvailabilityZoneName pulumi.StringPtrInput
	// A unique name (a maximum of 64 characters are allowed)
	// used as reference when creating the Elastic File System to ensure idempotent file
	// system creation. By default generated by this provider. See [Elastic File System]
	// user guide for more information.
	CreationToken pulumi.StringPtrInput
	// If true, the disk will be encrypted.
	Encrypted pulumi.BoolPtrInput
	// The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.
	KmsKeyId pulumi.StringPtrInput
	// A file system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) object. See `lifecyclePolicy` block below for details.
	LifecyclePolicies FileSystemLifecyclePolicyArrayInput
	// The file system performance mode. Can be either `"generalPurpose"` or `"maxIO"` (Default: `"generalPurpose"`).
	PerformanceMode pulumi.StringPtrInput
	// A file system [protection](https://docs.aws.amazon.com/efs/latest/ug/API_FileSystemProtectionDescription.html) object. See `protection` block below for details.
	Protection FileSystemProtectionPtrInput
	// The throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with `throughputMode` set to `provisioned`.
	ProvisionedThroughputInMibps pulumi.Float64PtrInput
	// A map of tags to assign to the file system. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `provisioned`, or `elastic`. When using `provisioned`, also set `provisionedThroughputInMibps`.
	ThroughputMode pulumi.StringPtrInput
}

The set of arguments for constructing a FileSystem resource.

func (FileSystemArgs) ElementType

func (FileSystemArgs) ElementType() reflect.Type

type FileSystemArray

type FileSystemArray []FileSystemInput

func (FileSystemArray) ElementType

func (FileSystemArray) ElementType() reflect.Type

func (FileSystemArray) ToFileSystemArrayOutput

func (i FileSystemArray) ToFileSystemArrayOutput() FileSystemArrayOutput

func (FileSystemArray) ToFileSystemArrayOutputWithContext

func (i FileSystemArray) ToFileSystemArrayOutputWithContext(ctx context.Context) FileSystemArrayOutput

type FileSystemArrayInput

type FileSystemArrayInput interface {
	pulumi.Input

	ToFileSystemArrayOutput() FileSystemArrayOutput
	ToFileSystemArrayOutputWithContext(context.Context) FileSystemArrayOutput
}

FileSystemArrayInput is an input type that accepts FileSystemArray and FileSystemArrayOutput values. You can construct a concrete instance of `FileSystemArrayInput` via:

FileSystemArray{ FileSystemArgs{...} }

type FileSystemArrayOutput

type FileSystemArrayOutput struct{ *pulumi.OutputState }

func (FileSystemArrayOutput) ElementType

func (FileSystemArrayOutput) ElementType() reflect.Type

func (FileSystemArrayOutput) Index

func (FileSystemArrayOutput) ToFileSystemArrayOutput

func (o FileSystemArrayOutput) ToFileSystemArrayOutput() FileSystemArrayOutput

func (FileSystemArrayOutput) ToFileSystemArrayOutputWithContext

func (o FileSystemArrayOutput) ToFileSystemArrayOutputWithContext(ctx context.Context) FileSystemArrayOutput

type FileSystemInput

type FileSystemInput interface {
	pulumi.Input

	ToFileSystemOutput() FileSystemOutput
	ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput
}

type FileSystemLifecyclePolicy

type FileSystemLifecyclePolicy struct {
	// Indicates how long it takes to transition files to the archive storage class. Requires transition_to_ia, Elastic Throughput and General Purpose performance mode. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
	TransitionToArchive *string `pulumi:"transitionToArchive"`
	// Indicates how long it takes to transition files to the IA storage class. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
	TransitionToIa *string `pulumi:"transitionToIa"`
	// Describes the policy used to transition a file from infequent access storage to primary storage. Valid values: `AFTER_1_ACCESS`.
	TransitionToPrimaryStorageClass *string `pulumi:"transitionToPrimaryStorageClass"`
}

type FileSystemLifecyclePolicyArgs

type FileSystemLifecyclePolicyArgs struct {
	// Indicates how long it takes to transition files to the archive storage class. Requires transition_to_ia, Elastic Throughput and General Purpose performance mode. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
	TransitionToArchive pulumi.StringPtrInput `pulumi:"transitionToArchive"`
	// Indicates how long it takes to transition files to the IA storage class. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
	TransitionToIa pulumi.StringPtrInput `pulumi:"transitionToIa"`
	// Describes the policy used to transition a file from infequent access storage to primary storage. Valid values: `AFTER_1_ACCESS`.
	TransitionToPrimaryStorageClass pulumi.StringPtrInput `pulumi:"transitionToPrimaryStorageClass"`
}

func (FileSystemLifecyclePolicyArgs) ElementType

func (FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyOutput

func (i FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyOutput() FileSystemLifecyclePolicyOutput

func (FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyOutputWithContext

func (i FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyOutput

type FileSystemLifecyclePolicyArray

type FileSystemLifecyclePolicyArray []FileSystemLifecyclePolicyInput

func (FileSystemLifecyclePolicyArray) ElementType

func (FileSystemLifecyclePolicyArray) ToFileSystemLifecyclePolicyArrayOutput

func (i FileSystemLifecyclePolicyArray) ToFileSystemLifecyclePolicyArrayOutput() FileSystemLifecyclePolicyArrayOutput

func (FileSystemLifecyclePolicyArray) ToFileSystemLifecyclePolicyArrayOutputWithContext

func (i FileSystemLifecyclePolicyArray) ToFileSystemLifecyclePolicyArrayOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyArrayOutput

type FileSystemLifecyclePolicyArrayInput

type FileSystemLifecyclePolicyArrayInput interface {
	pulumi.Input

	ToFileSystemLifecyclePolicyArrayOutput() FileSystemLifecyclePolicyArrayOutput
	ToFileSystemLifecyclePolicyArrayOutputWithContext(context.Context) FileSystemLifecyclePolicyArrayOutput
}

FileSystemLifecyclePolicyArrayInput is an input type that accepts FileSystemLifecyclePolicyArray and FileSystemLifecyclePolicyArrayOutput values. You can construct a concrete instance of `FileSystemLifecyclePolicyArrayInput` via:

FileSystemLifecyclePolicyArray{ FileSystemLifecyclePolicyArgs{...} }

type FileSystemLifecyclePolicyArrayOutput

type FileSystemLifecyclePolicyArrayOutput struct{ *pulumi.OutputState }

func (FileSystemLifecyclePolicyArrayOutput) ElementType

func (FileSystemLifecyclePolicyArrayOutput) Index

func (FileSystemLifecyclePolicyArrayOutput) ToFileSystemLifecyclePolicyArrayOutput

func (o FileSystemLifecyclePolicyArrayOutput) ToFileSystemLifecyclePolicyArrayOutput() FileSystemLifecyclePolicyArrayOutput

func (FileSystemLifecyclePolicyArrayOutput) ToFileSystemLifecyclePolicyArrayOutputWithContext

func (o FileSystemLifecyclePolicyArrayOutput) ToFileSystemLifecyclePolicyArrayOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyArrayOutput

type FileSystemLifecyclePolicyInput

type FileSystemLifecyclePolicyInput interface {
	pulumi.Input

	ToFileSystemLifecyclePolicyOutput() FileSystemLifecyclePolicyOutput
	ToFileSystemLifecyclePolicyOutputWithContext(context.Context) FileSystemLifecyclePolicyOutput
}

FileSystemLifecyclePolicyInput is an input type that accepts FileSystemLifecyclePolicyArgs and FileSystemLifecyclePolicyOutput values. You can construct a concrete instance of `FileSystemLifecyclePolicyInput` via:

FileSystemLifecyclePolicyArgs{...}

type FileSystemLifecyclePolicyOutput

type FileSystemLifecyclePolicyOutput struct{ *pulumi.OutputState }

func (FileSystemLifecyclePolicyOutput) ElementType

func (FileSystemLifecyclePolicyOutput) ToFileSystemLifecyclePolicyOutput

func (o FileSystemLifecyclePolicyOutput) ToFileSystemLifecyclePolicyOutput() FileSystemLifecyclePolicyOutput

func (FileSystemLifecyclePolicyOutput) ToFileSystemLifecyclePolicyOutputWithContext

func (o FileSystemLifecyclePolicyOutput) ToFileSystemLifecyclePolicyOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyOutput

func (FileSystemLifecyclePolicyOutput) TransitionToArchive added in v6.18.2

func (o FileSystemLifecyclePolicyOutput) TransitionToArchive() pulumi.StringPtrOutput

Indicates how long it takes to transition files to the archive storage class. Requires transition_to_ia, Elastic Throughput and General Purpose performance mode. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.

func (FileSystemLifecyclePolicyOutput) TransitionToIa

Indicates how long it takes to transition files to the IA storage class. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.

func (FileSystemLifecyclePolicyOutput) TransitionToPrimaryStorageClass

func (o FileSystemLifecyclePolicyOutput) TransitionToPrimaryStorageClass() pulumi.StringPtrOutput

Describes the policy used to transition a file from infequent access storage to primary storage. Valid values: `AFTER_1_ACCESS`.

type FileSystemMap

type FileSystemMap map[string]FileSystemInput

func (FileSystemMap) ElementType

func (FileSystemMap) ElementType() reflect.Type

func (FileSystemMap) ToFileSystemMapOutput

func (i FileSystemMap) ToFileSystemMapOutput() FileSystemMapOutput

func (FileSystemMap) ToFileSystemMapOutputWithContext

func (i FileSystemMap) ToFileSystemMapOutputWithContext(ctx context.Context) FileSystemMapOutput

type FileSystemMapInput

type FileSystemMapInput interface {
	pulumi.Input

	ToFileSystemMapOutput() FileSystemMapOutput
	ToFileSystemMapOutputWithContext(context.Context) FileSystemMapOutput
}

FileSystemMapInput is an input type that accepts FileSystemMap and FileSystemMapOutput values. You can construct a concrete instance of `FileSystemMapInput` via:

FileSystemMap{ "key": FileSystemArgs{...} }

type FileSystemMapOutput

type FileSystemMapOutput struct{ *pulumi.OutputState }

func (FileSystemMapOutput) ElementType

func (FileSystemMapOutput) ElementType() reflect.Type

func (FileSystemMapOutput) MapIndex

func (FileSystemMapOutput) ToFileSystemMapOutput

func (o FileSystemMapOutput) ToFileSystemMapOutput() FileSystemMapOutput

func (FileSystemMapOutput) ToFileSystemMapOutputWithContext

func (o FileSystemMapOutput) ToFileSystemMapOutputWithContext(ctx context.Context) FileSystemMapOutput

type FileSystemOutput

type FileSystemOutput struct{ *pulumi.OutputState }

func (FileSystemOutput) Arn

Amazon Resource Name of the file system.

func (FileSystemOutput) AvailabilityZoneId

func (o FileSystemOutput) AvailabilityZoneId() pulumi.StringOutput

The identifier of the Availability Zone in which the file system's One Zone storage classes exist.

func (FileSystemOutput) AvailabilityZoneName

func (o FileSystemOutput) AvailabilityZoneName() pulumi.StringOutput

the AWS Availability Zone in which to create the file system. Used to create a file system that uses One Zone storage classes. See [user guide](https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html) for more information.

func (FileSystemOutput) CreationToken

func (o FileSystemOutput) CreationToken() pulumi.StringOutput

A unique name (a maximum of 64 characters are allowed) used as reference when creating the Elastic File System to ensure idempotent file system creation. By default generated by this provider. See [Elastic File System] user guide for more information.

func (FileSystemOutput) DnsName

func (o FileSystemOutput) DnsName() pulumi.StringOutput

The DNS name for the filesystem per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).

func (FileSystemOutput) ElementType

func (FileSystemOutput) ElementType() reflect.Type

func (FileSystemOutput) Encrypted

func (o FileSystemOutput) Encrypted() pulumi.BoolOutput

If true, the disk will be encrypted.

func (FileSystemOutput) KmsKeyId

func (o FileSystemOutput) KmsKeyId() pulumi.StringOutput

The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.

func (FileSystemOutput) LifecyclePolicies

A file system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) object. See `lifecyclePolicy` block below for details.

func (FileSystemOutput) Name added in v6.1.0

The value of the file system's `Name` tag.

func (FileSystemOutput) NumberOfMountTargets

func (o FileSystemOutput) NumberOfMountTargets() pulumi.IntOutput

The current number of mount targets that the file system has.

func (FileSystemOutput) OwnerId

func (o FileSystemOutput) OwnerId() pulumi.StringOutput

The AWS account that created the file system. If the file system was createdby an IAM user, the parent account to which the user belongs is the owner.

func (FileSystemOutput) PerformanceMode

func (o FileSystemOutput) PerformanceMode() pulumi.StringOutput

The file system performance mode. Can be either `"generalPurpose"` or `"maxIO"` (Default: `"generalPurpose"`).

func (FileSystemOutput) Protection added in v6.18.2

A file system [protection](https://docs.aws.amazon.com/efs/latest/ug/API_FileSystemProtectionDescription.html) object. See `protection` block below for details.

func (FileSystemOutput) ProvisionedThroughputInMibps

func (o FileSystemOutput) ProvisionedThroughputInMibps() pulumi.Float64PtrOutput

The throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with `throughputMode` set to `provisioned`.

func (FileSystemOutput) SizeInBytes

The latest known metered size (in bytes) of data stored in the file system, the value is not the exact size that the file system was at any point in time. See Size In Bytes.

func (FileSystemOutput) Tags

A map of tags to assign to the file system. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (FileSystemOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (FileSystemOutput) ThroughputMode

func (o FileSystemOutput) ThroughputMode() pulumi.StringPtrOutput

Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `provisioned`, or `elastic`. When using `provisioned`, also set `provisionedThroughputInMibps`.

func (FileSystemOutput) ToFileSystemOutput

func (o FileSystemOutput) ToFileSystemOutput() FileSystemOutput

func (FileSystemOutput) ToFileSystemOutputWithContext

func (o FileSystemOutput) ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput

type FileSystemPolicy

type FileSystemPolicy struct {
	pulumi.CustomResourceState

	// A flag to indicate whether to bypass the `efs.FileSystemPolicy` lockout safety check. The policy lockout safety check determines whether the policy in the request will prevent the principal making the request will be locked out from making future `PutFileSystemPolicy` requests on the file system. Set `bypassPolicyLockoutSafetyCheck` to `true` only when you intend to prevent the principal that is making the request from making a subsequent `PutFileSystemPolicy` request on the file system. The default value is `false`.
	BypassPolicyLockoutSafetyCheck pulumi.BoolPtrOutput `pulumi:"bypassPolicyLockoutSafetyCheck"`
	// The ID of the EFS file system.
	FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"`
	// The JSON formatted file system policy for the EFS file system. see [Docs](https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies) for more info.
	//
	// The following arguments are optional:
	Policy pulumi.StringOutput `pulumi:"policy"`
}

Provides an Elastic File System (EFS) File System Policy resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fs, err := efs.NewFileSystem(ctx, "fs", &efs.FileSystemArgs{
			CreationToken: pulumi.String("my-product"),
		})
		if err != nil {
			return err
		}
		policy := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Sid:    pulumi.String("ExampleStatement01"),
					Effect: pulumi.String("Allow"),
					Principals: iam.GetPolicyDocumentStatementPrincipalArray{
						&iam.GetPolicyDocumentStatementPrincipalArgs{
							Type: pulumi.String("AWS"),
							Identifiers: pulumi.StringArray{
								pulumi.String("*"),
							},
						},
					},
					Actions: pulumi.StringArray{
						pulumi.String("elasticfilesystem:ClientMount"),
						pulumi.String("elasticfilesystem:ClientWrite"),
					},
					Resources: pulumi.StringArray{
						fs.Arn,
					},
					Conditions: iam.GetPolicyDocumentStatementConditionArray{
						&iam.GetPolicyDocumentStatementConditionArgs{
							Test:     pulumi.String("Bool"),
							Variable: pulumi.String("aws:SecureTransport"),
							Values: pulumi.StringArray{
								pulumi.String("true"),
							},
						},
					},
				},
			},
		}, nil)
		_, err = efs.NewFileSystemPolicy(ctx, "policy", &efs.FileSystemPolicyArgs{
			FileSystemId: fs.ID(),
			Policy: policy.ApplyT(func(policy iam.GetPolicyDocumentResult) (*string, error) {
				return &policy.Json, nil
			}).(pulumi.StringPtrOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import the EFS file system policies using the `id`. For example:

```sh

$ pulumi import aws:efs/fileSystemPolicy:FileSystemPolicy foo fs-6fa144c6

```

func GetFileSystemPolicy

func GetFileSystemPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FileSystemPolicyState, opts ...pulumi.ResourceOption) (*FileSystemPolicy, error)

GetFileSystemPolicy gets an existing FileSystemPolicy 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 NewFileSystemPolicy

func NewFileSystemPolicy(ctx *pulumi.Context,
	name string, args *FileSystemPolicyArgs, opts ...pulumi.ResourceOption) (*FileSystemPolicy, error)

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

func (*FileSystemPolicy) ElementType

func (*FileSystemPolicy) ElementType() reflect.Type

func (*FileSystemPolicy) ToFileSystemPolicyOutput

func (i *FileSystemPolicy) ToFileSystemPolicyOutput() FileSystemPolicyOutput

func (*FileSystemPolicy) ToFileSystemPolicyOutputWithContext

func (i *FileSystemPolicy) ToFileSystemPolicyOutputWithContext(ctx context.Context) FileSystemPolicyOutput

type FileSystemPolicyArgs

type FileSystemPolicyArgs struct {
	// A flag to indicate whether to bypass the `efs.FileSystemPolicy` lockout safety check. The policy lockout safety check determines whether the policy in the request will prevent the principal making the request will be locked out from making future `PutFileSystemPolicy` requests on the file system. Set `bypassPolicyLockoutSafetyCheck` to `true` only when you intend to prevent the principal that is making the request from making a subsequent `PutFileSystemPolicy` request on the file system. The default value is `false`.
	BypassPolicyLockoutSafetyCheck pulumi.BoolPtrInput
	// The ID of the EFS file system.
	FileSystemId pulumi.StringInput
	// The JSON formatted file system policy for the EFS file system. see [Docs](https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies) for more info.
	//
	// The following arguments are optional:
	Policy pulumi.StringInput
}

The set of arguments for constructing a FileSystemPolicy resource.

func (FileSystemPolicyArgs) ElementType

func (FileSystemPolicyArgs) ElementType() reflect.Type

type FileSystemPolicyArray

type FileSystemPolicyArray []FileSystemPolicyInput

func (FileSystemPolicyArray) ElementType

func (FileSystemPolicyArray) ElementType() reflect.Type

func (FileSystemPolicyArray) ToFileSystemPolicyArrayOutput

func (i FileSystemPolicyArray) ToFileSystemPolicyArrayOutput() FileSystemPolicyArrayOutput

func (FileSystemPolicyArray) ToFileSystemPolicyArrayOutputWithContext

func (i FileSystemPolicyArray) ToFileSystemPolicyArrayOutputWithContext(ctx context.Context) FileSystemPolicyArrayOutput

type FileSystemPolicyArrayInput

type FileSystemPolicyArrayInput interface {
	pulumi.Input

	ToFileSystemPolicyArrayOutput() FileSystemPolicyArrayOutput
	ToFileSystemPolicyArrayOutputWithContext(context.Context) FileSystemPolicyArrayOutput
}

FileSystemPolicyArrayInput is an input type that accepts FileSystemPolicyArray and FileSystemPolicyArrayOutput values. You can construct a concrete instance of `FileSystemPolicyArrayInput` via:

FileSystemPolicyArray{ FileSystemPolicyArgs{...} }

type FileSystemPolicyArrayOutput

type FileSystemPolicyArrayOutput struct{ *pulumi.OutputState }

func (FileSystemPolicyArrayOutput) ElementType

func (FileSystemPolicyArrayOutput) Index

func (FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutput

func (o FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutput() FileSystemPolicyArrayOutput

func (FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutputWithContext

func (o FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutputWithContext(ctx context.Context) FileSystemPolicyArrayOutput

type FileSystemPolicyInput

type FileSystemPolicyInput interface {
	pulumi.Input

	ToFileSystemPolicyOutput() FileSystemPolicyOutput
	ToFileSystemPolicyOutputWithContext(ctx context.Context) FileSystemPolicyOutput
}

type FileSystemPolicyMap

type FileSystemPolicyMap map[string]FileSystemPolicyInput

func (FileSystemPolicyMap) ElementType

func (FileSystemPolicyMap) ElementType() reflect.Type

func (FileSystemPolicyMap) ToFileSystemPolicyMapOutput

func (i FileSystemPolicyMap) ToFileSystemPolicyMapOutput() FileSystemPolicyMapOutput

func (FileSystemPolicyMap) ToFileSystemPolicyMapOutputWithContext

func (i FileSystemPolicyMap) ToFileSystemPolicyMapOutputWithContext(ctx context.Context) FileSystemPolicyMapOutput

type FileSystemPolicyMapInput

type FileSystemPolicyMapInput interface {
	pulumi.Input

	ToFileSystemPolicyMapOutput() FileSystemPolicyMapOutput
	ToFileSystemPolicyMapOutputWithContext(context.Context) FileSystemPolicyMapOutput
}

FileSystemPolicyMapInput is an input type that accepts FileSystemPolicyMap and FileSystemPolicyMapOutput values. You can construct a concrete instance of `FileSystemPolicyMapInput` via:

FileSystemPolicyMap{ "key": FileSystemPolicyArgs{...} }

type FileSystemPolicyMapOutput

type FileSystemPolicyMapOutput struct{ *pulumi.OutputState }

func (FileSystemPolicyMapOutput) ElementType

func (FileSystemPolicyMapOutput) ElementType() reflect.Type

func (FileSystemPolicyMapOutput) MapIndex

func (FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutput

func (o FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutput() FileSystemPolicyMapOutput

func (FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutputWithContext

func (o FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutputWithContext(ctx context.Context) FileSystemPolicyMapOutput

type FileSystemPolicyOutput

type FileSystemPolicyOutput struct{ *pulumi.OutputState }

func (FileSystemPolicyOutput) BypassPolicyLockoutSafetyCheck

func (o FileSystemPolicyOutput) BypassPolicyLockoutSafetyCheck() pulumi.BoolPtrOutput

A flag to indicate whether to bypass the `efs.FileSystemPolicy` lockout safety check. The policy lockout safety check determines whether the policy in the request will prevent the principal making the request will be locked out from making future `PutFileSystemPolicy` requests on the file system. Set `bypassPolicyLockoutSafetyCheck` to `true` only when you intend to prevent the principal that is making the request from making a subsequent `PutFileSystemPolicy` request on the file system. The default value is `false`.

func (FileSystemPolicyOutput) ElementType

func (FileSystemPolicyOutput) ElementType() reflect.Type

func (FileSystemPolicyOutput) FileSystemId

func (o FileSystemPolicyOutput) FileSystemId() pulumi.StringOutput

The ID of the EFS file system.

func (FileSystemPolicyOutput) Policy

The JSON formatted file system policy for the EFS file system. see [Docs](https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies) for more info.

The following arguments are optional:

func (FileSystemPolicyOutput) ToFileSystemPolicyOutput

func (o FileSystemPolicyOutput) ToFileSystemPolicyOutput() FileSystemPolicyOutput

func (FileSystemPolicyOutput) ToFileSystemPolicyOutputWithContext

func (o FileSystemPolicyOutput) ToFileSystemPolicyOutputWithContext(ctx context.Context) FileSystemPolicyOutput

type FileSystemPolicyState

type FileSystemPolicyState struct {
	// A flag to indicate whether to bypass the `efs.FileSystemPolicy` lockout safety check. The policy lockout safety check determines whether the policy in the request will prevent the principal making the request will be locked out from making future `PutFileSystemPolicy` requests on the file system. Set `bypassPolicyLockoutSafetyCheck` to `true` only when you intend to prevent the principal that is making the request from making a subsequent `PutFileSystemPolicy` request on the file system. The default value is `false`.
	BypassPolicyLockoutSafetyCheck pulumi.BoolPtrInput
	// The ID of the EFS file system.
	FileSystemId pulumi.StringPtrInput
	// The JSON formatted file system policy for the EFS file system. see [Docs](https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies) for more info.
	//
	// The following arguments are optional:
	Policy pulumi.StringPtrInput
}

func (FileSystemPolicyState) ElementType

func (FileSystemPolicyState) ElementType() reflect.Type

type FileSystemProtection added in v6.18.2

type FileSystemProtection struct {
	// Indicates whether replication overwrite protection is enabled. Valid values: `ENABLED` or `DISABLED`.
	ReplicationOverwrite *string `pulumi:"replicationOverwrite"`
}

type FileSystemProtectionArgs added in v6.18.2

type FileSystemProtectionArgs struct {
	// Indicates whether replication overwrite protection is enabled. Valid values: `ENABLED` or `DISABLED`.
	ReplicationOverwrite pulumi.StringPtrInput `pulumi:"replicationOverwrite"`
}

func (FileSystemProtectionArgs) ElementType added in v6.18.2

func (FileSystemProtectionArgs) ElementType() reflect.Type

func (FileSystemProtectionArgs) ToFileSystemProtectionOutput added in v6.18.2

func (i FileSystemProtectionArgs) ToFileSystemProtectionOutput() FileSystemProtectionOutput

func (FileSystemProtectionArgs) ToFileSystemProtectionOutputWithContext added in v6.18.2

func (i FileSystemProtectionArgs) ToFileSystemProtectionOutputWithContext(ctx context.Context) FileSystemProtectionOutput

func (FileSystemProtectionArgs) ToFileSystemProtectionPtrOutput added in v6.18.2

func (i FileSystemProtectionArgs) ToFileSystemProtectionPtrOutput() FileSystemProtectionPtrOutput

func (FileSystemProtectionArgs) ToFileSystemProtectionPtrOutputWithContext added in v6.18.2

func (i FileSystemProtectionArgs) ToFileSystemProtectionPtrOutputWithContext(ctx context.Context) FileSystemProtectionPtrOutput

type FileSystemProtectionInput added in v6.18.2

type FileSystemProtectionInput interface {
	pulumi.Input

	ToFileSystemProtectionOutput() FileSystemProtectionOutput
	ToFileSystemProtectionOutputWithContext(context.Context) FileSystemProtectionOutput
}

FileSystemProtectionInput is an input type that accepts FileSystemProtectionArgs and FileSystemProtectionOutput values. You can construct a concrete instance of `FileSystemProtectionInput` via:

FileSystemProtectionArgs{...}

type FileSystemProtectionOutput added in v6.18.2

type FileSystemProtectionOutput struct{ *pulumi.OutputState }

func (FileSystemProtectionOutput) ElementType added in v6.18.2

func (FileSystemProtectionOutput) ElementType() reflect.Type

func (FileSystemProtectionOutput) ReplicationOverwrite added in v6.18.2

func (o FileSystemProtectionOutput) ReplicationOverwrite() pulumi.StringPtrOutput

Indicates whether replication overwrite protection is enabled. Valid values: `ENABLED` or `DISABLED`.

func (FileSystemProtectionOutput) ToFileSystemProtectionOutput added in v6.18.2

func (o FileSystemProtectionOutput) ToFileSystemProtectionOutput() FileSystemProtectionOutput

func (FileSystemProtectionOutput) ToFileSystemProtectionOutputWithContext added in v6.18.2

func (o FileSystemProtectionOutput) ToFileSystemProtectionOutputWithContext(ctx context.Context) FileSystemProtectionOutput

func (FileSystemProtectionOutput) ToFileSystemProtectionPtrOutput added in v6.18.2

func (o FileSystemProtectionOutput) ToFileSystemProtectionPtrOutput() FileSystemProtectionPtrOutput

func (FileSystemProtectionOutput) ToFileSystemProtectionPtrOutputWithContext added in v6.18.2

func (o FileSystemProtectionOutput) ToFileSystemProtectionPtrOutputWithContext(ctx context.Context) FileSystemProtectionPtrOutput

type FileSystemProtectionPtrInput added in v6.18.2

type FileSystemProtectionPtrInput interface {
	pulumi.Input

	ToFileSystemProtectionPtrOutput() FileSystemProtectionPtrOutput
	ToFileSystemProtectionPtrOutputWithContext(context.Context) FileSystemProtectionPtrOutput
}

FileSystemProtectionPtrInput is an input type that accepts FileSystemProtectionArgs, FileSystemProtectionPtr and FileSystemProtectionPtrOutput values. You can construct a concrete instance of `FileSystemProtectionPtrInput` via:

        FileSystemProtectionArgs{...}

or:

        nil

func FileSystemProtectionPtr added in v6.18.2

func FileSystemProtectionPtr(v *FileSystemProtectionArgs) FileSystemProtectionPtrInput

type FileSystemProtectionPtrOutput added in v6.18.2

type FileSystemProtectionPtrOutput struct{ *pulumi.OutputState }

func (FileSystemProtectionPtrOutput) Elem added in v6.18.2

func (FileSystemProtectionPtrOutput) ElementType added in v6.18.2

func (FileSystemProtectionPtrOutput) ReplicationOverwrite added in v6.18.2

func (o FileSystemProtectionPtrOutput) ReplicationOverwrite() pulumi.StringPtrOutput

Indicates whether replication overwrite protection is enabled. Valid values: `ENABLED` or `DISABLED`.

func (FileSystemProtectionPtrOutput) ToFileSystemProtectionPtrOutput added in v6.18.2

func (o FileSystemProtectionPtrOutput) ToFileSystemProtectionPtrOutput() FileSystemProtectionPtrOutput

func (FileSystemProtectionPtrOutput) ToFileSystemProtectionPtrOutputWithContext added in v6.18.2

func (o FileSystemProtectionPtrOutput) ToFileSystemProtectionPtrOutputWithContext(ctx context.Context) FileSystemProtectionPtrOutput

type FileSystemSizeInByte

type FileSystemSizeInByte struct {
	// The latest known metered size (in bytes) of data stored in the file system.
	Value *int `pulumi:"value"`
	// The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.
	ValueInIa *int `pulumi:"valueInIa"`
	// The latest known metered size (in bytes) of data stored in the Standard storage class.
	ValueInStandard *int `pulumi:"valueInStandard"`
}

type FileSystemSizeInByteArgs

type FileSystemSizeInByteArgs struct {
	// The latest known metered size (in bytes) of data stored in the file system.
	Value pulumi.IntPtrInput `pulumi:"value"`
	// The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.
	ValueInIa pulumi.IntPtrInput `pulumi:"valueInIa"`
	// The latest known metered size (in bytes) of data stored in the Standard storage class.
	ValueInStandard pulumi.IntPtrInput `pulumi:"valueInStandard"`
}

func (FileSystemSizeInByteArgs) ElementType

func (FileSystemSizeInByteArgs) ElementType() reflect.Type

func (FileSystemSizeInByteArgs) ToFileSystemSizeInByteOutput

func (i FileSystemSizeInByteArgs) ToFileSystemSizeInByteOutput() FileSystemSizeInByteOutput

func (FileSystemSizeInByteArgs) ToFileSystemSizeInByteOutputWithContext

func (i FileSystemSizeInByteArgs) ToFileSystemSizeInByteOutputWithContext(ctx context.Context) FileSystemSizeInByteOutput

type FileSystemSizeInByteArray

type FileSystemSizeInByteArray []FileSystemSizeInByteInput

func (FileSystemSizeInByteArray) ElementType

func (FileSystemSizeInByteArray) ElementType() reflect.Type

func (FileSystemSizeInByteArray) ToFileSystemSizeInByteArrayOutput

func (i FileSystemSizeInByteArray) ToFileSystemSizeInByteArrayOutput() FileSystemSizeInByteArrayOutput

func (FileSystemSizeInByteArray) ToFileSystemSizeInByteArrayOutputWithContext

func (i FileSystemSizeInByteArray) ToFileSystemSizeInByteArrayOutputWithContext(ctx context.Context) FileSystemSizeInByteArrayOutput

type FileSystemSizeInByteArrayInput

type FileSystemSizeInByteArrayInput interface {
	pulumi.Input

	ToFileSystemSizeInByteArrayOutput() FileSystemSizeInByteArrayOutput
	ToFileSystemSizeInByteArrayOutputWithContext(context.Context) FileSystemSizeInByteArrayOutput
}

FileSystemSizeInByteArrayInput is an input type that accepts FileSystemSizeInByteArray and FileSystemSizeInByteArrayOutput values. You can construct a concrete instance of `FileSystemSizeInByteArrayInput` via:

FileSystemSizeInByteArray{ FileSystemSizeInByteArgs{...} }

type FileSystemSizeInByteArrayOutput

type FileSystemSizeInByteArrayOutput struct{ *pulumi.OutputState }

func (FileSystemSizeInByteArrayOutput) ElementType

func (FileSystemSizeInByteArrayOutput) Index

func (FileSystemSizeInByteArrayOutput) ToFileSystemSizeInByteArrayOutput

func (o FileSystemSizeInByteArrayOutput) ToFileSystemSizeInByteArrayOutput() FileSystemSizeInByteArrayOutput

func (FileSystemSizeInByteArrayOutput) ToFileSystemSizeInByteArrayOutputWithContext

func (o FileSystemSizeInByteArrayOutput) ToFileSystemSizeInByteArrayOutputWithContext(ctx context.Context) FileSystemSizeInByteArrayOutput

type FileSystemSizeInByteInput

type FileSystemSizeInByteInput interface {
	pulumi.Input

	ToFileSystemSizeInByteOutput() FileSystemSizeInByteOutput
	ToFileSystemSizeInByteOutputWithContext(context.Context) FileSystemSizeInByteOutput
}

FileSystemSizeInByteInput is an input type that accepts FileSystemSizeInByteArgs and FileSystemSizeInByteOutput values. You can construct a concrete instance of `FileSystemSizeInByteInput` via:

FileSystemSizeInByteArgs{...}

type FileSystemSizeInByteOutput

type FileSystemSizeInByteOutput struct{ *pulumi.OutputState }

func (FileSystemSizeInByteOutput) ElementType

func (FileSystemSizeInByteOutput) ElementType() reflect.Type

func (FileSystemSizeInByteOutput) ToFileSystemSizeInByteOutput

func (o FileSystemSizeInByteOutput) ToFileSystemSizeInByteOutput() FileSystemSizeInByteOutput

func (FileSystemSizeInByteOutput) ToFileSystemSizeInByteOutputWithContext

func (o FileSystemSizeInByteOutput) ToFileSystemSizeInByteOutputWithContext(ctx context.Context) FileSystemSizeInByteOutput

func (FileSystemSizeInByteOutput) Value

The latest known metered size (in bytes) of data stored in the file system.

func (FileSystemSizeInByteOutput) ValueInIa

The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.

func (FileSystemSizeInByteOutput) ValueInStandard

func (o FileSystemSizeInByteOutput) ValueInStandard() pulumi.IntPtrOutput

The latest known metered size (in bytes) of data stored in the Standard storage class.

type FileSystemState

type FileSystemState struct {
	// Amazon Resource Name of the file system.
	Arn pulumi.StringPtrInput
	// The identifier of the Availability Zone in which the file system's One Zone storage classes exist.
	AvailabilityZoneId pulumi.StringPtrInput
	// the AWS Availability Zone in which to create the file system. Used to create a file system that uses One Zone storage classes. See [user guide](https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html) for more information.
	AvailabilityZoneName pulumi.StringPtrInput
	// A unique name (a maximum of 64 characters are allowed)
	// used as reference when creating the Elastic File System to ensure idempotent file
	// system creation. By default generated by this provider. See [Elastic File System]
	// user guide for more information.
	CreationToken pulumi.StringPtrInput
	// The DNS name for the filesystem per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).
	DnsName pulumi.StringPtrInput
	// If true, the disk will be encrypted.
	Encrypted pulumi.BoolPtrInput
	// The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.
	KmsKeyId pulumi.StringPtrInput
	// A file system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) object. See `lifecyclePolicy` block below for details.
	LifecyclePolicies FileSystemLifecyclePolicyArrayInput
	// The value of the file system's `Name` tag.
	Name pulumi.StringPtrInput
	// The current number of mount targets that the file system has.
	NumberOfMountTargets pulumi.IntPtrInput
	// The AWS account that created the file system. If the file system was createdby an IAM user, the parent account to which the user belongs is the owner.
	OwnerId pulumi.StringPtrInput
	// The file system performance mode. Can be either `"generalPurpose"` or `"maxIO"` (Default: `"generalPurpose"`).
	PerformanceMode pulumi.StringPtrInput
	// A file system [protection](https://docs.aws.amazon.com/efs/latest/ug/API_FileSystemProtectionDescription.html) object. See `protection` block below for details.
	Protection FileSystemProtectionPtrInput
	// The throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with `throughputMode` set to `provisioned`.
	ProvisionedThroughputInMibps pulumi.Float64PtrInput
	// The latest known metered size (in bytes) of data stored in the file system, the value is not the exact size that the file system was at any point in time. See Size In Bytes.
	SizeInBytes FileSystemSizeInByteArrayInput
	// A map of tags to assign to the file system. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `provisioned`, or `elastic`. When using `provisioned`, also set `provisionedThroughputInMibps`.
	ThroughputMode pulumi.StringPtrInput
}

func (FileSystemState) ElementType

func (FileSystemState) ElementType() reflect.Type

type GetAccessPointPosixUser

type GetAccessPointPosixUser struct {
	// Group ID
	Gid int `pulumi:"gid"`
	// Secondary group IDs
	SecondaryGids []int `pulumi:"secondaryGids"`
	// User Id
	Uid int `pulumi:"uid"`
}

type GetAccessPointPosixUserArgs

type GetAccessPointPosixUserArgs struct {
	// Group ID
	Gid pulumi.IntInput `pulumi:"gid"`
	// Secondary group IDs
	SecondaryGids pulumi.IntArrayInput `pulumi:"secondaryGids"`
	// User Id
	Uid pulumi.IntInput `pulumi:"uid"`
}

func (GetAccessPointPosixUserArgs) ElementType

func (GetAccessPointPosixUserArgs) ToGetAccessPointPosixUserOutput

func (i GetAccessPointPosixUserArgs) ToGetAccessPointPosixUserOutput() GetAccessPointPosixUserOutput

func (GetAccessPointPosixUserArgs) ToGetAccessPointPosixUserOutputWithContext

func (i GetAccessPointPosixUserArgs) ToGetAccessPointPosixUserOutputWithContext(ctx context.Context) GetAccessPointPosixUserOutput

type GetAccessPointPosixUserArray

type GetAccessPointPosixUserArray []GetAccessPointPosixUserInput

func (GetAccessPointPosixUserArray) ElementType

func (GetAccessPointPosixUserArray) ToGetAccessPointPosixUserArrayOutput

func (i GetAccessPointPosixUserArray) ToGetAccessPointPosixUserArrayOutput() GetAccessPointPosixUserArrayOutput

func (GetAccessPointPosixUserArray) ToGetAccessPointPosixUserArrayOutputWithContext

func (i GetAccessPointPosixUserArray) ToGetAccessPointPosixUserArrayOutputWithContext(ctx context.Context) GetAccessPointPosixUserArrayOutput

type GetAccessPointPosixUserArrayInput

type GetAccessPointPosixUserArrayInput interface {
	pulumi.Input

	ToGetAccessPointPosixUserArrayOutput() GetAccessPointPosixUserArrayOutput
	ToGetAccessPointPosixUserArrayOutputWithContext(context.Context) GetAccessPointPosixUserArrayOutput
}

GetAccessPointPosixUserArrayInput is an input type that accepts GetAccessPointPosixUserArray and GetAccessPointPosixUserArrayOutput values. You can construct a concrete instance of `GetAccessPointPosixUserArrayInput` via:

GetAccessPointPosixUserArray{ GetAccessPointPosixUserArgs{...} }

type GetAccessPointPosixUserArrayOutput

type GetAccessPointPosixUserArrayOutput struct{ *pulumi.OutputState }

func (GetAccessPointPosixUserArrayOutput) ElementType

func (GetAccessPointPosixUserArrayOutput) Index

func (GetAccessPointPosixUserArrayOutput) ToGetAccessPointPosixUserArrayOutput

func (o GetAccessPointPosixUserArrayOutput) ToGetAccessPointPosixUserArrayOutput() GetAccessPointPosixUserArrayOutput

func (GetAccessPointPosixUserArrayOutput) ToGetAccessPointPosixUserArrayOutputWithContext

func (o GetAccessPointPosixUserArrayOutput) ToGetAccessPointPosixUserArrayOutputWithContext(ctx context.Context) GetAccessPointPosixUserArrayOutput

type GetAccessPointPosixUserInput

type GetAccessPointPosixUserInput interface {
	pulumi.Input

	ToGetAccessPointPosixUserOutput() GetAccessPointPosixUserOutput
	ToGetAccessPointPosixUserOutputWithContext(context.Context) GetAccessPointPosixUserOutput
}

GetAccessPointPosixUserInput is an input type that accepts GetAccessPointPosixUserArgs and GetAccessPointPosixUserOutput values. You can construct a concrete instance of `GetAccessPointPosixUserInput` via:

GetAccessPointPosixUserArgs{...}

type GetAccessPointPosixUserOutput

type GetAccessPointPosixUserOutput struct{ *pulumi.OutputState }

func (GetAccessPointPosixUserOutput) ElementType

func (GetAccessPointPosixUserOutput) Gid

Group ID

func (GetAccessPointPosixUserOutput) SecondaryGids

Secondary group IDs

func (GetAccessPointPosixUserOutput) ToGetAccessPointPosixUserOutput

func (o GetAccessPointPosixUserOutput) ToGetAccessPointPosixUserOutput() GetAccessPointPosixUserOutput

func (GetAccessPointPosixUserOutput) ToGetAccessPointPosixUserOutputWithContext

func (o GetAccessPointPosixUserOutput) ToGetAccessPointPosixUserOutputWithContext(ctx context.Context) GetAccessPointPosixUserOutput

func (GetAccessPointPosixUserOutput) Uid

User Id

type GetAccessPointRootDirectory

type GetAccessPointRootDirectory struct {
	// Single element list containing information on the creation permissions of the directory
	CreationInfos []GetAccessPointRootDirectoryCreationInfo `pulumi:"creationInfos"`
	// Path exposed as the root directory
	Path string `pulumi:"path"`
}

type GetAccessPointRootDirectoryArgs

type GetAccessPointRootDirectoryArgs struct {
	// Single element list containing information on the creation permissions of the directory
	CreationInfos GetAccessPointRootDirectoryCreationInfoArrayInput `pulumi:"creationInfos"`
	// Path exposed as the root directory
	Path pulumi.StringInput `pulumi:"path"`
}

func (GetAccessPointRootDirectoryArgs) ElementType

func (GetAccessPointRootDirectoryArgs) ToGetAccessPointRootDirectoryOutput

func (i GetAccessPointRootDirectoryArgs) ToGetAccessPointRootDirectoryOutput() GetAccessPointRootDirectoryOutput

func (GetAccessPointRootDirectoryArgs) ToGetAccessPointRootDirectoryOutputWithContext

func (i GetAccessPointRootDirectoryArgs) ToGetAccessPointRootDirectoryOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryOutput

type GetAccessPointRootDirectoryArray

type GetAccessPointRootDirectoryArray []GetAccessPointRootDirectoryInput

func (GetAccessPointRootDirectoryArray) ElementType

func (GetAccessPointRootDirectoryArray) ToGetAccessPointRootDirectoryArrayOutput

func (i GetAccessPointRootDirectoryArray) ToGetAccessPointRootDirectoryArrayOutput() GetAccessPointRootDirectoryArrayOutput

func (GetAccessPointRootDirectoryArray) ToGetAccessPointRootDirectoryArrayOutputWithContext

func (i GetAccessPointRootDirectoryArray) ToGetAccessPointRootDirectoryArrayOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryArrayOutput

type GetAccessPointRootDirectoryArrayInput

type GetAccessPointRootDirectoryArrayInput interface {
	pulumi.Input

	ToGetAccessPointRootDirectoryArrayOutput() GetAccessPointRootDirectoryArrayOutput
	ToGetAccessPointRootDirectoryArrayOutputWithContext(context.Context) GetAccessPointRootDirectoryArrayOutput
}

GetAccessPointRootDirectoryArrayInput is an input type that accepts GetAccessPointRootDirectoryArray and GetAccessPointRootDirectoryArrayOutput values. You can construct a concrete instance of `GetAccessPointRootDirectoryArrayInput` via:

GetAccessPointRootDirectoryArray{ GetAccessPointRootDirectoryArgs{...} }

type GetAccessPointRootDirectoryArrayOutput

type GetAccessPointRootDirectoryArrayOutput struct{ *pulumi.OutputState }

func (GetAccessPointRootDirectoryArrayOutput) ElementType

func (GetAccessPointRootDirectoryArrayOutput) Index

func (GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutput

func (o GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutput() GetAccessPointRootDirectoryArrayOutput

func (GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutputWithContext

func (o GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryArrayOutput

type GetAccessPointRootDirectoryCreationInfo

type GetAccessPointRootDirectoryCreationInfo struct {
	// POSIX owner group ID
	OwnerGid int `pulumi:"ownerGid"`
	// POSIX owner user ID
	OwnerUid int `pulumi:"ownerUid"`
	// POSIX permissions mode
	Permissions string `pulumi:"permissions"`
}

type GetAccessPointRootDirectoryCreationInfoArgs

type GetAccessPointRootDirectoryCreationInfoArgs struct {
	// POSIX owner group ID
	OwnerGid pulumi.IntInput `pulumi:"ownerGid"`
	// POSIX owner user ID
	OwnerUid pulumi.IntInput `pulumi:"ownerUid"`
	// POSIX permissions mode
	Permissions pulumi.StringInput `pulumi:"permissions"`
}

func (GetAccessPointRootDirectoryCreationInfoArgs) ElementType

func (GetAccessPointRootDirectoryCreationInfoArgs) ToGetAccessPointRootDirectoryCreationInfoOutput

func (i GetAccessPointRootDirectoryCreationInfoArgs) ToGetAccessPointRootDirectoryCreationInfoOutput() GetAccessPointRootDirectoryCreationInfoOutput

func (GetAccessPointRootDirectoryCreationInfoArgs) ToGetAccessPointRootDirectoryCreationInfoOutputWithContext

func (i GetAccessPointRootDirectoryCreationInfoArgs) ToGetAccessPointRootDirectoryCreationInfoOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryCreationInfoOutput

type GetAccessPointRootDirectoryCreationInfoArray

type GetAccessPointRootDirectoryCreationInfoArray []GetAccessPointRootDirectoryCreationInfoInput

func (GetAccessPointRootDirectoryCreationInfoArray) ElementType

func (GetAccessPointRootDirectoryCreationInfoArray) ToGetAccessPointRootDirectoryCreationInfoArrayOutput

func (i GetAccessPointRootDirectoryCreationInfoArray) ToGetAccessPointRootDirectoryCreationInfoArrayOutput() GetAccessPointRootDirectoryCreationInfoArrayOutput

func (GetAccessPointRootDirectoryCreationInfoArray) ToGetAccessPointRootDirectoryCreationInfoArrayOutputWithContext

func (i GetAccessPointRootDirectoryCreationInfoArray) ToGetAccessPointRootDirectoryCreationInfoArrayOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryCreationInfoArrayOutput

type GetAccessPointRootDirectoryCreationInfoArrayInput

type GetAccessPointRootDirectoryCreationInfoArrayInput interface {
	pulumi.Input

	ToGetAccessPointRootDirectoryCreationInfoArrayOutput() GetAccessPointRootDirectoryCreationInfoArrayOutput
	ToGetAccessPointRootDirectoryCreationInfoArrayOutputWithContext(context.Context) GetAccessPointRootDirectoryCreationInfoArrayOutput
}

GetAccessPointRootDirectoryCreationInfoArrayInput is an input type that accepts GetAccessPointRootDirectoryCreationInfoArray and GetAccessPointRootDirectoryCreationInfoArrayOutput values. You can construct a concrete instance of `GetAccessPointRootDirectoryCreationInfoArrayInput` via:

GetAccessPointRootDirectoryCreationInfoArray{ GetAccessPointRootDirectoryCreationInfoArgs{...} }

type GetAccessPointRootDirectoryCreationInfoArrayOutput

type GetAccessPointRootDirectoryCreationInfoArrayOutput struct{ *pulumi.OutputState }

func (GetAccessPointRootDirectoryCreationInfoArrayOutput) ElementType

func (GetAccessPointRootDirectoryCreationInfoArrayOutput) Index

func (GetAccessPointRootDirectoryCreationInfoArrayOutput) ToGetAccessPointRootDirectoryCreationInfoArrayOutput

func (o GetAccessPointRootDirectoryCreationInfoArrayOutput) ToGetAccessPointRootDirectoryCreationInfoArrayOutput() GetAccessPointRootDirectoryCreationInfoArrayOutput

func (GetAccessPointRootDirectoryCreationInfoArrayOutput) ToGetAccessPointRootDirectoryCreationInfoArrayOutputWithContext

func (o GetAccessPointRootDirectoryCreationInfoArrayOutput) ToGetAccessPointRootDirectoryCreationInfoArrayOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryCreationInfoArrayOutput

type GetAccessPointRootDirectoryCreationInfoInput

type GetAccessPointRootDirectoryCreationInfoInput interface {
	pulumi.Input

	ToGetAccessPointRootDirectoryCreationInfoOutput() GetAccessPointRootDirectoryCreationInfoOutput
	ToGetAccessPointRootDirectoryCreationInfoOutputWithContext(context.Context) GetAccessPointRootDirectoryCreationInfoOutput
}

GetAccessPointRootDirectoryCreationInfoInput is an input type that accepts GetAccessPointRootDirectoryCreationInfoArgs and GetAccessPointRootDirectoryCreationInfoOutput values. You can construct a concrete instance of `GetAccessPointRootDirectoryCreationInfoInput` via:

GetAccessPointRootDirectoryCreationInfoArgs{...}

type GetAccessPointRootDirectoryCreationInfoOutput

type GetAccessPointRootDirectoryCreationInfoOutput struct{ *pulumi.OutputState }

func (GetAccessPointRootDirectoryCreationInfoOutput) ElementType

func (GetAccessPointRootDirectoryCreationInfoOutput) OwnerGid

POSIX owner group ID

func (GetAccessPointRootDirectoryCreationInfoOutput) OwnerUid

POSIX owner user ID

func (GetAccessPointRootDirectoryCreationInfoOutput) Permissions

POSIX permissions mode

func (GetAccessPointRootDirectoryCreationInfoOutput) ToGetAccessPointRootDirectoryCreationInfoOutput

func (o GetAccessPointRootDirectoryCreationInfoOutput) ToGetAccessPointRootDirectoryCreationInfoOutput() GetAccessPointRootDirectoryCreationInfoOutput

func (GetAccessPointRootDirectoryCreationInfoOutput) ToGetAccessPointRootDirectoryCreationInfoOutputWithContext

func (o GetAccessPointRootDirectoryCreationInfoOutput) ToGetAccessPointRootDirectoryCreationInfoOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryCreationInfoOutput

type GetAccessPointRootDirectoryInput

type GetAccessPointRootDirectoryInput interface {
	pulumi.Input

	ToGetAccessPointRootDirectoryOutput() GetAccessPointRootDirectoryOutput
	ToGetAccessPointRootDirectoryOutputWithContext(context.Context) GetAccessPointRootDirectoryOutput
}

GetAccessPointRootDirectoryInput is an input type that accepts GetAccessPointRootDirectoryArgs and GetAccessPointRootDirectoryOutput values. You can construct a concrete instance of `GetAccessPointRootDirectoryInput` via:

GetAccessPointRootDirectoryArgs{...}

type GetAccessPointRootDirectoryOutput

type GetAccessPointRootDirectoryOutput struct{ *pulumi.OutputState }

func (GetAccessPointRootDirectoryOutput) CreationInfos

Single element list containing information on the creation permissions of the directory

func (GetAccessPointRootDirectoryOutput) ElementType

func (GetAccessPointRootDirectoryOutput) Path

Path exposed as the root directory

func (GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutput

func (o GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutput() GetAccessPointRootDirectoryOutput

func (GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutputWithContext

func (o GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryOutput

type GetAccessPointsArgs

type GetAccessPointsArgs struct {
	// EFS File System identifier.
	FileSystemId string `pulumi:"fileSystemId"`
}

A collection of arguments for invoking getAccessPoints.

type GetAccessPointsOutputArgs

type GetAccessPointsOutputArgs struct {
	// EFS File System identifier.
	FileSystemId pulumi.StringInput `pulumi:"fileSystemId"`
}

A collection of arguments for invoking getAccessPoints.

func (GetAccessPointsOutputArgs) ElementType

func (GetAccessPointsOutputArgs) ElementType() reflect.Type

type GetAccessPointsResult

type GetAccessPointsResult struct {
	// Set of Amazon Resource Names (ARNs).
	Arns         []string `pulumi:"arns"`
	FileSystemId string   `pulumi:"fileSystemId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Set of identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getAccessPoints.

func GetAccessPoints

func GetAccessPoints(ctx *pulumi.Context, args *GetAccessPointsArgs, opts ...pulumi.InvokeOption) (*GetAccessPointsResult, error)

Provides information about multiple Elastic File System (EFS) Access Points.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := efs.GetAccessPoints(ctx, &efs.GetAccessPointsArgs{
			FileSystemId: "fs-12345678",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAccessPointsResultOutput

type GetAccessPointsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccessPoints.

func (GetAccessPointsResultOutput) Arns

Set of Amazon Resource Names (ARNs).

func (GetAccessPointsResultOutput) ElementType

func (GetAccessPointsResultOutput) FileSystemId

func (GetAccessPointsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAccessPointsResultOutput) Ids

Set of identifiers.

func (GetAccessPointsResultOutput) ToGetAccessPointsResultOutput

func (o GetAccessPointsResultOutput) ToGetAccessPointsResultOutput() GetAccessPointsResultOutput

func (GetAccessPointsResultOutput) ToGetAccessPointsResultOutputWithContext

func (o GetAccessPointsResultOutput) ToGetAccessPointsResultOutputWithContext(ctx context.Context) GetAccessPointsResultOutput

type GetFileSystemLifecyclePolicy

type GetFileSystemLifecyclePolicy struct {
	TransitionToArchive             string `pulumi:"transitionToArchive"`
	TransitionToIa                  string `pulumi:"transitionToIa"`
	TransitionToPrimaryStorageClass string `pulumi:"transitionToPrimaryStorageClass"`
}

type GetFileSystemLifecyclePolicyArgs

type GetFileSystemLifecyclePolicyArgs struct {
	TransitionToArchive             pulumi.StringInput `pulumi:"transitionToArchive"`
	TransitionToIa                  pulumi.StringInput `pulumi:"transitionToIa"`
	TransitionToPrimaryStorageClass pulumi.StringInput `pulumi:"transitionToPrimaryStorageClass"`
}

func (GetFileSystemLifecyclePolicyArgs) ElementType

func (GetFileSystemLifecyclePolicyArgs) ToGetFileSystemLifecyclePolicyOutput

func (i GetFileSystemLifecyclePolicyArgs) ToGetFileSystemLifecyclePolicyOutput() GetFileSystemLifecyclePolicyOutput

func (GetFileSystemLifecyclePolicyArgs) ToGetFileSystemLifecyclePolicyOutputWithContext

func (i GetFileSystemLifecyclePolicyArgs) ToGetFileSystemLifecyclePolicyOutputWithContext(ctx context.Context) GetFileSystemLifecyclePolicyOutput

type GetFileSystemLifecyclePolicyInput

type GetFileSystemLifecyclePolicyInput interface {
	pulumi.Input

	ToGetFileSystemLifecyclePolicyOutput() GetFileSystemLifecyclePolicyOutput
	ToGetFileSystemLifecyclePolicyOutputWithContext(context.Context) GetFileSystemLifecyclePolicyOutput
}

GetFileSystemLifecyclePolicyInput is an input type that accepts GetFileSystemLifecyclePolicyArgs and GetFileSystemLifecyclePolicyOutput values. You can construct a concrete instance of `GetFileSystemLifecyclePolicyInput` via:

GetFileSystemLifecyclePolicyArgs{...}

type GetFileSystemLifecyclePolicyOutput

type GetFileSystemLifecyclePolicyOutput struct{ *pulumi.OutputState }

func (GetFileSystemLifecyclePolicyOutput) ElementType

func (GetFileSystemLifecyclePolicyOutput) ToGetFileSystemLifecyclePolicyOutput

func (o GetFileSystemLifecyclePolicyOutput) ToGetFileSystemLifecyclePolicyOutput() GetFileSystemLifecyclePolicyOutput

func (GetFileSystemLifecyclePolicyOutput) ToGetFileSystemLifecyclePolicyOutputWithContext

func (o GetFileSystemLifecyclePolicyOutput) ToGetFileSystemLifecyclePolicyOutputWithContext(ctx context.Context) GetFileSystemLifecyclePolicyOutput

func (GetFileSystemLifecyclePolicyOutput) TransitionToArchive added in v6.18.2

func (o GetFileSystemLifecyclePolicyOutput) TransitionToArchive() pulumi.StringOutput

func (GetFileSystemLifecyclePolicyOutput) TransitionToIa

func (GetFileSystemLifecyclePolicyOutput) TransitionToPrimaryStorageClass

func (o GetFileSystemLifecyclePolicyOutput) TransitionToPrimaryStorageClass() pulumi.StringOutput

type GetFileSystemProtection added in v6.18.2

type GetFileSystemProtection struct {
	ReplicationOverwrite string `pulumi:"replicationOverwrite"`
}

type GetFileSystemProtectionArgs added in v6.18.2

type GetFileSystemProtectionArgs struct {
	ReplicationOverwrite pulumi.StringInput `pulumi:"replicationOverwrite"`
}

func (GetFileSystemProtectionArgs) ElementType added in v6.18.2

func (GetFileSystemProtectionArgs) ToGetFileSystemProtectionOutput added in v6.18.2

func (i GetFileSystemProtectionArgs) ToGetFileSystemProtectionOutput() GetFileSystemProtectionOutput

func (GetFileSystemProtectionArgs) ToGetFileSystemProtectionOutputWithContext added in v6.18.2

func (i GetFileSystemProtectionArgs) ToGetFileSystemProtectionOutputWithContext(ctx context.Context) GetFileSystemProtectionOutput

type GetFileSystemProtectionArray added in v6.18.2

type GetFileSystemProtectionArray []GetFileSystemProtectionInput

func (GetFileSystemProtectionArray) ElementType added in v6.18.2

func (GetFileSystemProtectionArray) ToGetFileSystemProtectionArrayOutput added in v6.18.2

func (i GetFileSystemProtectionArray) ToGetFileSystemProtectionArrayOutput() GetFileSystemProtectionArrayOutput

func (GetFileSystemProtectionArray) ToGetFileSystemProtectionArrayOutputWithContext added in v6.18.2

func (i GetFileSystemProtectionArray) ToGetFileSystemProtectionArrayOutputWithContext(ctx context.Context) GetFileSystemProtectionArrayOutput

type GetFileSystemProtectionArrayInput added in v6.18.2

type GetFileSystemProtectionArrayInput interface {
	pulumi.Input

	ToGetFileSystemProtectionArrayOutput() GetFileSystemProtectionArrayOutput
	ToGetFileSystemProtectionArrayOutputWithContext(context.Context) GetFileSystemProtectionArrayOutput
}

GetFileSystemProtectionArrayInput is an input type that accepts GetFileSystemProtectionArray and GetFileSystemProtectionArrayOutput values. You can construct a concrete instance of `GetFileSystemProtectionArrayInput` via:

GetFileSystemProtectionArray{ GetFileSystemProtectionArgs{...} }

type GetFileSystemProtectionArrayOutput added in v6.18.2

type GetFileSystemProtectionArrayOutput struct{ *pulumi.OutputState }

func (GetFileSystemProtectionArrayOutput) ElementType added in v6.18.2

func (GetFileSystemProtectionArrayOutput) Index added in v6.18.2

func (GetFileSystemProtectionArrayOutput) ToGetFileSystemProtectionArrayOutput added in v6.18.2

func (o GetFileSystemProtectionArrayOutput) ToGetFileSystemProtectionArrayOutput() GetFileSystemProtectionArrayOutput

func (GetFileSystemProtectionArrayOutput) ToGetFileSystemProtectionArrayOutputWithContext added in v6.18.2

func (o GetFileSystemProtectionArrayOutput) ToGetFileSystemProtectionArrayOutputWithContext(ctx context.Context) GetFileSystemProtectionArrayOutput

type GetFileSystemProtectionInput added in v6.18.2

type GetFileSystemProtectionInput interface {
	pulumi.Input

	ToGetFileSystemProtectionOutput() GetFileSystemProtectionOutput
	ToGetFileSystemProtectionOutputWithContext(context.Context) GetFileSystemProtectionOutput
}

GetFileSystemProtectionInput is an input type that accepts GetFileSystemProtectionArgs and GetFileSystemProtectionOutput values. You can construct a concrete instance of `GetFileSystemProtectionInput` via:

GetFileSystemProtectionArgs{...}

type GetFileSystemProtectionOutput added in v6.18.2

type GetFileSystemProtectionOutput struct{ *pulumi.OutputState }

func (GetFileSystemProtectionOutput) ElementType added in v6.18.2

func (GetFileSystemProtectionOutput) ReplicationOverwrite added in v6.18.2

func (o GetFileSystemProtectionOutput) ReplicationOverwrite() pulumi.StringOutput

func (GetFileSystemProtectionOutput) ToGetFileSystemProtectionOutput added in v6.18.2

func (o GetFileSystemProtectionOutput) ToGetFileSystemProtectionOutput() GetFileSystemProtectionOutput

func (GetFileSystemProtectionOutput) ToGetFileSystemProtectionOutputWithContext added in v6.18.2

func (o GetFileSystemProtectionOutput) ToGetFileSystemProtectionOutputWithContext(ctx context.Context) GetFileSystemProtectionOutput

type LookupAccessPointArgs

type LookupAccessPointArgs struct {
	// ID that identifies the file system.
	AccessPointId string `pulumi:"accessPointId"`
	// Key-value mapping of resource tags.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getAccessPoint.

type LookupAccessPointOutputArgs

type LookupAccessPointOutputArgs struct {
	// ID that identifies the file system.
	AccessPointId pulumi.StringInput `pulumi:"accessPointId"`
	// Key-value mapping of resource tags.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getAccessPoint.

func (LookupAccessPointOutputArgs) ElementType

type LookupAccessPointResult

type LookupAccessPointResult struct {
	AccessPointId string `pulumi:"accessPointId"`
	// Amazon Resource Name of the file system.
	Arn string `pulumi:"arn"`
	// Amazon Resource Name of the file system.
	FileSystemArn string `pulumi:"fileSystemArn"`
	// ID of the file system for which the access point is intended.
	FileSystemId string `pulumi:"fileSystemId"`
	// The provider-assigned unique ID for this managed resource.
	Id      string `pulumi:"id"`
	OwnerId string `pulumi:"ownerId"`
	// Single element list containing operating system user and group applied to all file system requests made using the access point.
	PosixUsers []GetAccessPointPosixUser `pulumi:"posixUsers"`
	// Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.
	RootDirectories []GetAccessPointRootDirectory `pulumi:"rootDirectories"`
	// Key-value mapping of resource tags.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getAccessPoint.

func LookupAccessPoint

func LookupAccessPoint(ctx *pulumi.Context, args *LookupAccessPointArgs, opts ...pulumi.InvokeOption) (*LookupAccessPointResult, error)

Provides information about an Elastic File System (EFS) Access Point.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := efs.LookupAccessPoint(ctx, &efs.LookupAccessPointArgs{
			AccessPointId: "fsap-12345678",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupAccessPointResultOutput

type LookupAccessPointResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccessPoint.

func (LookupAccessPointResultOutput) AccessPointId

func (LookupAccessPointResultOutput) Arn

Amazon Resource Name of the file system.

func (LookupAccessPointResultOutput) ElementType

func (LookupAccessPointResultOutput) FileSystemArn

Amazon Resource Name of the file system.

func (LookupAccessPointResultOutput) FileSystemId

ID of the file system for which the access point is intended.

func (LookupAccessPointResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAccessPointResultOutput) OwnerId

func (LookupAccessPointResultOutput) PosixUsers

Single element list containing operating system user and group applied to all file system requests made using the access point.

func (LookupAccessPointResultOutput) RootDirectories

Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.

func (LookupAccessPointResultOutput) Tags

Key-value mapping of resource tags.

func (LookupAccessPointResultOutput) ToLookupAccessPointResultOutput

func (o LookupAccessPointResultOutput) ToLookupAccessPointResultOutput() LookupAccessPointResultOutput

func (LookupAccessPointResultOutput) ToLookupAccessPointResultOutputWithContext

func (o LookupAccessPointResultOutput) ToLookupAccessPointResultOutputWithContext(ctx context.Context) LookupAccessPointResultOutput

type LookupFileSystemArgs

type LookupFileSystemArgs struct {
	// Restricts the list to the file system with this creation token.
	CreationToken *string `pulumi:"creationToken"`
	// ID that identifies the file system (e.g., fs-ccfc0d65).
	FileSystemId *string `pulumi:"fileSystemId"`
	// Restricts the list to the file system with these tags.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getFileSystem.

type LookupFileSystemOutputArgs

type LookupFileSystemOutputArgs struct {
	// Restricts the list to the file system with this creation token.
	CreationToken pulumi.StringPtrInput `pulumi:"creationToken"`
	// ID that identifies the file system (e.g., fs-ccfc0d65).
	FileSystemId pulumi.StringPtrInput `pulumi:"fileSystemId"`
	// Restricts the list to the file system with these tags.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getFileSystem.

func (LookupFileSystemOutputArgs) ElementType

func (LookupFileSystemOutputArgs) ElementType() reflect.Type

type LookupFileSystemResult

type LookupFileSystemResult struct {
	// Amazon Resource Name of the file system.
	Arn string `pulumi:"arn"`
	// The identifier of the Availability Zone in which the file system's One Zone storage classes exist.
	AvailabilityZoneId string `pulumi:"availabilityZoneId"`
	// The Availability Zone name in which the file system's One Zone storage classes exist.
	AvailabilityZoneName string `pulumi:"availabilityZoneName"`
	CreationToken        string `pulumi:"creationToken"`
	// DNS name for the filesystem per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).
	DnsName string `pulumi:"dnsName"`
	// Whether EFS is encrypted.
	Encrypted    bool   `pulumi:"encrypted"`
	FileSystemId string `pulumi:"fileSystemId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// ARN for the KMS encryption key.
	KmsKeyId string `pulumi:"kmsKeyId"`
	// File system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) object.
	LifecyclePolicy GetFileSystemLifecyclePolicy `pulumi:"lifecyclePolicy"`
	// The value of the file system's `Name` tag.
	Name string `pulumi:"name"`
	// File system performance mode.
	PerformanceMode string                    `pulumi:"performanceMode"`
	Protections     []GetFileSystemProtection `pulumi:"protections"`
	// The throughput, measured in MiB/s, that you want to provision for the file system.
	ProvisionedThroughputInMibps float64 `pulumi:"provisionedThroughputInMibps"`
	// Current byte count used by the file system.
	SizeInBytes int `pulumi:"sizeInBytes"`
	// A map of tags to assign to the file system.
	Tags map[string]string `pulumi:"tags"`
	// Throughput mode for the file system.
	ThroughputMode string `pulumi:"throughputMode"`
}

A collection of values returned by getFileSystem.

func LookupFileSystem

func LookupFileSystem(ctx *pulumi.Context, args *LookupFileSystemArgs, opts ...pulumi.InvokeOption) (*LookupFileSystemResult, error)

Provides information about an Elastic File System (EFS) File System.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"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, "")
		fileSystemId := ""
		if param := cfg.Get("fileSystemId"); param != "" {
			fileSystemId = param
		}
		_, err := efs.LookupFileSystem(ctx, &efs.LookupFileSystemArgs{
			FileSystemId: pulumi.StringRef(fileSystemId),
		}, nil)
		if err != nil {
			return err
		}
		_, err = efs.LookupFileSystem(ctx, &efs.LookupFileSystemArgs{
			Tags: map[string]interface{}{
				"Environment": "dev",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupFileSystemResultOutput

type LookupFileSystemResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFileSystem.

func (LookupFileSystemResultOutput) Arn

Amazon Resource Name of the file system.

func (LookupFileSystemResultOutput) AvailabilityZoneId

func (o LookupFileSystemResultOutput) AvailabilityZoneId() pulumi.StringOutput

The identifier of the Availability Zone in which the file system's One Zone storage classes exist.

func (LookupFileSystemResultOutput) AvailabilityZoneName

func (o LookupFileSystemResultOutput) AvailabilityZoneName() pulumi.StringOutput

The Availability Zone name in which the file system's One Zone storage classes exist.

func (LookupFileSystemResultOutput) CreationToken

func (LookupFileSystemResultOutput) DnsName

DNS name for the filesystem per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).

func (LookupFileSystemResultOutput) ElementType

func (LookupFileSystemResultOutput) Encrypted

Whether EFS is encrypted.

func (LookupFileSystemResultOutput) FileSystemId

func (LookupFileSystemResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupFileSystemResultOutput) KmsKeyId

ARN for the KMS encryption key.

func (LookupFileSystemResultOutput) LifecyclePolicy

File system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) object.

func (LookupFileSystemResultOutput) Name added in v6.1.0

The value of the file system's `Name` tag.

func (LookupFileSystemResultOutput) PerformanceMode

func (o LookupFileSystemResultOutput) PerformanceMode() pulumi.StringOutput

File system performance mode.

func (LookupFileSystemResultOutput) Protections added in v6.18.2

func (LookupFileSystemResultOutput) ProvisionedThroughputInMibps

func (o LookupFileSystemResultOutput) ProvisionedThroughputInMibps() pulumi.Float64Output

The throughput, measured in MiB/s, that you want to provision for the file system.

func (LookupFileSystemResultOutput) SizeInBytes

Current byte count used by the file system.

func (LookupFileSystemResultOutput) Tags

A map of tags to assign to the file system.

func (LookupFileSystemResultOutput) ThroughputMode

Throughput mode for the file system.

func (LookupFileSystemResultOutput) ToLookupFileSystemResultOutput

func (o LookupFileSystemResultOutput) ToLookupFileSystemResultOutput() LookupFileSystemResultOutput

func (LookupFileSystemResultOutput) ToLookupFileSystemResultOutputWithContext

func (o LookupFileSystemResultOutput) ToLookupFileSystemResultOutputWithContext(ctx context.Context) LookupFileSystemResultOutput

type LookupMountTargetArgs

type LookupMountTargetArgs struct {
	// ID or ARN of the access point whose mount target that you want to find. It must be included if a `fileSystemId` and `mountTargetId` are not included.
	AccessPointId *string `pulumi:"accessPointId"`
	// ID or ARN of the file system whose mount target that you want to find. It must be included if an `accessPointId` and `mountTargetId` are not included.
	FileSystemId *string `pulumi:"fileSystemId"`
	// ID or ARN of the mount target that you want to find. It must be included in your request if an `accessPointId` and `fileSystemId` are not included.
	MountTargetId *string `pulumi:"mountTargetId"`
}

A collection of arguments for invoking getMountTarget.

type LookupMountTargetOutputArgs

type LookupMountTargetOutputArgs struct {
	// ID or ARN of the access point whose mount target that you want to find. It must be included if a `fileSystemId` and `mountTargetId` are not included.
	AccessPointId pulumi.StringPtrInput `pulumi:"accessPointId"`
	// ID or ARN of the file system whose mount target that you want to find. It must be included if an `accessPointId` and `mountTargetId` are not included.
	FileSystemId pulumi.StringPtrInput `pulumi:"fileSystemId"`
	// ID or ARN of the mount target that you want to find. It must be included in your request if an `accessPointId` and `fileSystemId` are not included.
	MountTargetId pulumi.StringPtrInput `pulumi:"mountTargetId"`
}

A collection of arguments for invoking getMountTarget.

func (LookupMountTargetOutputArgs) ElementType

type LookupMountTargetResult

type LookupMountTargetResult struct {
	AccessPointId *string `pulumi:"accessPointId"`
	// The unique and consistent identifier of the Availability Zone (AZ) that the mount target resides in.
	AvailabilityZoneId string `pulumi:"availabilityZoneId"`
	// The name of the Availability Zone (AZ) that the mount target resides in.
	AvailabilityZoneName string `pulumi:"availabilityZoneName"`
	// DNS name for the EFS file system.
	DnsName string `pulumi:"dnsName"`
	// Amazon Resource Name of the file system for which the mount target is intended.
	FileSystemArn string `pulumi:"fileSystemArn"`
	FileSystemId  string `pulumi:"fileSystemId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Address at which the file system may be mounted via the mount target.
	IpAddress string `pulumi:"ipAddress"`
	// The DNS name for the given subnet/AZ per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).
	MountTargetDnsName string `pulumi:"mountTargetDnsName"`
	MountTargetId      string `pulumi:"mountTargetId"`
	// The ID of the network interface that Amazon EFS created when it created the mount target.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
	// AWS account ID that owns the resource.
	OwnerId string `pulumi:"ownerId"`
	// List of VPC security group IDs attached to the mount target.
	SecurityGroups []string `pulumi:"securityGroups"`
	// ID of the mount target's subnet.
	SubnetId string `pulumi:"subnetId"`
}

A collection of values returned by getMountTarget.

func LookupMountTarget

func LookupMountTarget(ctx *pulumi.Context, args *LookupMountTargetArgs, opts ...pulumi.InvokeOption) (*LookupMountTargetResult, error)

Provides information about an Elastic File System Mount Target (EFS).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"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, "")
		mountTargetId := ""
		if param := cfg.Get("mountTargetId"); param != "" {
			mountTargetId = param
		}
		_, err := efs.LookupMountTarget(ctx, &efs.LookupMountTargetArgs{
			MountTargetId: pulumi.StringRef(mountTargetId),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupMountTargetResultOutput

type LookupMountTargetResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMountTarget.

func (LookupMountTargetResultOutput) AccessPointId

func (LookupMountTargetResultOutput) AvailabilityZoneId

func (o LookupMountTargetResultOutput) AvailabilityZoneId() pulumi.StringOutput

The unique and consistent identifier of the Availability Zone (AZ) that the mount target resides in.

func (LookupMountTargetResultOutput) AvailabilityZoneName

func (o LookupMountTargetResultOutput) AvailabilityZoneName() pulumi.StringOutput

The name of the Availability Zone (AZ) that the mount target resides in.

func (LookupMountTargetResultOutput) DnsName

DNS name for the EFS file system.

func (LookupMountTargetResultOutput) ElementType

func (LookupMountTargetResultOutput) FileSystemArn

Amazon Resource Name of the file system for which the mount target is intended.

func (LookupMountTargetResultOutput) FileSystemId

func (LookupMountTargetResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupMountTargetResultOutput) IpAddress

Address at which the file system may be mounted via the mount target.

func (LookupMountTargetResultOutput) MountTargetDnsName

func (o LookupMountTargetResultOutput) MountTargetDnsName() pulumi.StringOutput

The DNS name for the given subnet/AZ per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).

func (LookupMountTargetResultOutput) MountTargetId

func (LookupMountTargetResultOutput) NetworkInterfaceId

func (o LookupMountTargetResultOutput) NetworkInterfaceId() pulumi.StringOutput

The ID of the network interface that Amazon EFS created when it created the mount target.

func (LookupMountTargetResultOutput) OwnerId

AWS account ID that owns the resource.

func (LookupMountTargetResultOutput) SecurityGroups

List of VPC security group IDs attached to the mount target.

func (LookupMountTargetResultOutput) SubnetId

ID of the mount target's subnet.

func (LookupMountTargetResultOutput) ToLookupMountTargetResultOutput

func (o LookupMountTargetResultOutput) ToLookupMountTargetResultOutput() LookupMountTargetResultOutput

func (LookupMountTargetResultOutput) ToLookupMountTargetResultOutputWithContext

func (o LookupMountTargetResultOutput) ToLookupMountTargetResultOutputWithContext(ctx context.Context) LookupMountTargetResultOutput

type MountTarget

type MountTarget struct {
	pulumi.CustomResourceState

	// The unique and consistent identifier of the Availability Zone (AZ) that the mount target resides in.
	AvailabilityZoneId pulumi.StringOutput `pulumi:"availabilityZoneId"`
	// The name of the Availability Zone (AZ) that the mount target resides in.
	AvailabilityZoneName pulumi.StringOutput `pulumi:"availabilityZoneName"`
	// The DNS name for the EFS file system.
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// Amazon Resource Name of the file system.
	FileSystemArn pulumi.StringOutput `pulumi:"fileSystemArn"`
	// The ID of the file system for which the mount target is intended.
	FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"`
	// The address (within the address range of the specified subnet) at
	// which the file system may be mounted via the mount target.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// The DNS name for the given subnet/AZ per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).
	MountTargetDnsName pulumi.StringOutput `pulumi:"mountTargetDnsName"`
	// The ID of the network interface that Amazon EFS created when it created the mount target.
	NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
	// AWS account ID that owns the resource.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// A list of up to 5 VPC security group IDs (that must
	// be for the same VPC as subnet specified) in effect for the mount target.
	SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"`
	// The ID of the subnet to add the mount target in.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
}

Provides an Elastic File System (EFS) mount target.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := ec2.NewVpc(ctx, "foo", &ec2.VpcArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		alphaSubnet, err := ec2.NewSubnet(ctx, "alpha", &ec2.SubnetArgs{
			VpcId:            foo.ID(),
			AvailabilityZone: pulumi.String("us-west-2a"),
			CidrBlock:        pulumi.String("10.0.1.0/24"),
		})
		if err != nil {
			return err
		}
		_, err = efs.NewMountTarget(ctx, "alpha", &efs.MountTargetArgs{
			FileSystemId: pulumi.Any(fooAwsEfsFileSystem.Id),
			SubnetId:     alphaSubnet.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import the EFS mount targets using the `id`. For example:

```sh

$ pulumi import aws:efs/mountTarget:MountTarget alpha fsmt-52a643fb

```

func GetMountTarget

func GetMountTarget(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MountTargetState, opts ...pulumi.ResourceOption) (*MountTarget, error)

GetMountTarget gets an existing MountTarget 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 NewMountTarget

func NewMountTarget(ctx *pulumi.Context,
	name string, args *MountTargetArgs, opts ...pulumi.ResourceOption) (*MountTarget, error)

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

func (*MountTarget) ElementType

func (*MountTarget) ElementType() reflect.Type

func (*MountTarget) ToMountTargetOutput

func (i *MountTarget) ToMountTargetOutput() MountTargetOutput

func (*MountTarget) ToMountTargetOutputWithContext

func (i *MountTarget) ToMountTargetOutputWithContext(ctx context.Context) MountTargetOutput

type MountTargetArgs

type MountTargetArgs struct {
	// The ID of the file system for which the mount target is intended.
	FileSystemId pulumi.StringInput
	// The address (within the address range of the specified subnet) at
	// which the file system may be mounted via the mount target.
	IpAddress pulumi.StringPtrInput
	// A list of up to 5 VPC security group IDs (that must
	// be for the same VPC as subnet specified) in effect for the mount target.
	SecurityGroups pulumi.StringArrayInput
	// The ID of the subnet to add the mount target in.
	SubnetId pulumi.StringInput
}

The set of arguments for constructing a MountTarget resource.

func (MountTargetArgs) ElementType

func (MountTargetArgs) ElementType() reflect.Type

type MountTargetArray

type MountTargetArray []MountTargetInput

func (MountTargetArray) ElementType

func (MountTargetArray) ElementType() reflect.Type

func (MountTargetArray) ToMountTargetArrayOutput

func (i MountTargetArray) ToMountTargetArrayOutput() MountTargetArrayOutput

func (MountTargetArray) ToMountTargetArrayOutputWithContext

func (i MountTargetArray) ToMountTargetArrayOutputWithContext(ctx context.Context) MountTargetArrayOutput

type MountTargetArrayInput

type MountTargetArrayInput interface {
	pulumi.Input

	ToMountTargetArrayOutput() MountTargetArrayOutput
	ToMountTargetArrayOutputWithContext(context.Context) MountTargetArrayOutput
}

MountTargetArrayInput is an input type that accepts MountTargetArray and MountTargetArrayOutput values. You can construct a concrete instance of `MountTargetArrayInput` via:

MountTargetArray{ MountTargetArgs{...} }

type MountTargetArrayOutput

type MountTargetArrayOutput struct{ *pulumi.OutputState }

func (MountTargetArrayOutput) ElementType

func (MountTargetArrayOutput) ElementType() reflect.Type

func (MountTargetArrayOutput) Index

func (MountTargetArrayOutput) ToMountTargetArrayOutput

func (o MountTargetArrayOutput) ToMountTargetArrayOutput() MountTargetArrayOutput

func (MountTargetArrayOutput) ToMountTargetArrayOutputWithContext

func (o MountTargetArrayOutput) ToMountTargetArrayOutputWithContext(ctx context.Context) MountTargetArrayOutput

type MountTargetInput

type MountTargetInput interface {
	pulumi.Input

	ToMountTargetOutput() MountTargetOutput
	ToMountTargetOutputWithContext(ctx context.Context) MountTargetOutput
}

type MountTargetMap

type MountTargetMap map[string]MountTargetInput

func (MountTargetMap) ElementType

func (MountTargetMap) ElementType() reflect.Type

func (MountTargetMap) ToMountTargetMapOutput

func (i MountTargetMap) ToMountTargetMapOutput() MountTargetMapOutput

func (MountTargetMap) ToMountTargetMapOutputWithContext

func (i MountTargetMap) ToMountTargetMapOutputWithContext(ctx context.Context) MountTargetMapOutput

type MountTargetMapInput

type MountTargetMapInput interface {
	pulumi.Input

	ToMountTargetMapOutput() MountTargetMapOutput
	ToMountTargetMapOutputWithContext(context.Context) MountTargetMapOutput
}

MountTargetMapInput is an input type that accepts MountTargetMap and MountTargetMapOutput values. You can construct a concrete instance of `MountTargetMapInput` via:

MountTargetMap{ "key": MountTargetArgs{...} }

type MountTargetMapOutput

type MountTargetMapOutput struct{ *pulumi.OutputState }

func (MountTargetMapOutput) ElementType

func (MountTargetMapOutput) ElementType() reflect.Type

func (MountTargetMapOutput) MapIndex

func (MountTargetMapOutput) ToMountTargetMapOutput

func (o MountTargetMapOutput) ToMountTargetMapOutput() MountTargetMapOutput

func (MountTargetMapOutput) ToMountTargetMapOutputWithContext

func (o MountTargetMapOutput) ToMountTargetMapOutputWithContext(ctx context.Context) MountTargetMapOutput

type MountTargetOutput

type MountTargetOutput struct{ *pulumi.OutputState }

func (MountTargetOutput) AvailabilityZoneId

func (o MountTargetOutput) AvailabilityZoneId() pulumi.StringOutput

The unique and consistent identifier of the Availability Zone (AZ) that the mount target resides in.

func (MountTargetOutput) AvailabilityZoneName

func (o MountTargetOutput) AvailabilityZoneName() pulumi.StringOutput

The name of the Availability Zone (AZ) that the mount target resides in.

func (MountTargetOutput) DnsName

The DNS name for the EFS file system.

func (MountTargetOutput) ElementType

func (MountTargetOutput) ElementType() reflect.Type

func (MountTargetOutput) FileSystemArn

func (o MountTargetOutput) FileSystemArn() pulumi.StringOutput

Amazon Resource Name of the file system.

func (MountTargetOutput) FileSystemId

func (o MountTargetOutput) FileSystemId() pulumi.StringOutput

The ID of the file system for which the mount target is intended.

func (MountTargetOutput) IpAddress

func (o MountTargetOutput) IpAddress() pulumi.StringOutput

The address (within the address range of the specified subnet) at which the file system may be mounted via the mount target.

func (MountTargetOutput) MountTargetDnsName

func (o MountTargetOutput) MountTargetDnsName() pulumi.StringOutput

The DNS name for the given subnet/AZ per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).

func (MountTargetOutput) NetworkInterfaceId

func (o MountTargetOutput) NetworkInterfaceId() pulumi.StringOutput

The ID of the network interface that Amazon EFS created when it created the mount target.

func (MountTargetOutput) OwnerId

AWS account ID that owns the resource.

func (MountTargetOutput) SecurityGroups

func (o MountTargetOutput) SecurityGroups() pulumi.StringArrayOutput

A list of up to 5 VPC security group IDs (that must be for the same VPC as subnet specified) in effect for the mount target.

func (MountTargetOutput) SubnetId

func (o MountTargetOutput) SubnetId() pulumi.StringOutput

The ID of the subnet to add the mount target in.

func (MountTargetOutput) ToMountTargetOutput

func (o MountTargetOutput) ToMountTargetOutput() MountTargetOutput

func (MountTargetOutput) ToMountTargetOutputWithContext

func (o MountTargetOutput) ToMountTargetOutputWithContext(ctx context.Context) MountTargetOutput

type MountTargetState

type MountTargetState struct {
	// The unique and consistent identifier of the Availability Zone (AZ) that the mount target resides in.
	AvailabilityZoneId pulumi.StringPtrInput
	// The name of the Availability Zone (AZ) that the mount target resides in.
	AvailabilityZoneName pulumi.StringPtrInput
	// The DNS name for the EFS file system.
	DnsName pulumi.StringPtrInput
	// Amazon Resource Name of the file system.
	FileSystemArn pulumi.StringPtrInput
	// The ID of the file system for which the mount target is intended.
	FileSystemId pulumi.StringPtrInput
	// The address (within the address range of the specified subnet) at
	// which the file system may be mounted via the mount target.
	IpAddress pulumi.StringPtrInput
	// The DNS name for the given subnet/AZ per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).
	MountTargetDnsName pulumi.StringPtrInput
	// The ID of the network interface that Amazon EFS created when it created the mount target.
	NetworkInterfaceId pulumi.StringPtrInput
	// AWS account ID that owns the resource.
	OwnerId pulumi.StringPtrInput
	// A list of up to 5 VPC security group IDs (that must
	// be for the same VPC as subnet specified) in effect for the mount target.
	SecurityGroups pulumi.StringArrayInput
	// The ID of the subnet to add the mount target in.
	SubnetId pulumi.StringPtrInput
}

func (MountTargetState) ElementType

func (MountTargetState) ElementType() reflect.Type

type ReplicationConfiguration

type ReplicationConfiguration struct {
	pulumi.CustomResourceState

	// When the replication configuration was created.
	// * `destination[0].file_system_id` - The fs ID of the replica.
	// * `destination[0].status` - The status of the replication.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// A destination configuration block (documented below).
	Destination ReplicationConfigurationDestinationOutput `pulumi:"destination"`
	// The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
	OriginalSourceFileSystemArn pulumi.StringOutput `pulumi:"originalSourceFileSystemArn"`
	// The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
	SourceFileSystemArn pulumi.StringOutput `pulumi:"sourceFileSystemArn"`
	// The ID of the file system that is to be replicated.
	SourceFileSystemId pulumi.StringOutput `pulumi:"sourceFileSystemId"`
	// The AWS Region in which the source Amazon EFS file system is located.
	SourceFileSystemRegion pulumi.StringOutput `pulumi:"sourceFileSystemRegion"`
}

Creates a replica of an existing EFS file system in the same or another region. Creating this resource causes the source EFS file system to be replicated to a new read-only destination EFS file system (unless using the `destination.file_system_id` attribute). Deleting this resource will cause the replication from source to destination to stop and the destination file system will no longer be read only.

> **NOTE:** Deleting this resource does **not** delete the destination file system that was created.

## Example Usage

Will create a replica using regional storage in us-west-2 that will be encrypted by the default EFS KMS key `/aws/elasticfilesystem`.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := efs.NewFileSystem(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = efs.NewReplicationConfiguration(ctx, "example", &efs.ReplicationConfigurationArgs{
			SourceFileSystemId: example.ID(),
			Destination: &efs.ReplicationConfigurationDestinationArgs{
				Region: pulumi.String("us-west-2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Replica will be created as One Zone storage in the us-west-2b Availability Zone and encrypted with the specified KMS key.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := efs.NewFileSystem(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = efs.NewReplicationConfiguration(ctx, "example", &efs.ReplicationConfigurationArgs{
			SourceFileSystemId: example.ID(),
			Destination: &efs.ReplicationConfigurationDestinationArgs{
				AvailabilityZoneName: pulumi.String("us-west-2b"),
				KmsKeyId:             pulumi.String("1234abcd-12ab-34cd-56ef-1234567890ab"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Will create a replica and set the existing file system with id `fs-1234567890` in us-west-2 as destination.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := efs.NewFileSystem(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = efs.NewReplicationConfiguration(ctx, "example", &efs.ReplicationConfigurationArgs{
			SourceFileSystemId: example.ID(),
			Destination: &efs.ReplicationConfigurationDestinationArgs{
				FileSystemId: pulumi.String("fs-1234567890"),
				Region:       pulumi.String("us-west-2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import EFS Replication Configurations using the file system ID of either the source or destination file system. When importing, the `availability_zone_name` and `kms_key_id` attributes must __not__ be set in the configuration. The AWS API does not return these values when querying the replication configuration and their presence will therefore show as a diff in a subsequent plan. For example:

```sh

$ pulumi import aws:efs/replicationConfiguration:ReplicationConfiguration example fs-id

```

func GetReplicationConfiguration

func GetReplicationConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReplicationConfigurationState, opts ...pulumi.ResourceOption) (*ReplicationConfiguration, error)

GetReplicationConfiguration gets an existing ReplicationConfiguration 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 NewReplicationConfiguration

func NewReplicationConfiguration(ctx *pulumi.Context,
	name string, args *ReplicationConfigurationArgs, opts ...pulumi.ResourceOption) (*ReplicationConfiguration, error)

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

func (*ReplicationConfiguration) ElementType

func (*ReplicationConfiguration) ElementType() reflect.Type

func (*ReplicationConfiguration) ToReplicationConfigurationOutput

func (i *ReplicationConfiguration) ToReplicationConfigurationOutput() ReplicationConfigurationOutput

func (*ReplicationConfiguration) ToReplicationConfigurationOutputWithContext

func (i *ReplicationConfiguration) ToReplicationConfigurationOutputWithContext(ctx context.Context) ReplicationConfigurationOutput

type ReplicationConfigurationArgs

type ReplicationConfigurationArgs struct {
	// A destination configuration block (documented below).
	Destination ReplicationConfigurationDestinationInput
	// The ID of the file system that is to be replicated.
	SourceFileSystemId pulumi.StringInput
}

The set of arguments for constructing a ReplicationConfiguration resource.

func (ReplicationConfigurationArgs) ElementType

type ReplicationConfigurationArray

type ReplicationConfigurationArray []ReplicationConfigurationInput

func (ReplicationConfigurationArray) ElementType

func (ReplicationConfigurationArray) ToReplicationConfigurationArrayOutput

func (i ReplicationConfigurationArray) ToReplicationConfigurationArrayOutput() ReplicationConfigurationArrayOutput

func (ReplicationConfigurationArray) ToReplicationConfigurationArrayOutputWithContext

func (i ReplicationConfigurationArray) ToReplicationConfigurationArrayOutputWithContext(ctx context.Context) ReplicationConfigurationArrayOutput

type ReplicationConfigurationArrayInput

type ReplicationConfigurationArrayInput interface {
	pulumi.Input

	ToReplicationConfigurationArrayOutput() ReplicationConfigurationArrayOutput
	ToReplicationConfigurationArrayOutputWithContext(context.Context) ReplicationConfigurationArrayOutput
}

ReplicationConfigurationArrayInput is an input type that accepts ReplicationConfigurationArray and ReplicationConfigurationArrayOutput values. You can construct a concrete instance of `ReplicationConfigurationArrayInput` via:

ReplicationConfigurationArray{ ReplicationConfigurationArgs{...} }

type ReplicationConfigurationArrayOutput

type ReplicationConfigurationArrayOutput struct{ *pulumi.OutputState }

func (ReplicationConfigurationArrayOutput) ElementType

func (ReplicationConfigurationArrayOutput) Index

func (ReplicationConfigurationArrayOutput) ToReplicationConfigurationArrayOutput

func (o ReplicationConfigurationArrayOutput) ToReplicationConfigurationArrayOutput() ReplicationConfigurationArrayOutput

func (ReplicationConfigurationArrayOutput) ToReplicationConfigurationArrayOutputWithContext

func (o ReplicationConfigurationArrayOutput) ToReplicationConfigurationArrayOutputWithContext(ctx context.Context) ReplicationConfigurationArrayOutput

type ReplicationConfigurationDestination

type ReplicationConfigurationDestination struct {
	// The availability zone in which the replica should be created. If specified, the replica will be created with One Zone storage. If omitted, regional storage will be used.
	AvailabilityZoneName *string `pulumi:"availabilityZoneName"`
	// The ID of the destination file system for the replication. If no ID is provided, then EFS creates a new file system with the default settings.
	FileSystemId *string `pulumi:"fileSystemId"`
	// The Key ID, ARN, alias, or alias ARN of the KMS key that should be used to encrypt the replica file system. If omitted, the default KMS key for EFS `/aws/elasticfilesystem` will be used.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// The region in which the replica should be created.
	Region *string `pulumi:"region"`
	Status *string `pulumi:"status"`
}

type ReplicationConfigurationDestinationArgs

type ReplicationConfigurationDestinationArgs struct {
	// The availability zone in which the replica should be created. If specified, the replica will be created with One Zone storage. If omitted, regional storage will be used.
	AvailabilityZoneName pulumi.StringPtrInput `pulumi:"availabilityZoneName"`
	// The ID of the destination file system for the replication. If no ID is provided, then EFS creates a new file system with the default settings.
	FileSystemId pulumi.StringPtrInput `pulumi:"fileSystemId"`
	// The Key ID, ARN, alias, or alias ARN of the KMS key that should be used to encrypt the replica file system. If omitted, the default KMS key for EFS `/aws/elasticfilesystem` will be used.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The region in which the replica should be created.
	Region pulumi.StringPtrInput `pulumi:"region"`
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (ReplicationConfigurationDestinationArgs) ElementType

func (ReplicationConfigurationDestinationArgs) ToReplicationConfigurationDestinationOutput

func (i ReplicationConfigurationDestinationArgs) ToReplicationConfigurationDestinationOutput() ReplicationConfigurationDestinationOutput

func (ReplicationConfigurationDestinationArgs) ToReplicationConfigurationDestinationOutputWithContext

func (i ReplicationConfigurationDestinationArgs) ToReplicationConfigurationDestinationOutputWithContext(ctx context.Context) ReplicationConfigurationDestinationOutput

func (ReplicationConfigurationDestinationArgs) ToReplicationConfigurationDestinationPtrOutput

func (i ReplicationConfigurationDestinationArgs) ToReplicationConfigurationDestinationPtrOutput() ReplicationConfigurationDestinationPtrOutput

func (ReplicationConfigurationDestinationArgs) ToReplicationConfigurationDestinationPtrOutputWithContext

func (i ReplicationConfigurationDestinationArgs) ToReplicationConfigurationDestinationPtrOutputWithContext(ctx context.Context) ReplicationConfigurationDestinationPtrOutput

type ReplicationConfigurationDestinationInput

type ReplicationConfigurationDestinationInput interface {
	pulumi.Input

	ToReplicationConfigurationDestinationOutput() ReplicationConfigurationDestinationOutput
	ToReplicationConfigurationDestinationOutputWithContext(context.Context) ReplicationConfigurationDestinationOutput
}

ReplicationConfigurationDestinationInput is an input type that accepts ReplicationConfigurationDestinationArgs and ReplicationConfigurationDestinationOutput values. You can construct a concrete instance of `ReplicationConfigurationDestinationInput` via:

ReplicationConfigurationDestinationArgs{...}

type ReplicationConfigurationDestinationOutput

type ReplicationConfigurationDestinationOutput struct{ *pulumi.OutputState }

func (ReplicationConfigurationDestinationOutput) AvailabilityZoneName

The availability zone in which the replica should be created. If specified, the replica will be created with One Zone storage. If omitted, regional storage will be used.

func (ReplicationConfigurationDestinationOutput) ElementType

func (ReplicationConfigurationDestinationOutput) FileSystemId

The ID of the destination file system for the replication. If no ID is provided, then EFS creates a new file system with the default settings.

func (ReplicationConfigurationDestinationOutput) KmsKeyId

The Key ID, ARN, alias, or alias ARN of the KMS key that should be used to encrypt the replica file system. If omitted, the default KMS key for EFS `/aws/elasticfilesystem` will be used.

func (ReplicationConfigurationDestinationOutput) Region

The region in which the replica should be created.

func (ReplicationConfigurationDestinationOutput) Status

func (ReplicationConfigurationDestinationOutput) ToReplicationConfigurationDestinationOutput

func (o ReplicationConfigurationDestinationOutput) ToReplicationConfigurationDestinationOutput() ReplicationConfigurationDestinationOutput

func (ReplicationConfigurationDestinationOutput) ToReplicationConfigurationDestinationOutputWithContext

func (o ReplicationConfigurationDestinationOutput) ToReplicationConfigurationDestinationOutputWithContext(ctx context.Context) ReplicationConfigurationDestinationOutput

func (ReplicationConfigurationDestinationOutput) ToReplicationConfigurationDestinationPtrOutput

func (o ReplicationConfigurationDestinationOutput) ToReplicationConfigurationDestinationPtrOutput() ReplicationConfigurationDestinationPtrOutput

func (ReplicationConfigurationDestinationOutput) ToReplicationConfigurationDestinationPtrOutputWithContext

func (o ReplicationConfigurationDestinationOutput) ToReplicationConfigurationDestinationPtrOutputWithContext(ctx context.Context) ReplicationConfigurationDestinationPtrOutput

type ReplicationConfigurationDestinationPtrInput

type ReplicationConfigurationDestinationPtrInput interface {
	pulumi.Input

	ToReplicationConfigurationDestinationPtrOutput() ReplicationConfigurationDestinationPtrOutput
	ToReplicationConfigurationDestinationPtrOutputWithContext(context.Context) ReplicationConfigurationDestinationPtrOutput
}

ReplicationConfigurationDestinationPtrInput is an input type that accepts ReplicationConfigurationDestinationArgs, ReplicationConfigurationDestinationPtr and ReplicationConfigurationDestinationPtrOutput values. You can construct a concrete instance of `ReplicationConfigurationDestinationPtrInput` via:

        ReplicationConfigurationDestinationArgs{...}

or:

        nil

type ReplicationConfigurationDestinationPtrOutput

type ReplicationConfigurationDestinationPtrOutput struct{ *pulumi.OutputState }

func (ReplicationConfigurationDestinationPtrOutput) AvailabilityZoneName

The availability zone in which the replica should be created. If specified, the replica will be created with One Zone storage. If omitted, regional storage will be used.

func (ReplicationConfigurationDestinationPtrOutput) Elem

func (ReplicationConfigurationDestinationPtrOutput) ElementType

func (ReplicationConfigurationDestinationPtrOutput) FileSystemId

The ID of the destination file system for the replication. If no ID is provided, then EFS creates a new file system with the default settings.

func (ReplicationConfigurationDestinationPtrOutput) KmsKeyId

The Key ID, ARN, alias, or alias ARN of the KMS key that should be used to encrypt the replica file system. If omitted, the default KMS key for EFS `/aws/elasticfilesystem` will be used.

func (ReplicationConfigurationDestinationPtrOutput) Region

The region in which the replica should be created.

func (ReplicationConfigurationDestinationPtrOutput) Status

func (ReplicationConfigurationDestinationPtrOutput) ToReplicationConfigurationDestinationPtrOutput

func (o ReplicationConfigurationDestinationPtrOutput) ToReplicationConfigurationDestinationPtrOutput() ReplicationConfigurationDestinationPtrOutput

func (ReplicationConfigurationDestinationPtrOutput) ToReplicationConfigurationDestinationPtrOutputWithContext

func (o ReplicationConfigurationDestinationPtrOutput) ToReplicationConfigurationDestinationPtrOutputWithContext(ctx context.Context) ReplicationConfigurationDestinationPtrOutput

type ReplicationConfigurationInput

type ReplicationConfigurationInput interface {
	pulumi.Input

	ToReplicationConfigurationOutput() ReplicationConfigurationOutput
	ToReplicationConfigurationOutputWithContext(ctx context.Context) ReplicationConfigurationOutput
}

type ReplicationConfigurationMap

type ReplicationConfigurationMap map[string]ReplicationConfigurationInput

func (ReplicationConfigurationMap) ElementType

func (ReplicationConfigurationMap) ToReplicationConfigurationMapOutput

func (i ReplicationConfigurationMap) ToReplicationConfigurationMapOutput() ReplicationConfigurationMapOutput

func (ReplicationConfigurationMap) ToReplicationConfigurationMapOutputWithContext

func (i ReplicationConfigurationMap) ToReplicationConfigurationMapOutputWithContext(ctx context.Context) ReplicationConfigurationMapOutput

type ReplicationConfigurationMapInput

type ReplicationConfigurationMapInput interface {
	pulumi.Input

	ToReplicationConfigurationMapOutput() ReplicationConfigurationMapOutput
	ToReplicationConfigurationMapOutputWithContext(context.Context) ReplicationConfigurationMapOutput
}

ReplicationConfigurationMapInput is an input type that accepts ReplicationConfigurationMap and ReplicationConfigurationMapOutput values. You can construct a concrete instance of `ReplicationConfigurationMapInput` via:

ReplicationConfigurationMap{ "key": ReplicationConfigurationArgs{...} }

type ReplicationConfigurationMapOutput

type ReplicationConfigurationMapOutput struct{ *pulumi.OutputState }

func (ReplicationConfigurationMapOutput) ElementType

func (ReplicationConfigurationMapOutput) MapIndex

func (ReplicationConfigurationMapOutput) ToReplicationConfigurationMapOutput

func (o ReplicationConfigurationMapOutput) ToReplicationConfigurationMapOutput() ReplicationConfigurationMapOutput

func (ReplicationConfigurationMapOutput) ToReplicationConfigurationMapOutputWithContext

func (o ReplicationConfigurationMapOutput) ToReplicationConfigurationMapOutputWithContext(ctx context.Context) ReplicationConfigurationMapOutput

type ReplicationConfigurationOutput

type ReplicationConfigurationOutput struct{ *pulumi.OutputState }

func (ReplicationConfigurationOutput) CreationTime

When the replication configuration was created. * `destination[0].file_system_id` - The fs ID of the replica. * `destination[0].status` - The status of the replication.

func (ReplicationConfigurationOutput) Destination

A destination configuration block (documented below).

func (ReplicationConfigurationOutput) ElementType

func (ReplicationConfigurationOutput) OriginalSourceFileSystemArn

func (o ReplicationConfigurationOutput) OriginalSourceFileSystemArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.

func (ReplicationConfigurationOutput) SourceFileSystemArn

func (o ReplicationConfigurationOutput) SourceFileSystemArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the current source file system in the replication configuration.

func (ReplicationConfigurationOutput) SourceFileSystemId

func (o ReplicationConfigurationOutput) SourceFileSystemId() pulumi.StringOutput

The ID of the file system that is to be replicated.

func (ReplicationConfigurationOutput) SourceFileSystemRegion

func (o ReplicationConfigurationOutput) SourceFileSystemRegion() pulumi.StringOutput

The AWS Region in which the source Amazon EFS file system is located.

func (ReplicationConfigurationOutput) ToReplicationConfigurationOutput

func (o ReplicationConfigurationOutput) ToReplicationConfigurationOutput() ReplicationConfigurationOutput

func (ReplicationConfigurationOutput) ToReplicationConfigurationOutputWithContext

func (o ReplicationConfigurationOutput) ToReplicationConfigurationOutputWithContext(ctx context.Context) ReplicationConfigurationOutput

type ReplicationConfigurationState

type ReplicationConfigurationState struct {
	// When the replication configuration was created.
	// * `destination[0].file_system_id` - The fs ID of the replica.
	// * `destination[0].status` - The status of the replication.
	CreationTime pulumi.StringPtrInput
	// A destination configuration block (documented below).
	Destination ReplicationConfigurationDestinationPtrInput
	// The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
	OriginalSourceFileSystemArn pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
	SourceFileSystemArn pulumi.StringPtrInput
	// The ID of the file system that is to be replicated.
	SourceFileSystemId pulumi.StringPtrInput
	// The AWS Region in which the source Amazon EFS file system is located.
	SourceFileSystemRegion pulumi.StringPtrInput
}

func (ReplicationConfigurationState) ElementType

Jump to

Keyboard shortcuts

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