efs

package
v3.38.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 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

	// Amazon Resource Name of the access point.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Amazon Resource Name of the file system.
	FileSystemArn pulumi.StringOutput `pulumi:"fileSystemArn"`
	// The ID of the file system for which the access point is intended.
	FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"`
	OwnerId      pulumi.StringOutput `pulumi:"ownerId"`
	// The operating system user and group applied to all file system requests made using the access point. See Posix User below.
	PosixUser AccessPointPosixUserPtrOutput `pulumi:"posixUser"`
	// Specifies the directory on the Amazon EFS file system that the access point provides access to. See Root Directory below.
	RootDirectory AccessPointRootDirectoryOutput `pulumi:"rootDirectory"`
	// Key-value mapping of resource tags.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides an Elastic File System (EFS) access point.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*AccessPoint) ElementType() reflect.Type

func (*AccessPoint) ToAccessPointOutput added in v3.13.0

func (i *AccessPoint) ToAccessPointOutput() AccessPointOutput

func (*AccessPoint) ToAccessPointOutputWithContext added in v3.13.0

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

func (*AccessPoint) ToAccessPointPtrOutput added in v3.25.0

func (i *AccessPoint) ToAccessPointPtrOutput() AccessPointPtrOutput

func (*AccessPoint) ToAccessPointPtrOutputWithContext added in v3.25.0

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

type AccessPointArgs

