efs

package
v4.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 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"`
	Tags          pulumi.StringMapOutput         `pulumi:"tags"`
	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/v4/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(aws_efs_file_system.Foo.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The EFS access points can be imported using the `id`, e.g.

```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

func (*AccessPoint) ToAccessPointPtrOutput

func (i *AccessPoint) ToAccessPointPtrOutput() AccessPointPtrOutput

func (*AccessPoint) ToAccessPointPtrOutputWithContext

func (i *AccessPoint) ToAccessPointPtrOutputWithContext(ctx context.Context) AccessPointPtrOutput

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
	Tags          pulumi.StringMapInput
	TagsAll       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) ElementType

func (AccessPointOutput) ElementType() reflect.Type

func (AccessPointOutput) ToAccessPointOutput

func (o AccessPointOutput) ToAccessPointOutput() AccessPointOutput

func (AccessPointOutput) ToAccessPointOutputWithContext

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

func (AccessPointOutput) ToAccessPointPtrOutput

func (o AccessPointOutput) ToAccessPointPtrOutput() AccessPointPtrOutput

func (AccessPointOutput) ToAccessPointPtrOutputWithContext

func (o AccessPointOutput) ToAccessPointPtrOutputWithContext(ctx context.Context) AccessPointPtrOutput

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 AccessPointPtrInput

type AccessPointPtrInput interface {
	pulumi.Input

	ToAccessPointPtrOutput() AccessPointPtrOutput
	ToAccessPointPtrOutputWithContext(ctx context.Context) AccessPointPtrOutput
}

type AccessPointPtrOutput

type AccessPointPtrOutput struct{ *pulumi.OutputState }

func (AccessPointPtrOutput) Elem added in v4.15.0

func (AccessPointPtrOutput) ElementType

func (AccessPointPtrOutput) ElementType() reflect.Type

func (AccessPointPtrOutput) ToAccessPointPtrOutput

func (o AccessPointPtrOutput) ToAccessPointPtrOutput() AccessPointPtrOutput

func (AccessPointPtrOutput) ToAccessPointPtrOutputWithContext

func (o AccessPointPtrOutput) ToAccessPointPtrOutputWithContext(ctx context.Context) AccessPointPtrOutput

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
	Tags          pulumi.StringMapInput
	TagsAll       pulumi.StringMapInput
}

func (AccessPointState) ElementType

func (AccessPointState) ElementType() reflect.Type

type BackupPolicy added in v4.10.0

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/v4/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", nil)
		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

The EFS backup policies can be imported using the `id`, e.g.

```sh

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

```

func GetBackupPolicy added in v4.10.0

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 added in v4.10.0

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 added in v4.10.0

func (*BackupPolicy) ElementType() reflect.Type

func (*BackupPolicy) ToBackupPolicyOutput added in v4.10.0

func (i *BackupPolicy) ToBackupPolicyOutput() BackupPolicyOutput

func (*BackupPolicy) ToBackupPolicyOutputWithContext added in v4.10.0

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

func (*BackupPolicy) ToBackupPolicyPtrOutput added in v4.10.0

func (i *BackupPolicy) ToBackupPolicyPtrOutput() BackupPolicyPtrOutput

func (*BackupPolicy) ToBackupPolicyPtrOutputWithContext added in v4.10.0

func (i *BackupPolicy) ToBackupPolicyPtrOutputWithContext(ctx context.Context) BackupPolicyPtrOutput

type BackupPolicyArgs added in v4.10.0

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 added in v4.10.0

func (BackupPolicyArgs) ElementType() reflect.Type

type BackupPolicyArray added in v4.10.0

type BackupPolicyArray []BackupPolicyInput

func (BackupPolicyArray) ElementType added in v4.10.0

func (BackupPolicyArray) ElementType() reflect.Type

func (BackupPolicyArray) ToBackupPolicyArrayOutput added in v4.10.0

func (i BackupPolicyArray) ToBackupPolicyArrayOutput() BackupPolicyArrayOutput

func (BackupPolicyArray) ToBackupPolicyArrayOutputWithContext added in v4.10.0

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

type BackupPolicyArrayInput added in v4.10.0

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 added in v4.10.0

type BackupPolicyArrayOutput struct{ *pulumi.OutputState }

func (BackupPolicyArrayOutput) ElementType added in v4.10.0

func (BackupPolicyArrayOutput) ElementType() reflect.Type

func (BackupPolicyArrayOutput) Index added in v4.10.0

func (BackupPolicyArrayOutput) ToBackupPolicyArrayOutput added in v4.10.0

func (o BackupPolicyArrayOutput) ToBackupPolicyArrayOutput() BackupPolicyArrayOutput

func (BackupPolicyArrayOutput) ToBackupPolicyArrayOutputWithContext added in v4.10.0

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

type BackupPolicyBackupPolicy added in v4.10.0

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

type BackupPolicyBackupPolicyArgs added in v4.10.0

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

func (BackupPolicyBackupPolicyArgs) ElementType added in v4.10.0

func (BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyOutput added in v4.10.0

func (i BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyOutput() BackupPolicyBackupPolicyOutput

func (BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyOutputWithContext added in v4.10.0

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

func (BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyPtrOutput added in v4.10.0

func (i BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyPtrOutput() BackupPolicyBackupPolicyPtrOutput

func (BackupPolicyBackupPolicyArgs) ToBackupPolicyBackupPolicyPtrOutputWithContext added in v4.10.0

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

type BackupPolicyBackupPolicyInput added in v4.10.0

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 added in v4.10.0

type BackupPolicyBackupPolicyOutput struct{ *pulumi.OutputState }

func (BackupPolicyBackupPolicyOutput) ElementType added in v4.10.0

func (BackupPolicyBackupPolicyOutput) Status added in v4.10.0

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

func (BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyOutput added in v4.10.0

func (o BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyOutput() BackupPolicyBackupPolicyOutput

func (BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyOutputWithContext added in v4.10.0

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

func (BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyPtrOutput added in v4.10.0

func (o BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyPtrOutput() BackupPolicyBackupPolicyPtrOutput

func (BackupPolicyBackupPolicyOutput) ToBackupPolicyBackupPolicyPtrOutputWithContext added in v4.10.0

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

type BackupPolicyBackupPolicyPtrInput added in v4.10.0

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

func BackupPolicyBackupPolicyPtr added in v4.10.0

func BackupPolicyBackupPolicyPtr(v *BackupPolicyBackupPolicyArgs) BackupPolicyBackupPolicyPtrInput

type BackupPolicyBackupPolicyPtrOutput added in v4.10.0

type BackupPolicyBackupPolicyPtrOutput struct{ *pulumi.OutputState }

func (BackupPolicyBackupPolicyPtrOutput) Elem added in v4.10.0

func (BackupPolicyBackupPolicyPtrOutput) ElementType added in v4.10.0

func (BackupPolicyBackupPolicyPtrOutput) Status added in v4.10.0

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

func (BackupPolicyBackupPolicyPtrOutput) ToBackupPolicyBackupPolicyPtrOutput added in v4.10.0

func (o BackupPolicyBackupPolicyPtrOutput) ToBackupPolicyBackupPolicyPtrOutput() BackupPolicyBackupPolicyPtrOutput

func (BackupPolicyBackupPolicyPtrOutput) ToBackupPolicyBackupPolicyPtrOutputWithContext added in v4.10.0

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

type BackupPolicyInput added in v4.10.0

type BackupPolicyInput interface {
	pulumi.Input

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

type BackupPolicyMap added in v4.10.0

type BackupPolicyMap map[string]BackupPolicyInput

func (BackupPolicyMap) ElementType added in v4.10.0

func (BackupPolicyMap) ElementType() reflect.Type

func (BackupPolicyMap) ToBackupPolicyMapOutput added in v4.10.0

func (i BackupPolicyMap) ToBackupPolicyMapOutput() BackupPolicyMapOutput

func (BackupPolicyMap) ToBackupPolicyMapOutputWithContext added in v4.10.0

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

type BackupPolicyMapInput added in v4.10.0

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 added in v4.10.0

type BackupPolicyMapOutput struct{ *pulumi.OutputState }

func (BackupPolicyMapOutput) ElementType added in v4.10.0

func (BackupPolicyMapOutput) ElementType() reflect.Type

func (BackupPolicyMapOutput) MapIndex added in v4.10.0

func (BackupPolicyMapOutput) ToBackupPolicyMapOutput added in v4.10.0

func (o BackupPolicyMapOutput) ToBackupPolicyMapOutput() BackupPolicyMapOutput

func (BackupPolicyMapOutput) ToBackupPolicyMapOutputWithContext added in v4.10.0

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

type BackupPolicyOutput added in v4.10.0

type BackupPolicyOutput struct{ *pulumi.OutputState }

func (BackupPolicyOutput) ElementType added in v4.10.0

func (BackupPolicyOutput) ElementType() reflect.Type

func (BackupPolicyOutput) ToBackupPolicyOutput added in v4.10.0

func (o BackupPolicyOutput) ToBackupPolicyOutput() BackupPolicyOutput

func (BackupPolicyOutput) ToBackupPolicyOutputWithContext added in v4.10.0

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

func (BackupPolicyOutput) ToBackupPolicyPtrOutput added in v4.10.0

func (o BackupPolicyOutput) ToBackupPolicyPtrOutput() BackupPolicyPtrOutput

func (BackupPolicyOutput) ToBackupPolicyPtrOutputWithContext added in v4.10.0

func (o BackupPolicyOutput) ToBackupPolicyPtrOutputWithContext(ctx context.Context) BackupPolicyPtrOutput

type BackupPolicyPtrInput added in v4.10.0

type BackupPolicyPtrInput interface {
	pulumi.Input

	ToBackupPolicyPtrOutput() BackupPolicyPtrOutput
	ToBackupPolicyPtrOutputWithContext(ctx context.Context) BackupPolicyPtrOutput
}

type BackupPolicyPtrOutput added in v4.10.0

type BackupPolicyPtrOutput struct{ *pulumi.OutputState }

func (BackupPolicyPtrOutput) Elem added in v4.15.0

func (BackupPolicyPtrOutput) ElementType added in v4.10.0

func (BackupPolicyPtrOutput) ElementType() reflect.Type

func (BackupPolicyPtrOutput) ToBackupPolicyPtrOutput added in v4.10.0

func (o BackupPolicyPtrOutput) ToBackupPolicyPtrOutput() BackupPolicyPtrOutput

func (BackupPolicyPtrOutput) ToBackupPolicyPtrOutputWithContext added in v4.10.0

func (o BackupPolicyPtrOutput) ToBackupPolicyPtrOutputWithContext(ctx context.Context) BackupPolicyPtrOutput

type BackupPolicyState added in v4.10.0

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

func (BackupPolicyState) ElementType added in v4.10.0

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/storage-classes.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]
	// (http://docs.aws.amazon.com/efs/latest/ug/) 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 (documented below).
	LifecyclePolicy FileSystemLifecyclePolicyPtrOutput `pulumi:"lifecyclePolicy"`
	// 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"`
	// 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"`
	Tags        pulumi.StringMapOutput          `pulumi:"tags"`
	TagsAll     pulumi.StringMapOutput          `pulumi:"tagsAll"`
	// Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `provisioned`. 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/v4/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{
			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/v4/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := efs.NewFileSystem(ctx, "fooWithLifecylePolicy", &efs.FileSystemArgs{
			LifecyclePolicy: &efs.FileSystemLifecyclePolicyArgs{
				TransitionToIa: pulumi.String("AFTER_30_DAYS"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The EFS file systems can be imported using the `id`, e.g.

```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

func (*FileSystem) ToFileSystemPtrOutput

func (i *FileSystem) ToFileSystemPtrOutput() FileSystemPtrOutput

func (*FileSystem) ToFileSystemPtrOutputWithContext

func (i *FileSystem) ToFileSystemPtrOutputWithContext(ctx context.Context) FileSystemPtrOutput

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/storage-classes.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]
	// (http://docs.aws.amazon.com/efs/latest/ug/) 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 (documented below).
	LifecyclePolicy FileSystemLifecyclePolicyPtrInput
	// The file system performance mode. Can be either `"generalPurpose"` or `"maxIO"` (Default: `"generalPurpose"`).
	PerformanceMode pulumi.StringPtrInput
	// 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
	Tags                         pulumi.StringMapInput
	TagsAll                      pulumi.StringMapInput
	// Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `provisioned`. 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 IA storage class. Valid values: `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, or `AFTER_90_DAYS`.
	TransitionToIa string `pulumi:"transitionToIa"`
}

type FileSystemLifecyclePolicyArgs

type FileSystemLifecyclePolicyArgs struct {
	// Indicates how long it takes to transition files to the IA storage class. Valid values: `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, or `AFTER_90_DAYS`.
	TransitionToIa pulumi.StringInput `pulumi:"transitionToIa"`
}

func (FileSystemLifecyclePolicyArgs) ElementType

func (FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyOutput

func (i FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyOutput() FileSystemLifecyclePolicyOutput

func (FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyOutputWithContext

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

func (FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyPtrOutput

func (i FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyPtrOutput() FileSystemLifecyclePolicyPtrOutput

func (FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyPtrOutputWithContext

func (i FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyPtrOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyPtrOutput

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) ToFileSystemLifecyclePolicyPtrOutput

func (o FileSystemLifecyclePolicyOutput) ToFileSystemLifecyclePolicyPtrOutput() FileSystemLifecyclePolicyPtrOutput

func (FileSystemLifecyclePolicyOutput) ToFileSystemLifecyclePolicyPtrOutputWithContext

func (o FileSystemLifecyclePolicyOutput) ToFileSystemLifecyclePolicyPtrOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyPtrOutput

func (FileSystemLifecyclePolicyOutput) TransitionToIa

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

type FileSystemLifecyclePolicyPtrInput

type FileSystemLifecyclePolicyPtrInput interface {
	pulumi.Input

	ToFileSystemLifecyclePolicyPtrOutput() FileSystemLifecyclePolicyPtrOutput
	ToFileSystemLifecyclePolicyPtrOutputWithContext(context.Context) FileSystemLifecyclePolicyPtrOutput
}

FileSystemLifecyclePolicyPtrInput is an input type that accepts FileSystemLifecyclePolicyArgs, FileSystemLifecyclePolicyPtr and FileSystemLifecyclePolicyPtrOutput values. You can construct a concrete instance of `FileSystemLifecyclePolicyPtrInput` via:

        FileSystemLifecyclePolicyArgs{...}

or:

        nil

type FileSystemLifecyclePolicyPtrOutput

type FileSystemLifecyclePolicyPtrOutput struct{ *pulumi.OutputState }

func (FileSystemLifecyclePolicyPtrOutput) Elem

func (FileSystemLifecyclePolicyPtrOutput) ElementType

func (FileSystemLifecyclePolicyPtrOutput) ToFileSystemLifecyclePolicyPtrOutput

func (o FileSystemLifecyclePolicyPtrOutput) ToFileSystemLifecyclePolicyPtrOutput() FileSystemLifecyclePolicyPtrOutput

func (FileSystemLifecyclePolicyPtrOutput) ToFileSystemLifecyclePolicyPtrOutputWithContext

func (o FileSystemLifecyclePolicyPtrOutput) ToFileSystemLifecyclePolicyPtrOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyPtrOutput

func (FileSystemLifecyclePolicyPtrOutput) TransitionToIa

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

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) ElementType

func (FileSystemOutput) ElementType() reflect.Type

func (FileSystemOutput) ToFileSystemOutput

func (o FileSystemOutput) ToFileSystemOutput() FileSystemOutput

func (FileSystemOutput) ToFileSystemOutputWithContext

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

func (FileSystemOutput) ToFileSystemPtrOutput

func (o FileSystemOutput) ToFileSystemPtrOutput() FileSystemPtrOutput

func (FileSystemOutput) ToFileSystemPtrOutputWithContext

func (o FileSystemOutput) ToFileSystemPtrOutputWithContext(ctx context.Context) FileSystemPtrOutput

type FileSystemPolicy

type FileSystemPolicy struct {
	pulumi.CustomResourceState

	// 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.
	Policy pulumi.StringOutput `pulumi:"policy"`
}

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

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/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", nil)
		if err != nil {
			return err
		}
		_, err = efs.NewFileSystemPolicy(ctx, "policy", &efs.FileSystemPolicyArgs{
			FileSystemId: fs.ID(),
			Policy:       pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "    \"Version\": \"2012-10-17\",\n", "    \"Id\": \"ExamplePolicy01\",\n", "    \"Statement\": [\n", "        {\n", "            \"Sid\": \"ExampleStatement01\",\n", "            \"Effect\": \"Allow\",\n", "            \"Principal\": {\n", "                \"AWS\": \"*\"\n", "            },\n", "            \"Resource\": \"", aws_efs_file_system.Test.Arn, "\",\n", "            \"Action\": [\n", "                \"elasticfilesystem:ClientMount\",\n", "                \"elasticfilesystem:ClientWrite\"\n", "            ],\n", "            \"Condition\": {\n", "                \"Bool\": {\n", "                    \"aws:SecureTransport\": \"true\"\n", "                }\n", "            }\n", "        }\n", "    ]\n", "}\n")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The EFS file system policies can be imported using the `id`, e.g.

```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

func (*FileSystemPolicy) ToFileSystemPolicyPtrOutput

func (i *FileSystemPolicy) ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput

func (*FileSystemPolicy) ToFileSystemPolicyPtrOutputWithContext

func (i *FileSystemPolicy) ToFileSystemPolicyPtrOutputWithContext(ctx context.Context) FileSystemPolicyPtrOutput

type FileSystemPolicyArgs

type FileSystemPolicyArgs struct {
	// 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.
	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) ElementType

func (FileSystemPolicyOutput) ElementType() reflect.Type

func (FileSystemPolicyOutput) ToFileSystemPolicyOutput

func (o FileSystemPolicyOutput) ToFileSystemPolicyOutput() FileSystemPolicyOutput

func (FileSystemPolicyOutput) ToFileSystemPolicyOutputWithContext

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

func (FileSystemPolicyOutput) ToFileSystemPolicyPtrOutput

func (o FileSystemPolicyOutput) ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput

func (FileSystemPolicyOutput) ToFileSystemPolicyPtrOutputWithContext

func (o FileSystemPolicyOutput) ToFileSystemPolicyPtrOutputWithContext(ctx context.Context) FileSystemPolicyPtrOutput

type FileSystemPolicyPtrInput

type FileSystemPolicyPtrInput interface {
	pulumi.Input

	ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput
	ToFileSystemPolicyPtrOutputWithContext(ctx context.Context) FileSystemPolicyPtrOutput
}

type FileSystemPolicyPtrOutput

type FileSystemPolicyPtrOutput struct{ *pulumi.OutputState }

func (FileSystemPolicyPtrOutput) Elem added in v4.15.0

func (FileSystemPolicyPtrOutput) ElementType

func (FileSystemPolicyPtrOutput) ElementType() reflect.Type

func (FileSystemPolicyPtrOutput) ToFileSystemPolicyPtrOutput

func (o FileSystemPolicyPtrOutput) ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput

func (FileSystemPolicyPtrOutput) ToFileSystemPolicyPtrOutputWithContext

func (o FileSystemPolicyPtrOutput) ToFileSystemPolicyPtrOutputWithContext(ctx context.Context) FileSystemPolicyPtrOutput

type FileSystemPolicyState

type FileSystemPolicyState struct {
	// 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.
	Policy pulumi.StringPtrInput
}

func (FileSystemPolicyState) ElementType

func (FileSystemPolicyState) ElementType() reflect.Type

type FileSystemPtrInput

type FileSystemPtrInput interface {
	pulumi.Input

	ToFileSystemPtrOutput() FileSystemPtrOutput
	ToFileSystemPtrOutputWithContext(ctx context.Context) FileSystemPtrOutput
}

type FileSystemPtrOutput

type FileSystemPtrOutput struct{ *pulumi.OutputState }

func (FileSystemPtrOutput) Elem added in v4.15.0

func (FileSystemPtrOutput) ElementType

func (FileSystemPtrOutput) ElementType() reflect.Type

func (FileSystemPtrOutput) ToFileSystemPtrOutput

func (o FileSystemPtrOutput) ToFileSystemPtrOutput() FileSystemPtrOutput

func (FileSystemPtrOutput) ToFileSystemPtrOutputWithContext

func (o FileSystemPtrOutput) ToFileSystemPtrOutputWithContext(ctx context.Context) FileSystemPtrOutput

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/storage-classes.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]
	// (http://docs.aws.amazon.com/efs/latest/ug/) 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 (documented below).
	LifecyclePolicy FileSystemLifecyclePolicyPtrInput
	// 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
	// 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
	Tags        pulumi.StringMapInput
	TagsAll     pulumi.StringMapInput
	// Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `provisioned`. 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
	// * `rootDirectory`- Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.
	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
	// * `rootDirectory`- Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.
	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 * `rootDirectory`- Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.

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 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/v4/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 GetFileSystemLifecyclePolicy

type GetFileSystemLifecyclePolicy struct {
	TransitionToIa string `pulumi:"transitionToIa"`
}

type GetFileSystemLifecyclePolicyArgs

type GetFileSystemLifecyclePolicyArgs struct {
	TransitionToIa pulumi.StringInput `pulumi:"transitionToIa"`
}

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) TransitionToIa

type LookupAccessPointArgs

type LookupAccessPointArgs struct {
	// The 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 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"`
	// The 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"`
	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/v4/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 LookupFileSystemArgs

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

A collection of arguments for invoking getFileSystem.

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"`
	// 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 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"`
	// The ARN for the KMS encryption key.
	KmsKeyId string `pulumi:"kmsKeyId"`
	// A file system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) object.
	LifecyclePolicy GetFileSystemLifecyclePolicy `pulumi:"lifecyclePolicy"`
	// The file system performance mode.
	PerformanceMode string `pulumi:"performanceMode"`
	// The throughput, measured in MiB/s, that you want to provision for the file system.
	// * `tags` -A map of tags to assign to the file system.
	ProvisionedThroughputInMibps float64 `pulumi:"provisionedThroughputInMibps"`
	// The current byte count used by the file system.
	SizeInBytes int               `pulumi:"sizeInBytes"`
	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/v4/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
		}
		opt0 := fileSystemId
		_, err := efs.LookupFileSystem(ctx, &efs.LookupFileSystemArgs{
			FileSystemId: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

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 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"`
	// The 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/v4/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
		}
		opt0 := mountTargetId
		_, err := efs.LookupMountTarget(ctx, &efs.LookupMountTargetArgs{
			MountTargetId: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

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/v4/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v4/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, "alphaSubnet", &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, "alphaMountTarget", &efs.MountTargetArgs{
			FileSystemId: pulumi.Any(aws_efs_file_system.Foo.Id),
			SubnetId:     alphaSubnet.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The EFS mount targets can be imported using the `id`, e.g.

```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

func (*MountTarget) ToMountTargetPtrOutput

func (i *MountTarget) ToMountTargetPtrOutput() MountTargetPtrOutput

func (*MountTarget) ToMountTargetPtrOutputWithContext

func (i *MountTarget) ToMountTargetPtrOutputWithContext(ctx context.Context) MountTargetPtrOutput

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) ElementType

func (MountTargetOutput) ElementType() reflect.Type

func (MountTargetOutput) ToMountTargetOutput

func (o MountTargetOutput) ToMountTargetOutput() MountTargetOutput

func (MountTargetOutput) ToMountTargetOutputWithContext

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

func (MountTargetOutput) ToMountTargetPtrOutput

func (o MountTargetOutput) ToMountTargetPtrOutput() MountTargetPtrOutput

func (MountTargetOutput) ToMountTargetPtrOutputWithContext

func (o MountTargetOutput) ToMountTargetPtrOutputWithContext(ctx context.Context) MountTargetPtrOutput

type MountTargetPtrInput

type MountTargetPtrInput interface {
	pulumi.Input

	ToMountTargetPtrOutput() MountTargetPtrOutput
	ToMountTargetPtrOutputWithContext(ctx context.Context) MountTargetPtrOutput
}

type MountTargetPtrOutput

type MountTargetPtrOutput struct{ *pulumi.OutputState }

func (MountTargetPtrOutput) Elem added in v4.15.0

func (MountTargetPtrOutput) ElementType

func (MountTargetPtrOutput) ElementType() reflect.Type

func (MountTargetPtrOutput) ToMountTargetPtrOutput

func (o MountTargetPtrOutput) ToMountTargetPtrOutput() MountTargetPtrOutput

func (MountTargetPtrOutput) ToMountTargetPtrOutputWithContext

func (o MountTargetPtrOutput) ToMountTargetPtrOutputWithContext(ctx context.Context) MountTargetPtrOutput

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

Jump to

Keyboard shortcuts

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