efs

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessPoint added in v2.6.0

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/v2/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.String(aws_efs_file_system.Foo.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetAccessPoint added in v2.6.0

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 added in v2.6.0

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.

type AccessPointArgs added in v2.6.0

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 added in v2.6.0

func (AccessPointArgs) ElementType() reflect.Type

type AccessPointPosixUser added in v2.6.0

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 added in v2.6.0

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 added in v2.6.0

func (AccessPointPosixUserArgs) ElementType() reflect.Type

func (AccessPointPosixUserArgs) ToAccessPointPosixUserOutput added in v2.6.0

func (i AccessPointPosixUserArgs) ToAccessPointPosixUserOutput() AccessPointPosixUserOutput

func (AccessPointPosixUserArgs) ToAccessPointPosixUserOutputWithContext added in v2.6.0

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

func (AccessPointPosixUserArgs) ToAccessPointPosixUserPtrOutput added in v2.6.0

func (i AccessPointPosixUserArgs) ToAccessPointPosixUserPtrOutput() AccessPointPosixUserPtrOutput

func (AccessPointPosixUserArgs) ToAccessPointPosixUserPtrOutputWithContext added in v2.6.0

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

type AccessPointPosixUserInput added in v2.6.0

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 added in v2.6.0

type AccessPointPosixUserOutput struct{ *pulumi.OutputState }

func (AccessPointPosixUserOutput) ElementType added in v2.6.0

func (AccessPointPosixUserOutput) ElementType() reflect.Type

func (AccessPointPosixUserOutput) Gid added in v2.6.0

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

func (AccessPointPosixUserOutput) SecondaryGids added in v2.6.0

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

func (AccessPointPosixUserOutput) ToAccessPointPosixUserOutput added in v2.6.0

func (o AccessPointPosixUserOutput) ToAccessPointPosixUserOutput() AccessPointPosixUserOutput

func (AccessPointPosixUserOutput) ToAccessPointPosixUserOutputWithContext added in v2.6.0

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

func (AccessPointPosixUserOutput) ToAccessPointPosixUserPtrOutput added in v2.6.0

func (o AccessPointPosixUserOutput) ToAccessPointPosixUserPtrOutput() AccessPointPosixUserPtrOutput

func (AccessPointPosixUserOutput) ToAccessPointPosixUserPtrOutputWithContext added in v2.6.0

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

func (AccessPointPosixUserOutput) Uid added in v2.6.0

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

type AccessPointPosixUserPtrInput added in v2.6.0

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

func AccessPointPosixUserPtr added in v2.6.0

func AccessPointPosixUserPtr(v *AccessPointPosixUserArgs) AccessPointPosixUserPtrInput

type AccessPointPosixUserPtrOutput added in v2.6.0

type AccessPointPosixUserPtrOutput struct{ *pulumi.OutputState }

func (AccessPointPosixUserPtrOutput) Elem added in v2.6.0

func (AccessPointPosixUserPtrOutput) ElementType added in v2.6.0

func (AccessPointPosixUserPtrOutput) Gid added in v2.6.0

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

func (AccessPointPosixUserPtrOutput) SecondaryGids added in v2.6.0

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

func (AccessPointPosixUserPtrOutput) ToAccessPointPosixUserPtrOutput added in v2.6.0

func (o AccessPointPosixUserPtrOutput) ToAccessPointPosixUserPtrOutput() AccessPointPosixUserPtrOutput

func (AccessPointPosixUserPtrOutput) ToAccessPointPosixUserPtrOutputWithContext added in v2.6.0

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

func (AccessPointPosixUserPtrOutput) Uid added in v2.6.0

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

type AccessPointRootDirectory added in v2.6.0

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 added in v2.6.0

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 added in v2.6.0

func (AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryOutput added in v2.6.0

func (i AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryOutput() AccessPointRootDirectoryOutput

func (AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryOutputWithContext added in v2.6.0

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

func (AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryPtrOutput added in v2.6.0

func (i AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryPtrOutput() AccessPointRootDirectoryPtrOutput

func (AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryPtrOutputWithContext added in v2.6.0

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

type AccessPointRootDirectoryCreationInfo added in v2.6.0

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 added in v2.6.0

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 added in v2.6.0

func (AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoOutput added in v2.6.0

func (i AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoOutput() AccessPointRootDirectoryCreationInfoOutput

func (AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoOutputWithContext added in v2.6.0

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

func (AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoPtrOutput added in v2.6.0

func (i AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoPtrOutput() AccessPointRootDirectoryCreationInfoPtrOutput

func (AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext added in v2.6.0

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

type AccessPointRootDirectoryCreationInfoInput added in v2.6.0

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 added in v2.6.0

type AccessPointRootDirectoryCreationInfoOutput struct{ *pulumi.OutputState }

func (AccessPointRootDirectoryCreationInfoOutput) ElementType added in v2.6.0

func (AccessPointRootDirectoryCreationInfoOutput) OwnerGid added in v2.6.0

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

func (AccessPointRootDirectoryCreationInfoOutput) OwnerUid added in v2.6.0

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

func (AccessPointRootDirectoryCreationInfoOutput) Permissions added in v2.6.0

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 added in v2.6.0

func (o AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoOutput() AccessPointRootDirectoryCreationInfoOutput

func (AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoOutputWithContext added in v2.6.0

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

func (AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoPtrOutput added in v2.6.0

func (o AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoPtrOutput() AccessPointRootDirectoryCreationInfoPtrOutput

func (AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext added in v2.6.0

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

type AccessPointRootDirectoryCreationInfoPtrInput added in v2.6.0

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 added in v2.6.0

type AccessPointRootDirectoryCreationInfoPtrOutput struct{ *pulumi.OutputState }

func (AccessPointRootDirectoryCreationInfoPtrOutput) Elem added in v2.6.0

func (AccessPointRootDirectoryCreationInfoPtrOutput) ElementType added in v2.6.0

func (AccessPointRootDirectoryCreationInfoPtrOutput) OwnerGid added in v2.6.0

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

func (AccessPointRootDirectoryCreationInfoPtrOutput) OwnerUid added in v2.6.0

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

func (AccessPointRootDirectoryCreationInfoPtrOutput) Permissions added in v2.6.0

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 added in v2.6.0

func (o AccessPointRootDirectoryCreationInfoPtrOutput) ToAccessPointRootDirectoryCreationInfoPtrOutput() AccessPointRootDirectoryCreationInfoPtrOutput

func (AccessPointRootDirectoryCreationInfoPtrOutput) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext added in v2.6.0

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

type AccessPointRootDirectoryInput added in v2.6.0

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 added in v2.6.0

type AccessPointRootDirectoryOutput struct{ *pulumi.OutputState }

func (AccessPointRootDirectoryOutput) CreationInfo added in v2.6.0

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

func (AccessPointRootDirectoryOutput) ElementType added in v2.6.0

func (AccessPointRootDirectoryOutput) Path added in v2.6.0

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 added in v2.6.0

func (o AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryOutput() AccessPointRootDirectoryOutput

func (AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryOutputWithContext added in v2.6.0

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

func (AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryPtrOutput added in v2.6.0

func (o AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryPtrOutput() AccessPointRootDirectoryPtrOutput

func (AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryPtrOutputWithContext added in v2.6.0

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

type AccessPointRootDirectoryPtrInput added in v2.6.0

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

func AccessPointRootDirectoryPtr added in v2.6.0

func AccessPointRootDirectoryPtr(v *AccessPointRootDirectoryArgs) AccessPointRootDirectoryPtrInput

type AccessPointRootDirectoryPtrOutput added in v2.6.0

type AccessPointRootDirectoryPtrOutput struct{ *pulumi.OutputState }

func (AccessPointRootDirectoryPtrOutput) CreationInfo added in v2.6.0

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

func (AccessPointRootDirectoryPtrOutput) Elem added in v2.6.0

func (AccessPointRootDirectoryPtrOutput) ElementType added in v2.6.0

func (AccessPointRootDirectoryPtrOutput) Path added in v2.6.0

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 added in v2.6.0

func (o AccessPointRootDirectoryPtrOutput) ToAccessPointRootDirectoryPtrOutput() AccessPointRootDirectoryPtrOutput

func (AccessPointRootDirectoryPtrOutput) ToAccessPointRootDirectoryPtrOutputWithContext added in v2.6.0

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

type AccessPointState added in v2.6.0

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 added in v2.6.0

func (AccessPointState) ElementType() reflect.Type

type FileSystem

type FileSystem struct {
	pulumi.CustomResourceState

	// Amazon Resource Name of the file system.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// 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 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"`
	// 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/v2/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/v2/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
	})
}

```

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.

type FileSystemArgs

type FileSystemArgs struct {
	// 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 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 FileSystemPolicy added in v2.6.0

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/v2/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%v", "{\n", "    \"Version\": \"2012-10-17\",\n", "    \"Id\": \"ExamplePolicy01\",\n", "    \"Statement\": [\n", "        {\n", "            \"Sid\": \"ExampleSatement01\",\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", "\n")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetFileSystemPolicy added in v2.6.0

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 added in v2.6.0

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.

type FileSystemPolicyArgs added in v2.6.0

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 added in v2.6.0

func (FileSystemPolicyArgs) ElementType() reflect.Type

type FileSystemPolicyState added in v2.6.0

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 added in v2.6.0

func (FileSystemPolicyState) ElementType() reflect.Type

type FileSystemState

type FileSystemState struct {
	// Amazon Resource Name of the file system.
	Arn 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 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
}

func (FileSystemState) ElementType

func (FileSystemState) ElementType() reflect.Type

type GetAccessPointPosixUser added in v2.6.0

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 added in v2.6.0

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 added in v2.6.0

func (GetAccessPointPosixUserArgs) ToGetAccessPointPosixUserOutput added in v2.6.0

func (i GetAccessPointPosixUserArgs) ToGetAccessPointPosixUserOutput() GetAccessPointPosixUserOutput

func (GetAccessPointPosixUserArgs) ToGetAccessPointPosixUserOutputWithContext added in v2.6.0

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

type GetAccessPointPosixUserArray added in v2.6.0

type GetAccessPointPosixUserArray []GetAccessPointPosixUserInput

func (GetAccessPointPosixUserArray) ElementType added in v2.6.0

func (GetAccessPointPosixUserArray) ToGetAccessPointPosixUserArrayOutput added in v2.6.0

func (i GetAccessPointPosixUserArray) ToGetAccessPointPosixUserArrayOutput() GetAccessPointPosixUserArrayOutput

func (GetAccessPointPosixUserArray) ToGetAccessPointPosixUserArrayOutputWithContext added in v2.6.0

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

type GetAccessPointPosixUserArrayInput added in v2.6.0

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 added in v2.6.0

type GetAccessPointPosixUserArrayOutput struct{ *pulumi.OutputState }

func (GetAccessPointPosixUserArrayOutput) ElementType added in v2.6.0

func (GetAccessPointPosixUserArrayOutput) Index added in v2.6.0

func (GetAccessPointPosixUserArrayOutput) ToGetAccessPointPosixUserArrayOutput added in v2.6.0

func (o GetAccessPointPosixUserArrayOutput) ToGetAccessPointPosixUserArrayOutput() GetAccessPointPosixUserArrayOutput

func (GetAccessPointPosixUserArrayOutput) ToGetAccessPointPosixUserArrayOutputWithContext added in v2.6.0

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

type GetAccessPointPosixUserInput added in v2.6.0

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 added in v2.6.0

type GetAccessPointPosixUserOutput struct{ *pulumi.OutputState }

func (GetAccessPointPosixUserOutput) ElementType added in v2.6.0

func (GetAccessPointPosixUserOutput) Gid added in v2.6.0

Group ID

func (GetAccessPointPosixUserOutput) SecondaryGids added in v2.6.0

Secondary group IDs

func (GetAccessPointPosixUserOutput) ToGetAccessPointPosixUserOutput added in v2.6.0

func (o GetAccessPointPosixUserOutput) ToGetAccessPointPosixUserOutput() GetAccessPointPosixUserOutput

func (GetAccessPointPosixUserOutput) ToGetAccessPointPosixUserOutputWithContext added in v2.6.0

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

func (GetAccessPointPosixUserOutput) Uid added in v2.6.0

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 added in v2.6.0

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 added in v2.6.0

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 added in v2.6.0

func (GetAccessPointRootDirectoryArgs) ToGetAccessPointRootDirectoryOutput added in v2.6.0

func (i GetAccessPointRootDirectoryArgs) ToGetAccessPointRootDirectoryOutput() GetAccessPointRootDirectoryOutput

func (GetAccessPointRootDirectoryArgs) ToGetAccessPointRootDirectoryOutputWithContext added in v2.6.0

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

type GetAccessPointRootDirectoryArray added in v2.6.0

type GetAccessPointRootDirectoryArray []GetAccessPointRootDirectoryInput

func (GetAccessPointRootDirectoryArray) ElementType added in v2.6.0

func (GetAccessPointRootDirectoryArray) ToGetAccessPointRootDirectoryArrayOutput added in v2.6.0

func (i GetAccessPointRootDirectoryArray) ToGetAccessPointRootDirectoryArrayOutput() GetAccessPointRootDirectoryArrayOutput

func (GetAccessPointRootDirectoryArray) ToGetAccessPointRootDirectoryArrayOutputWithContext added in v2.6.0

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

type GetAccessPointRootDirectoryArrayInput added in v2.6.0

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 added in v2.6.0

type GetAccessPointRootDirectoryArrayOutput struct{ *pulumi.OutputState }

func (GetAccessPointRootDirectoryArrayOutput) ElementType added in v2.6.0

func (GetAccessPointRootDirectoryArrayOutput) Index added in v2.6.0

func (GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutput added in v2.6.0

func (o GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutput() GetAccessPointRootDirectoryArrayOutput

func (GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutputWithContext added in v2.6.0

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

type GetAccessPointRootDirectoryCreationInfo added in v2.6.0

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 added in v2.6.0

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 added in v2.6.0

func (GetAccessPointRootDirectoryCreationInfoArgs) ToGetAccessPointRootDirectoryCreationInfoOutput added in v2.6.0

func (i GetAccessPointRootDirectoryCreationInfoArgs) ToGetAccessPointRootDirectoryCreationInfoOutput() GetAccessPointRootDirectoryCreationInfoOutput

func (GetAccessPointRootDirectoryCreationInfoArgs) ToGetAccessPointRootDirectoryCreationInfoOutputWithContext added in v2.6.0

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

type GetAccessPointRootDirectoryCreationInfoArray added in v2.6.0

type GetAccessPointRootDirectoryCreationInfoArray []GetAccessPointRootDirectoryCreationInfoInput

func (GetAccessPointRootDirectoryCreationInfoArray) ElementType added in v2.6.0

func (GetAccessPointRootDirectoryCreationInfoArray) ToGetAccessPointRootDirectoryCreationInfoArrayOutput added in v2.6.0

func (i GetAccessPointRootDirectoryCreationInfoArray) ToGetAccessPointRootDirectoryCreationInfoArrayOutput() GetAccessPointRootDirectoryCreationInfoArrayOutput

func (GetAccessPointRootDirectoryCreationInfoArray) ToGetAccessPointRootDirectoryCreationInfoArrayOutputWithContext added in v2.6.0

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

type GetAccessPointRootDirectoryCreationInfoArrayInput added in v2.6.0

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 added in v2.6.0

type GetAccessPointRootDirectoryCreationInfoArrayOutput struct{ *pulumi.OutputState }

func (GetAccessPointRootDirectoryCreationInfoArrayOutput) ElementType added in v2.6.0

func (GetAccessPointRootDirectoryCreationInfoArrayOutput) Index added in v2.6.0

func (GetAccessPointRootDirectoryCreationInfoArrayOutput) ToGetAccessPointRootDirectoryCreationInfoArrayOutput added in v2.6.0

func (o GetAccessPointRootDirectoryCreationInfoArrayOutput) ToGetAccessPointRootDirectoryCreationInfoArrayOutput() GetAccessPointRootDirectoryCreationInfoArrayOutput

func (GetAccessPointRootDirectoryCreationInfoArrayOutput) ToGetAccessPointRootDirectoryCreationInfoArrayOutputWithContext added in v2.6.0

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

type GetAccessPointRootDirectoryCreationInfoInput added in v2.6.0

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 added in v2.6.0

type GetAccessPointRootDirectoryCreationInfoOutput struct{ *pulumi.OutputState }

func (GetAccessPointRootDirectoryCreationInfoOutput) ElementType added in v2.6.0

func (GetAccessPointRootDirectoryCreationInfoOutput) OwnerGid added in v2.6.0

POSIX owner group ID

func (GetAccessPointRootDirectoryCreationInfoOutput) OwnerUid added in v2.6.0

POSIX owner user ID

func (GetAccessPointRootDirectoryCreationInfoOutput) Permissions added in v2.6.0

POSIX permissions mode

func (GetAccessPointRootDirectoryCreationInfoOutput) ToGetAccessPointRootDirectoryCreationInfoOutput added in v2.6.0

func (o GetAccessPointRootDirectoryCreationInfoOutput) ToGetAccessPointRootDirectoryCreationInfoOutput() GetAccessPointRootDirectoryCreationInfoOutput

func (GetAccessPointRootDirectoryCreationInfoOutput) ToGetAccessPointRootDirectoryCreationInfoOutputWithContext added in v2.6.0

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

type GetAccessPointRootDirectoryInput added in v2.6.0

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 added in v2.6.0

type GetAccessPointRootDirectoryOutput struct{ *pulumi.OutputState }

func (GetAccessPointRootDirectoryOutput) CreationInfos added in v2.6.0

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

func (GetAccessPointRootDirectoryOutput) ElementType added in v2.6.0

func (GetAccessPointRootDirectoryOutput) Path added in v2.6.0

Path exposed as the root directory

func (GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutput added in v2.6.0

func (o GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutput() GetAccessPointRootDirectoryOutput

func (GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutputWithContext added in v2.6.0

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

type GetAccessPointsArgs added in v2.11.0

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

A collection of arguments for invoking getAccessPoints.

type GetAccessPointsResult added in v2.11.0

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 added in v2.11.0

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/v2/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 added in v2.6.0

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 added in v2.6.0

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 added in v2.6.0

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/v2/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"`
	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/v2/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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/v2/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, 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/v2/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v2/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{
			AvailabilityZone: pulumi.String("us-west-2a"),
			CidrBlock:        pulumi.String("10.0.1.0/24"),
			VpcId:            foo.ID(),
		})
		if err != nil {
			return err
		}
		_, err = efs.NewMountTarget(ctx, "alphaMountTarget", &efs.MountTargetArgs{
			FileSystemId: pulumi.String(aws_efs_file_system.Foo.Id),
			SubnetId:     alphaSubnet.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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.

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