type AccessPointArgs struct {
	// The ID of the file system for which the access point is intended.
	FileSystemId pulumi.StringInput
	// The operating system user and group applied to all file system requests made using the access point. See Posix User below.
	PosixUser AccessPointPosixUserPtrInput
	// Specifies the directory on the Amazon EFS file system that the access point provides access to. See Root Directory below.
	RootDirectory AccessPointRootDirectoryPtrInput
	// Key-value mapping of resource tags.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a AccessPoint resource.

func (AccessPointArgs) ElementType

func (AccessPointArgs) ElementType() reflect.Type

type AccessPointArray added in v3.25.0

type AccessPointArray []AccessPointInput

func (AccessPointArray) ElementType added in v3.25.0

func (AccessPointArray) ElementType() reflect.Type

func (AccessPointArray) ToAccessPointArrayOutput added in v3.25.0

func (i AccessPointArray) ToAccessPointArrayOutput() AccessPointArrayOutput

func (AccessPointArray) ToAccessPointArrayOutputWithContext added in v3.25.0

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

type AccessPointArrayInput added in v3.25.0

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 added in v3.25.0

type AccessPointArrayOutput struct{ *pulumi.OutputState }

func (AccessPointArrayOutput) ElementType added in v3.25.0

func (AccessPointArrayOutput) ElementType() reflect.Type

func (AccessPointArrayOutput) Index added in v3.25.0

func (AccessPointArrayOutput) ToAccessPointArrayOutput added in v3.25.0

func (o AccessPointArrayOutput) ToAccessPointArrayOutput() AccessPointArrayOutput

func (AccessPointArrayOutput) ToAccessPointArrayOutputWithContext added in v3.25.0

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

type AccessPointInput added in v3.13.0

type AccessPointInput interface {
	pulumi.Input

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

type AccessPointMap added in v3.25.0

type AccessPointMap map[string]AccessPointInput

func (AccessPointMap) ElementType added in v3.25.0

func (AccessPointMap) ElementType() reflect.Type

func (AccessPointMap) ToAccessPointMapOutput added in v3.25.0

func (i AccessPointMap) ToAccessPointMapOutput() AccessPointMapOutput

func (AccessPointMap) ToAccessPointMapOutputWithContext added in v3.25.0

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

type AccessPointMapInput added in v3.25.0

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 added in v3.25.0

type AccessPointMapOutput struct{ *pulumi.OutputState }

func (AccessPointMapOutput) ElementType added in v3.25.0

func (AccessPointMapOutput) ElementType() reflect.Type

func (AccessPointMapOutput) MapIndex added in v3.25.0

func (AccessPointMapOutput) ToAccessPointMapOutput added in v3.25.0

func (o AccessPointMapOutput) ToAccessPointMapOutput() AccessPointMapOutput

func (AccessPointMapOutput) ToAccessPointMapOutputWithContext added in v3.25.0

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

type AccessPointOutput added in v3.13.0

type AccessPointOutput struct {
	*pulumi.OutputState
}

func (AccessPointOutput) ElementType added in v3.13.0

func (AccessPointOutput) ElementType() reflect.Type

func (AccessPointOutput) ToAccessPointOutput added in v3.13.0

func (o AccessPointOutput) ToAccessPointOutput() AccessPointOutput

func (AccessPointOutput) ToAccessPointOutputWithContext added in v3.13.0

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

func (AccessPointOutput) ToAccessPointPtrOutput added in v3.25.0

func (o AccessPointOutput) ToAccessPointPtrOutput() AccessPointPtrOutput

func (AccessPointOutput) ToAccessPointPtrOutputWithContext added in v3.25.0

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

type AccessPointPosixUser

type AccessPointPosixUser struct {
	// The 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"`
	// The POSIX user ID used for all file system operations using this access point.
	Uid int `pulumi:"uid"`
}

type AccessPointPosixUserArgs

type AccessPointPosixUserArgs struct {
	// The 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"`
	// The 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

The 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

The 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

The 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

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

type AccessPointPtrInput added in v3.25.0

type AccessPointPtrInput interface {
	pulumi.Input

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

type AccessPointPtrOutput added in v3.25.0

type AccessPointPtrOutput struct {
	*pulumi.OutputState
}

func (AccessPointPtrOutput) ElementType added in v3.25.0

func (AccessPointPtrOutput) ElementType() reflect.Type

func (AccessPointPtrOutput) ToAccessPointPtrOutput added in v3.25.0

func (o AccessPointPtrOutput) ToAccessPointPtrOutput() AccessPointPtrOutput

func (AccessPointPtrOutput) ToAccessPointPtrOutputWithContext added in v3.25.0

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

type AccessPointRootDirectory

type AccessPointRootDirectory struct {
	// Specifies the POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.
	CreationInfo *AccessPointRootDirectoryCreationInfo `pulumi:"creationInfo"`
	// Specifies the 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 {
	// Specifies the POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.
	CreationInfo AccessPointRootDirectoryCreationInfoPtrInput `pulumi:"creationInfo"`
	// Specifies the 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 {
	// Specifies the POSIX group ID to apply to the `rootDirectory`.
	OwnerGid int `pulumi:"ownerGid"`
	// Specifies the POSIX user ID to apply to the `rootDirectory`.
	OwnerUid int `pulumi:"ownerUid"`
	// Specifies the 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 {
	// Specifies the POSIX group ID to apply to the `rootDirectory`.
	OwnerGid pulumi.IntInput `pulumi:"ownerGid"`
	// Specifies the POSIX user ID to apply to the `rootDirectory`.
	OwnerUid pulumi.IntInput `pulumi:"ownerUid"`
	// Specifies the 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

Specifies the POSIX group ID to apply to the `rootDirectory`.

func (AccessPointRootDirectoryCreationInfoOutput) OwnerUid

Specifies the POSIX user ID to apply to the `rootDirectory`.

func (AccessPointRootDirectoryCreationInfoOutput) Permissions

Specifies the 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

Specifies the POSIX group ID to apply to the `rootDirectory`.

func (AccessPointRootDirectoryCreationInfoPtrOutput) OwnerUid

Specifies the POSIX user ID to apply to the `rootDirectory`.

func (AccessPointRootDirectoryCreationInfoPtrOutput) Permissions

Specifies the 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

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

func (AccessPointRootDirectoryOutput) ElementType

func (AccessPointRootDirectoryOutput) Path

Specifies the 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

Specifies the 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

Specifies the 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 {
	// Amazon Resource Name of the access point.
	Arn pulumi.StringPtrInput
	// Amazon Resource Name of the file system.
	FileSystemArn pulumi.StringPtrInput
	// The ID of the file system for which the access point is intended.
	FileSystemId pulumi.StringPtrInput
	OwnerId      pulumi.StringPtrInput
	// The operating system user and group applied to all file system requests made using the access point. See Posix User below.
	PosixUser AccessPointPosixUserPtrInput
	// Specifies the directory on the Amazon EFS file system that the access point provides access to. See Root Directory below.
	RootDirectory AccessPointRootDirectoryPtrInput
	// Key-value mapping of resource tags.
	Tags pulumi.StringMapInput
}

func (AccessPointState) ElementType

func (AccessPointState) 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"`
	// A map of tags to assign to the file system.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// 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/v3/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v2/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/v3/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*FileSystem) ElementType() reflect.Type

func (*FileSystem) ToFileSystemOutput added in v3.13.0

func (i *FileSystem) ToFileSystemOutput() FileSystemOutput

func (*FileSystem) ToFileSystemOutputWithContext added in v3.13.0

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

func (*FileSystem) ToFileSystemPtrOutput added in v3.25.0

func (i *FileSystem) ToFileSystemPtrOutput() FileSystemPtrOutput

func (*FileSystem) ToFileSystemPtrOutputWithContext added in v3.25.0

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
	// A map of tags to assign to the file system.
	Tags 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 added in v3.25.0

type FileSystemArray []FileSystemInput

func (FileSystemArray) ElementType added in v3.25.0

func (FileSystemArray) ElementType() reflect.Type

func (FileSystemArray) ToFileSystemArrayOutput added in v3.25.0

func (i FileSystemArray) ToFileSystemArrayOutput() FileSystemArrayOutput

func (FileSystemArray) ToFileSystemArrayOutputWithContext added in v3.25.0

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

type FileSystemArrayInput added in v3.25.0

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 added in v3.25.0

type FileSystemArrayOutput struct{ *pulumi.OutputState }

func (FileSystemArrayOutput) ElementType added in v3.25.0

func (FileSystemArrayOutput) ElementType() reflect.Type

func (FileSystemArrayOutput) Index added in v3.25.0

func (FileSystemArrayOutput) ToFileSystemArrayOutput added in v3.25.0

func (o FileSystemArrayOutput) ToFileSystemArrayOutput() FileSystemArrayOutput

func (FileSystemArrayOutput) ToFileSystemArrayOutputWithContext added in v3.25.0

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

type FileSystemInput added in v3.13.0

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 added in v3.25.0

type FileSystemMap map[string]FileSystemInput

func (FileSystemMap) ElementType added in v3.25.0

func (FileSystemMap) ElementType() reflect.Type

func (FileSystemMap) ToFileSystemMapOutput added in v3.25.0

func (i FileSystemMap) ToFileSystemMapOutput() FileSystemMapOutput

func (FileSystemMap) ToFileSystemMapOutputWithContext added in v3.25.0

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

type FileSystemMapInput added in v3.25.0

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 added in v3.25.0

type FileSystemMapOutput struct{ *pulumi.OutputState }

func (FileSystemMapOutput) ElementType added in v3.25.0

func (FileSystemMapOutput) ElementType() reflect.Type

func (FileSystemMapOutput) MapIndex added in v3.25.0

func (FileSystemMapOutput) ToFileSystemMapOutput added in v3.25.0

func (o FileSystemMapOutput) ToFileSystemMapOutput() FileSystemMapOutput

func (FileSystemMapOutput) ToFileSystemMapOutputWithContext added in v3.25.0

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

type FileSystemOutput added in v3.13.0

type FileSystemOutput struct {
	*pulumi.OutputState
}

func (FileSystemOutput) ElementType added in v3.13.0

func (FileSystemOutput) ElementType() reflect.Type

func (FileSystemOutput) ToFileSystemOutput added in v3.13.0

func (o FileSystemOutput) ToFileSystemOutput() FileSystemOutput

func (FileSystemOutput) ToFileSystemOutputWithContext added in v3.13.0

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

func (FileSystemOutput) ToFileSystemPtrOutput added in v3.25.0

func (o FileSystemOutput) ToFileSystemPtrOutput() FileSystemPtrOutput

func (FileSystemOutput) ToFileSystemPtrOutputWithContext added in v3.25.0

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/v3/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*FileSystemPolicy) ElementType() reflect.Type

func (*FileSystemPolicy) ToFileSystemPolicyOutput added in v3.13.0

func (i *FileSystemPolicy) ToFileSystemPolicyOutput() FileSystemPolicyOutput

func (*FileSystemPolicy) ToFileSystemPolicyOutputWithContext added in v3.13.0

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

func (*FileSystemPolicy) ToFileSystemPolicyPtrOutput added in v3.25.0

func (i *FileSystemPolicy) ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput

func (*FileSystemPolicy) ToFileSystemPolicyPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type FileSystemPolicyArray []FileSystemPolicyInput

func (FileSystemPolicyArray) ElementType added in v3.25.0

func (FileSystemPolicyArray) ElementType() reflect.Type

func (FileSystemPolicyArray) ToFileSystemPolicyArrayOutput added in v3.25.0

func (i FileSystemPolicyArray) ToFileSystemPolicyArrayOutput() FileSystemPolicyArrayOutput

func (FileSystemPolicyArray) ToFileSystemPolicyArrayOutputWithContext added in v3.25.0

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

type FileSystemPolicyArrayInput added in v3.25.0

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 added in v3.25.0

type FileSystemPolicyArrayOutput struct{ *pulumi.OutputState }

func (FileSystemPolicyArrayOutput) ElementType added in v3.25.0

func (FileSystemPolicyArrayOutput) Index added in v3.25.0

func (FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutput added in v3.25.0

func (o FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutput() FileSystemPolicyArrayOutput

func (FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutputWithContext added in v3.25.0

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

type FileSystemPolicyInput added in v3.13.0

type FileSystemPolicyInput interface {
	pulumi.Input

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

type FileSystemPolicyMap added in v3.25.0

type FileSystemPolicyMap map[string]FileSystemPolicyInput

func (FileSystemPolicyMap) ElementType added in v3.25.0

func (FileSystemPolicyMap) ElementType() reflect.Type

func (FileSystemPolicyMap) ToFileSystemPolicyMapOutput added in v3.25.0

func (i FileSystemPolicyMap) ToFileSystemPolicyMapOutput() FileSystemPolicyMapOutput

func (FileSystemPolicyMap) ToFileSystemPolicyMapOutputWithContext added in v3.25.0

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

type FileSystemPolicyMapInput added in v3.25.0

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 added in v3.25.0

type FileSystemPolicyMapOutput struct{ *pulumi.OutputState }

func (FileSystemPolicyMapOutput) ElementType added in v3.25.0

func (FileSystemPolicyMapOutput) ElementType() reflect.Type

func (FileSystemPolicyMapOutput) MapIndex added in v3.25.0

func (FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutput added in v3.25.0

func (o FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutput() FileSystemPolicyMapOutput

func (FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutputWithContext added in v3.25.0

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

type FileSystemPolicyOutput added in v3.13.0

type FileSystemPolicyOutput struct {
	*pulumi.OutputState
}

func (FileSystemPolicyOutput) ElementType added in v3.13.0

func (FileSystemPolicyOutput) ElementType() reflect.Type

func (FileSystemPolicyOutput) ToFileSystemPolicyOutput added in v3.13.0

func (o FileSystemPolicyOutput) ToFileSystemPolicyOutput() FileSystemPolicyOutput

func (FileSystemPolicyOutput) ToFileSystemPolicyOutputWithContext added in v3.13.0

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

func (FileSystemPolicyOutput) ToFileSystemPolicyPtrOutput added in v3.25.0

func (o FileSystemPolicyOutput) ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput

func (FileSystemPolicyOutput) ToFileSystemPolicyPtrOutputWithContext added in v3.25.0

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

type FileSystemPolicyPtrInput added in v3.25.0

type FileSystemPolicyPtrInput interface {
	pulumi.Input

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

type FileSystemPolicyPtrOutput added in v3.25.0

type FileSystemPolicyPtrOutput struct {
	*pulumi.OutputState
}

func (FileSystemPolicyPtrOutput) ElementType added in v3.25.0

func (FileSystemPolicyPtrOutput) ElementType() reflect.Type

func (FileSystemPolicyPtrOutput) ToFileSystemPolicyPtrOutput added in v3.25.0

func (o FileSystemPolicyPtrOutput) ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput

func (FileSystemPolicyPtrOutput) ToFileSystemPolicyPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type FileSystemPtrInput interface {
	pulumi.Input

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

type FileSystemPtrOutput added in v3.25.0

type FileSystemPtrOutput struct {
	*pulumi.OutputState
}

func (FileSystemPtrOutput) ElementType added in v3.25.0

func (FileSystemPtrOutput) ElementType() reflect.Type

func (FileSystemPtrOutput) ToFileSystemPtrOutput added in v3.25.0

func (o FileSystemPtrOutput) ToFileSystemPtrOutput() FileSystemPtrOutput

func (FileSystemPtrOutput) ToFileSystemPtrOutputWithContext added in v3.25.0

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

type FileSystemSizeInByte added in v3.36.0

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 added in v3.36.0

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 added in v3.36.0

func (FileSystemSizeInByteArgs) ElementType() reflect.Type

func (FileSystemSizeInByteArgs) ToFileSystemSizeInByteOutput added in v3.36.0

func (i FileSystemSizeInByteArgs) ToFileSystemSizeInByteOutput() FileSystemSizeInByteOutput

func (FileSystemSizeInByteArgs) ToFileSystemSizeInByteOutputWithContext added in v3.36.0

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

type FileSystemSizeInByteArray added in v3.36.0

type FileSystemSizeInByteArray []FileSystemSizeInByteInput

func (FileSystemSizeInByteArray) ElementType added in v3.36.0

func (FileSystemSizeInByteArray) ElementType() reflect.Type

func (FileSystemSizeInByteArray) ToFileSystemSizeInByteArrayOutput added in v3.36.0

func (i FileSystemSizeInByteArray) ToFileSystemSizeInByteArrayOutput() FileSystemSizeInByteArrayOutput

func (FileSystemSizeInByteArray) ToFileSystemSizeInByteArrayOutputWithContext added in v3.36.0

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

type FileSystemSizeInByteArrayInput added in v3.36.0

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 added in v3.36.0

type FileSystemSizeInByteArrayOutput struct{ *pulumi.OutputState }

func (FileSystemSizeInByteArrayOutput) ElementType added in v3.36.0

func (FileSystemSizeInByteArrayOutput) Index added in v3.36.0

func (FileSystemSizeInByteArrayOutput) ToFileSystemSizeInByteArrayOutput added in v3.36.0

func (o FileSystemSizeInByteArrayOutput) ToFileSystemSizeInByteArrayOutput() FileSystemSizeInByteArrayOutput

func (FileSystemSizeInByteArrayOutput) ToFileSystemSizeInByteArrayOutputWithContext added in v3.36.0

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

type FileSystemSizeInByteInput added in v3.36.0

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 added in v3.36.0

type FileSystemSizeInByteOutput struct{ *pulumi.OutputState }

func (FileSystemSizeInByteOutput) ElementType added in v3.36.0

func (FileSystemSizeInByteOutput) ElementType() reflect.Type

func (FileSystemSizeInByteOutput) ToFileSystemSizeInByteOutput added in v3.36.0

func (o FileSystemSizeInByteOutput) ToFileSystemSizeInByteOutput() FileSystemSizeInByteOutput

func (FileSystemSizeInByteOutput) ToFileSystemSizeInByteOutputWithContext added in v3.36.0

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

func (FileSystemSizeInByteOutput) Value added in v3.36.0

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

func (FileSystemSizeInByteOutput) ValueInIa added in v3.36.0

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

func (FileSystemSizeInByteOutput) ValueInStandard added in v3.36.0

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
	// A map of tags to assign to the file system.
	Tags 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/v3/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v2/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/v3/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v2/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/v3/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
"github.com/pulumi/pulumi/sdk/v2/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 of the mount target that you want to have described
	MountTargetId string `pulumi:"mountTargetId"`
}

A collection of arguments for invoking getMountTarget.

type LookupMountTargetResult

type LookupMountTargetResult struct {
	// 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"`
	// ID of the file system for which the mount target is intended.
	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/v3/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		mountTargetId := ""
		if param := cfg.Get("mountTargetId"); param != "" {
			mountTargetId = param
		}
		_, err := efs.LookupMountTarget(ctx, &efs.LookupMountTargetArgs{
			MountTargetId: mountTargetId,
		}, 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/v3/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*MountTarget) ElementType() reflect.Type

func (*MountTarget) ToMountTargetOutput added in v3.13.0

func (i *MountTarget) ToMountTargetOutput() MountTargetOutput

func (*MountTarget) ToMountTargetOutputWithContext added in v3.13.0

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

func (*MountTarget) ToMountTargetPtrOutput added in v3.25.0

func (i *MountTarget) ToMountTargetPtrOutput() MountTargetPtrOutput

func (*MountTarget) ToMountTargetPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type MountTargetArray []MountTargetInput

func (MountTargetArray) ElementType added in v3.25.0

func (MountTargetArray) ElementType() reflect.Type

func (MountTargetArray) ToMountTargetArrayOutput added in v3.25.0

func (i MountTargetArray) ToMountTargetArrayOutput() MountTargetArrayOutput

func (MountTargetArray) ToMountTargetArrayOutputWithContext added in v3.25.0

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

type MountTargetArrayInput added in v3.25.0

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 added in v3.25.0

type MountTargetArrayOutput struct{ *pulumi.OutputState }

func (MountTargetArrayOutput) ElementType added in v3.25.0

func (MountTargetArrayOutput) ElementType() reflect.Type

func (MountTargetArrayOutput) Index added in v3.25.0

func (MountTargetArrayOutput) ToMountTargetArrayOutput added in v3.25.0

func (o MountTargetArrayOutput) ToMountTargetArrayOutput() MountTargetArrayOutput

func (MountTargetArrayOutput) ToMountTargetArrayOutputWithContext added in v3.25.0

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

type MountTargetInput added in v3.13.0

type MountTargetInput interface {
	pulumi.Input

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

type MountTargetMap added in v3.25.0

type MountTargetMap map[string]MountTargetInput

func (MountTargetMap) ElementType added in v3.25.0

func (MountTargetMap) ElementType() reflect.Type

func (MountTargetMap) ToMountTargetMapOutput added in v3.25.0

func (i MountTargetMap) ToMountTargetMapOutput() MountTargetMapOutput

func (MountTargetMap) ToMountTargetMapOutputWithContext added in v3.25.0

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

type MountTargetMapInput added in v3.25.0

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 added in v3.25.0

type MountTargetMapOutput struct{ *pulumi.OutputState }

func (MountTargetMapOutput) ElementType added in v3.25.0

func (MountTargetMapOutput) ElementType() reflect.Type

func (MountTargetMapOutput) MapIndex added in v3.25.0

func (MountTargetMapOutput) ToMountTargetMapOutput added in v3.25.0

func (o MountTargetMapOutput) ToMountTargetMapOutput() MountTargetMapOutput

func (MountTargetMapOutput) ToMountTargetMapOutputWithContext added in v3.25.0

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

type MountTargetOutput added in v3.13.0

type MountTargetOutput struct {
	*pulumi.OutputState
}

func (MountTargetOutput) ElementType added in v3.13.0

func (MountTargetOutput) ElementType() reflect.Type

func (MountTargetOutput) ToMountTargetOutput added in v3.13.0

func (o MountTargetOutput) ToMountTargetOutput() MountTargetOutput

func (MountTargetOutput) ToMountTargetOutputWithContext added in v3.13.0

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

func (MountTargetOutput) ToMountTargetPtrOutput added in v3.25.0

func (o MountTargetOutput) ToMountTargetPtrOutput() MountTargetPtrOutput

func (MountTargetOutput) ToMountTargetPtrOutputWithContext added in v3.25.0

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

type MountTargetPtrInput added in v3.25.0

type MountTargetPtrInput interface {
	pulumi.Input

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

type MountTargetPtrOutput added in v3.25.0

type MountTargetPtrOutput struct {
	*pulumi.OutputState
}

func (MountTargetPtrOutput) ElementType added in v3.25.0

func (MountTargetPtrOutput) ElementType() reflect.Type

func (MountTargetPtrOutput) ToMountTargetPtrOutput added in v3.25.0

func (o MountTargetPtrOutput) ToMountTargetPtrOutput() MountTargetPtrOutput

func (MountTargetPtrOutput) ToMountTargetPtrOutputWithContext added in v3.25.0

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