Documentation ¶
Index ¶
- type AccessPoint
- func (*AccessPoint) ElementType() reflect.Type
- func (i *AccessPoint) ToAccessPointOutput() AccessPointOutput
- func (i *AccessPoint) ToAccessPointOutputWithContext(ctx context.Context) AccessPointOutput
- func (i *AccessPoint) ToAccessPointPtrOutput() AccessPointPtrOutput
- func (i *AccessPoint) ToAccessPointPtrOutputWithContext(ctx context.Context) AccessPointPtrOutput
- type AccessPointArgs
- type AccessPointArray
- type AccessPointArrayInput
- type AccessPointArrayOutput
- func (AccessPointArrayOutput) ElementType() reflect.Type
- func (o AccessPointArrayOutput) Index(i pulumi.IntInput) AccessPointOutput
- func (o AccessPointArrayOutput) ToAccessPointArrayOutput() AccessPointArrayOutput
- func (o AccessPointArrayOutput) ToAccessPointArrayOutputWithContext(ctx context.Context) AccessPointArrayOutput
- type AccessPointInput
- type AccessPointMap
- type AccessPointMapInput
- type AccessPointMapOutput
- func (AccessPointMapOutput) ElementType() reflect.Type
- func (o AccessPointMapOutput) MapIndex(k pulumi.StringInput) AccessPointOutput
- func (o AccessPointMapOutput) ToAccessPointMapOutput() AccessPointMapOutput
- func (o AccessPointMapOutput) ToAccessPointMapOutputWithContext(ctx context.Context) AccessPointMapOutput
- type AccessPointOutput
- func (AccessPointOutput) ElementType() reflect.Type
- func (o AccessPointOutput) ToAccessPointOutput() AccessPointOutput
- func (o AccessPointOutput) ToAccessPointOutputWithContext(ctx context.Context) AccessPointOutput
- func (o AccessPointOutput) ToAccessPointPtrOutput() AccessPointPtrOutput
- func (o AccessPointOutput) ToAccessPointPtrOutputWithContext(ctx context.Context) AccessPointPtrOutput
- type AccessPointPosixUser
- type AccessPointPosixUserArgs
- func (AccessPointPosixUserArgs) ElementType() reflect.Type
- func (i AccessPointPosixUserArgs) ToAccessPointPosixUserOutput() AccessPointPosixUserOutput
- func (i AccessPointPosixUserArgs) ToAccessPointPosixUserOutputWithContext(ctx context.Context) AccessPointPosixUserOutput
- func (i AccessPointPosixUserArgs) ToAccessPointPosixUserPtrOutput() AccessPointPosixUserPtrOutput
- func (i AccessPointPosixUserArgs) ToAccessPointPosixUserPtrOutputWithContext(ctx context.Context) AccessPointPosixUserPtrOutput
- type AccessPointPosixUserInput
- type AccessPointPosixUserOutput
- func (AccessPointPosixUserOutput) ElementType() reflect.Type
- func (o AccessPointPosixUserOutput) Gid() pulumi.IntOutput
- func (o AccessPointPosixUserOutput) SecondaryGids() pulumi.IntArrayOutput
- func (o AccessPointPosixUserOutput) ToAccessPointPosixUserOutput() AccessPointPosixUserOutput
- func (o AccessPointPosixUserOutput) ToAccessPointPosixUserOutputWithContext(ctx context.Context) AccessPointPosixUserOutput
- func (o AccessPointPosixUserOutput) ToAccessPointPosixUserPtrOutput() AccessPointPosixUserPtrOutput
- func (o AccessPointPosixUserOutput) ToAccessPointPosixUserPtrOutputWithContext(ctx context.Context) AccessPointPosixUserPtrOutput
- func (o AccessPointPosixUserOutput) Uid() pulumi.IntOutput
- type AccessPointPosixUserPtrInput
- type AccessPointPosixUserPtrOutput
- func (o AccessPointPosixUserPtrOutput) Elem() AccessPointPosixUserOutput
- func (AccessPointPosixUserPtrOutput) ElementType() reflect.Type
- func (o AccessPointPosixUserPtrOutput) Gid() pulumi.IntPtrOutput
- func (o AccessPointPosixUserPtrOutput) SecondaryGids() pulumi.IntArrayOutput
- func (o AccessPointPosixUserPtrOutput) ToAccessPointPosixUserPtrOutput() AccessPointPosixUserPtrOutput
- func (o AccessPointPosixUserPtrOutput) ToAccessPointPosixUserPtrOutputWithContext(ctx context.Context) AccessPointPosixUserPtrOutput
- func (o AccessPointPosixUserPtrOutput) Uid() pulumi.IntPtrOutput
- type AccessPointPtrInput
- type AccessPointPtrOutput
- type AccessPointRootDirectory
- type AccessPointRootDirectoryArgs
- func (AccessPointRootDirectoryArgs) ElementType() reflect.Type
- func (i AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryOutput() AccessPointRootDirectoryOutput
- func (i AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryOutputWithContext(ctx context.Context) AccessPointRootDirectoryOutput
- func (i AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryPtrOutput() AccessPointRootDirectoryPtrOutput
- func (i AccessPointRootDirectoryArgs) ToAccessPointRootDirectoryPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryPtrOutput
- type AccessPointRootDirectoryCreationInfo
- type AccessPointRootDirectoryCreationInfoArgs
- func (AccessPointRootDirectoryCreationInfoArgs) ElementType() reflect.Type
- func (i AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoOutput() AccessPointRootDirectoryCreationInfoOutput
- func (i AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoOutputWithContext(ctx context.Context) AccessPointRootDirectoryCreationInfoOutput
- func (i AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoPtrOutput() AccessPointRootDirectoryCreationInfoPtrOutput
- func (i AccessPointRootDirectoryCreationInfoArgs) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryCreationInfoPtrOutput
- type AccessPointRootDirectoryCreationInfoInput
- type AccessPointRootDirectoryCreationInfoOutput
- func (AccessPointRootDirectoryCreationInfoOutput) ElementType() reflect.Type
- func (o AccessPointRootDirectoryCreationInfoOutput) OwnerGid() pulumi.IntOutput
- func (o AccessPointRootDirectoryCreationInfoOutput) OwnerUid() pulumi.IntOutput
- func (o AccessPointRootDirectoryCreationInfoOutput) Permissions() pulumi.StringOutput
- func (o AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoOutput() AccessPointRootDirectoryCreationInfoOutput
- func (o AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoOutputWithContext(ctx context.Context) AccessPointRootDirectoryCreationInfoOutput
- func (o AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoPtrOutput() AccessPointRootDirectoryCreationInfoPtrOutput
- func (o AccessPointRootDirectoryCreationInfoOutput) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryCreationInfoPtrOutput
- type AccessPointRootDirectoryCreationInfoPtrInput
- type AccessPointRootDirectoryCreationInfoPtrOutput
- func (o AccessPointRootDirectoryCreationInfoPtrOutput) Elem() AccessPointRootDirectoryCreationInfoOutput
- func (AccessPointRootDirectoryCreationInfoPtrOutput) ElementType() reflect.Type
- func (o AccessPointRootDirectoryCreationInfoPtrOutput) OwnerGid() pulumi.IntPtrOutput
- func (o AccessPointRootDirectoryCreationInfoPtrOutput) OwnerUid() pulumi.IntPtrOutput
- func (o AccessPointRootDirectoryCreationInfoPtrOutput) Permissions() pulumi.StringPtrOutput
- func (o AccessPointRootDirectoryCreationInfoPtrOutput) ToAccessPointRootDirectoryCreationInfoPtrOutput() AccessPointRootDirectoryCreationInfoPtrOutput
- func (o AccessPointRootDirectoryCreationInfoPtrOutput) ToAccessPointRootDirectoryCreationInfoPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryCreationInfoPtrOutput
- type AccessPointRootDirectoryInput
- type AccessPointRootDirectoryOutput
- func (o AccessPointRootDirectoryOutput) CreationInfo() AccessPointRootDirectoryCreationInfoPtrOutput
- func (AccessPointRootDirectoryOutput) ElementType() reflect.Type
- func (o AccessPointRootDirectoryOutput) Path() pulumi.StringPtrOutput
- func (o AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryOutput() AccessPointRootDirectoryOutput
- func (o AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryOutputWithContext(ctx context.Context) AccessPointRootDirectoryOutput
- func (o AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryPtrOutput() AccessPointRootDirectoryPtrOutput
- func (o AccessPointRootDirectoryOutput) ToAccessPointRootDirectoryPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryPtrOutput
- type AccessPointRootDirectoryPtrInput
- type AccessPointRootDirectoryPtrOutput
- func (o AccessPointRootDirectoryPtrOutput) CreationInfo() AccessPointRootDirectoryCreationInfoPtrOutput
- func (o AccessPointRootDirectoryPtrOutput) Elem() AccessPointRootDirectoryOutput
- func (AccessPointRootDirectoryPtrOutput) ElementType() reflect.Type
- func (o AccessPointRootDirectoryPtrOutput) Path() pulumi.StringPtrOutput
- func (o AccessPointRootDirectoryPtrOutput) ToAccessPointRootDirectoryPtrOutput() AccessPointRootDirectoryPtrOutput
- func (o AccessPointRootDirectoryPtrOutput) ToAccessPointRootDirectoryPtrOutputWithContext(ctx context.Context) AccessPointRootDirectoryPtrOutput
- type AccessPointState
- type FileSystem
- func (*FileSystem) ElementType() reflect.Type
- func (i *FileSystem) ToFileSystemOutput() FileSystemOutput
- func (i *FileSystem) ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput
- func (i *FileSystem) ToFileSystemPtrOutput() FileSystemPtrOutput
- func (i *FileSystem) ToFileSystemPtrOutputWithContext(ctx context.Context) FileSystemPtrOutput
- type FileSystemArgs
- type FileSystemArray
- type FileSystemArrayInput
- type FileSystemArrayOutput
- func (FileSystemArrayOutput) ElementType() reflect.Type
- func (o FileSystemArrayOutput) Index(i pulumi.IntInput) FileSystemOutput
- func (o FileSystemArrayOutput) ToFileSystemArrayOutput() FileSystemArrayOutput
- func (o FileSystemArrayOutput) ToFileSystemArrayOutputWithContext(ctx context.Context) FileSystemArrayOutput
- type FileSystemInput
- type FileSystemLifecyclePolicy
- type FileSystemLifecyclePolicyArgs
- func (FileSystemLifecyclePolicyArgs) ElementType() reflect.Type
- func (i FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyOutput() FileSystemLifecyclePolicyOutput
- func (i FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyOutput
- func (i FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyPtrOutput() FileSystemLifecyclePolicyPtrOutput
- func (i FileSystemLifecyclePolicyArgs) ToFileSystemLifecyclePolicyPtrOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyPtrOutput
- type FileSystemLifecyclePolicyInput
- type FileSystemLifecyclePolicyOutput
- func (FileSystemLifecyclePolicyOutput) ElementType() reflect.Type
- func (o FileSystemLifecyclePolicyOutput) ToFileSystemLifecyclePolicyOutput() FileSystemLifecyclePolicyOutput
- func (o FileSystemLifecyclePolicyOutput) ToFileSystemLifecyclePolicyOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyOutput
- func (o FileSystemLifecyclePolicyOutput) ToFileSystemLifecyclePolicyPtrOutput() FileSystemLifecyclePolicyPtrOutput
- func (o FileSystemLifecyclePolicyOutput) ToFileSystemLifecyclePolicyPtrOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyPtrOutput
- func (o FileSystemLifecyclePolicyOutput) TransitionToIa() pulumi.StringOutput
- type FileSystemLifecyclePolicyPtrInput
- type FileSystemLifecyclePolicyPtrOutput
- func (o FileSystemLifecyclePolicyPtrOutput) Elem() FileSystemLifecyclePolicyOutput
- func (FileSystemLifecyclePolicyPtrOutput) ElementType() reflect.Type
- func (o FileSystemLifecyclePolicyPtrOutput) ToFileSystemLifecyclePolicyPtrOutput() FileSystemLifecyclePolicyPtrOutput
- func (o FileSystemLifecyclePolicyPtrOutput) ToFileSystemLifecyclePolicyPtrOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyPtrOutput
- func (o FileSystemLifecyclePolicyPtrOutput) TransitionToIa() pulumi.StringPtrOutput
- type FileSystemMap
- type FileSystemMapInput
- type FileSystemMapOutput
- func (FileSystemMapOutput) ElementType() reflect.Type
- func (o FileSystemMapOutput) MapIndex(k pulumi.StringInput) FileSystemOutput
- func (o FileSystemMapOutput) ToFileSystemMapOutput() FileSystemMapOutput
- func (o FileSystemMapOutput) ToFileSystemMapOutputWithContext(ctx context.Context) FileSystemMapOutput
- type FileSystemOutput
- func (FileSystemOutput) ElementType() reflect.Type
- func (o FileSystemOutput) ToFileSystemOutput() FileSystemOutput
- func (o FileSystemOutput) ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput
- func (o FileSystemOutput) ToFileSystemPtrOutput() FileSystemPtrOutput
- func (o FileSystemOutput) ToFileSystemPtrOutputWithContext(ctx context.Context) FileSystemPtrOutput
- type FileSystemPolicy
- func (*FileSystemPolicy) ElementType() reflect.Type
- func (i *FileSystemPolicy) ToFileSystemPolicyOutput() FileSystemPolicyOutput
- func (i *FileSystemPolicy) ToFileSystemPolicyOutputWithContext(ctx context.Context) FileSystemPolicyOutput
- func (i *FileSystemPolicy) ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput
- func (i *FileSystemPolicy) ToFileSystemPolicyPtrOutputWithContext(ctx context.Context) FileSystemPolicyPtrOutput
- type FileSystemPolicyArgs
- type FileSystemPolicyArray
- type FileSystemPolicyArrayInput
- type FileSystemPolicyArrayOutput
- func (FileSystemPolicyArrayOutput) ElementType() reflect.Type
- func (o FileSystemPolicyArrayOutput) Index(i pulumi.IntInput) FileSystemPolicyOutput
- func (o FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutput() FileSystemPolicyArrayOutput
- func (o FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutputWithContext(ctx context.Context) FileSystemPolicyArrayOutput
- type FileSystemPolicyInput
- type FileSystemPolicyMap
- type FileSystemPolicyMapInput
- type FileSystemPolicyMapOutput
- func (FileSystemPolicyMapOutput) ElementType() reflect.Type
- func (o FileSystemPolicyMapOutput) MapIndex(k pulumi.StringInput) FileSystemPolicyOutput
- func (o FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutput() FileSystemPolicyMapOutput
- func (o FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutputWithContext(ctx context.Context) FileSystemPolicyMapOutput
- type FileSystemPolicyOutput
- func (FileSystemPolicyOutput) ElementType() reflect.Type
- func (o FileSystemPolicyOutput) ToFileSystemPolicyOutput() FileSystemPolicyOutput
- func (o FileSystemPolicyOutput) ToFileSystemPolicyOutputWithContext(ctx context.Context) FileSystemPolicyOutput
- func (o FileSystemPolicyOutput) ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput
- func (o FileSystemPolicyOutput) ToFileSystemPolicyPtrOutputWithContext(ctx context.Context) FileSystemPolicyPtrOutput
- type FileSystemPolicyPtrInput
- type FileSystemPolicyPtrOutput
- type FileSystemPolicyState
- type FileSystemPtrInput
- type FileSystemPtrOutput
- type FileSystemState
- type GetAccessPointPosixUser
- type GetAccessPointPosixUserArgs
- type GetAccessPointPosixUserArray
- func (GetAccessPointPosixUserArray) ElementType() reflect.Type
- func (i GetAccessPointPosixUserArray) ToGetAccessPointPosixUserArrayOutput() GetAccessPointPosixUserArrayOutput
- func (i GetAccessPointPosixUserArray) ToGetAccessPointPosixUserArrayOutputWithContext(ctx context.Context) GetAccessPointPosixUserArrayOutput
- type GetAccessPointPosixUserArrayInput
- type GetAccessPointPosixUserArrayOutput
- func (GetAccessPointPosixUserArrayOutput) ElementType() reflect.Type
- func (o GetAccessPointPosixUserArrayOutput) Index(i pulumi.IntInput) GetAccessPointPosixUserOutput
- func (o GetAccessPointPosixUserArrayOutput) ToGetAccessPointPosixUserArrayOutput() GetAccessPointPosixUserArrayOutput
- func (o GetAccessPointPosixUserArrayOutput) ToGetAccessPointPosixUserArrayOutputWithContext(ctx context.Context) GetAccessPointPosixUserArrayOutput
- type GetAccessPointPosixUserInput
- type GetAccessPointPosixUserOutput
- func (GetAccessPointPosixUserOutput) ElementType() reflect.Type
- func (o GetAccessPointPosixUserOutput) Gid() pulumi.IntOutput
- func (o GetAccessPointPosixUserOutput) SecondaryGids() pulumi.IntArrayOutput
- func (o GetAccessPointPosixUserOutput) ToGetAccessPointPosixUserOutput() GetAccessPointPosixUserOutput
- func (o GetAccessPointPosixUserOutput) ToGetAccessPointPosixUserOutputWithContext(ctx context.Context) GetAccessPointPosixUserOutput
- func (o GetAccessPointPosixUserOutput) Uid() pulumi.IntOutput
- type GetAccessPointRootDirectory
- type GetAccessPointRootDirectoryArgs
- func (GetAccessPointRootDirectoryArgs) ElementType() reflect.Type
- func (i GetAccessPointRootDirectoryArgs) ToGetAccessPointRootDirectoryOutput() GetAccessPointRootDirectoryOutput
- func (i GetAccessPointRootDirectoryArgs) ToGetAccessPointRootDirectoryOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryOutput
- type GetAccessPointRootDirectoryArray
- func (GetAccessPointRootDirectoryArray) ElementType() reflect.Type
- func (i GetAccessPointRootDirectoryArray) ToGetAccessPointRootDirectoryArrayOutput() GetAccessPointRootDirectoryArrayOutput
- func (i GetAccessPointRootDirectoryArray) ToGetAccessPointRootDirectoryArrayOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryArrayOutput
- type GetAccessPointRootDirectoryArrayInput
- type GetAccessPointRootDirectoryArrayOutput
- func (GetAccessPointRootDirectoryArrayOutput) ElementType() reflect.Type
- func (o GetAccessPointRootDirectoryArrayOutput) Index(i pulumi.IntInput) GetAccessPointRootDirectoryOutput
- func (o GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutput() GetAccessPointRootDirectoryArrayOutput
- func (o GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryArrayOutput
- type GetAccessPointRootDirectoryCreationInfo
- type GetAccessPointRootDirectoryCreationInfoArgs
- func (GetAccessPointRootDirectoryCreationInfoArgs) ElementType() reflect.Type
- func (i GetAccessPointRootDirectoryCreationInfoArgs) ToGetAccessPointRootDirectoryCreationInfoOutput() GetAccessPointRootDirectoryCreationInfoOutput
- func (i GetAccessPointRootDirectoryCreationInfoArgs) ToGetAccessPointRootDirectoryCreationInfoOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryCreationInfoOutput
- type GetAccessPointRootDirectoryCreationInfoArray
- func (GetAccessPointRootDirectoryCreationInfoArray) ElementType() reflect.Type
- func (i GetAccessPointRootDirectoryCreationInfoArray) ToGetAccessPointRootDirectoryCreationInfoArrayOutput() GetAccessPointRootDirectoryCreationInfoArrayOutput
- func (i GetAccessPointRootDirectoryCreationInfoArray) ToGetAccessPointRootDirectoryCreationInfoArrayOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryCreationInfoArrayOutput
- type GetAccessPointRootDirectoryCreationInfoArrayInput
- type GetAccessPointRootDirectoryCreationInfoArrayOutput
- func (GetAccessPointRootDirectoryCreationInfoArrayOutput) ElementType() reflect.Type
- func (o GetAccessPointRootDirectoryCreationInfoArrayOutput) Index(i pulumi.IntInput) GetAccessPointRootDirectoryCreationInfoOutput
- func (o GetAccessPointRootDirectoryCreationInfoArrayOutput) ToGetAccessPointRootDirectoryCreationInfoArrayOutput() GetAccessPointRootDirectoryCreationInfoArrayOutput
- func (o GetAccessPointRootDirectoryCreationInfoArrayOutput) ToGetAccessPointRootDirectoryCreationInfoArrayOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryCreationInfoArrayOutput
- type GetAccessPointRootDirectoryCreationInfoInput
- type GetAccessPointRootDirectoryCreationInfoOutput
- func (GetAccessPointRootDirectoryCreationInfoOutput) ElementType() reflect.Type
- func (o GetAccessPointRootDirectoryCreationInfoOutput) OwnerGid() pulumi.IntOutput
- func (o GetAccessPointRootDirectoryCreationInfoOutput) OwnerUid() pulumi.IntOutput
- func (o GetAccessPointRootDirectoryCreationInfoOutput) Permissions() pulumi.StringOutput
- func (o GetAccessPointRootDirectoryCreationInfoOutput) ToGetAccessPointRootDirectoryCreationInfoOutput() GetAccessPointRootDirectoryCreationInfoOutput
- func (o GetAccessPointRootDirectoryCreationInfoOutput) ToGetAccessPointRootDirectoryCreationInfoOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryCreationInfoOutput
- type GetAccessPointRootDirectoryInput
- type GetAccessPointRootDirectoryOutput
- func (o GetAccessPointRootDirectoryOutput) CreationInfos() GetAccessPointRootDirectoryCreationInfoArrayOutput
- func (GetAccessPointRootDirectoryOutput) ElementType() reflect.Type
- func (o GetAccessPointRootDirectoryOutput) Path() pulumi.StringOutput
- func (o GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutput() GetAccessPointRootDirectoryOutput
- func (o GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryOutput
- type GetAccessPointsArgs
- type GetAccessPointsResult
- type GetFileSystemLifecyclePolicy
- type GetFileSystemLifecyclePolicyArgs
- func (GetFileSystemLifecyclePolicyArgs) ElementType() reflect.Type
- func (i GetFileSystemLifecyclePolicyArgs) ToGetFileSystemLifecyclePolicyOutput() GetFileSystemLifecyclePolicyOutput
- func (i GetFileSystemLifecyclePolicyArgs) ToGetFileSystemLifecyclePolicyOutputWithContext(ctx context.Context) GetFileSystemLifecyclePolicyOutput
- type GetFileSystemLifecyclePolicyInput
- type GetFileSystemLifecyclePolicyOutput
- func (GetFileSystemLifecyclePolicyOutput) ElementType() reflect.Type
- func (o GetFileSystemLifecyclePolicyOutput) ToGetFileSystemLifecyclePolicyOutput() GetFileSystemLifecyclePolicyOutput
- func (o GetFileSystemLifecyclePolicyOutput) ToGetFileSystemLifecyclePolicyOutputWithContext(ctx context.Context) GetFileSystemLifecyclePolicyOutput
- func (o GetFileSystemLifecyclePolicyOutput) TransitionToIa() pulumi.StringOutput
- type LookupAccessPointArgs
- type LookupAccessPointResult
- type LookupFileSystemArgs
- type LookupFileSystemResult
- type LookupMountTargetArgs
- type LookupMountTargetResult
- type MountTarget
- func (*MountTarget) ElementType() reflect.Type
- func (i *MountTarget) ToMountTargetOutput() MountTargetOutput
- func (i *MountTarget) ToMountTargetOutputWithContext(ctx context.Context) MountTargetOutput
- func (i *MountTarget) ToMountTargetPtrOutput() MountTargetPtrOutput
- func (i *MountTarget) ToMountTargetPtrOutputWithContext(ctx context.Context) MountTargetPtrOutput
- type MountTargetArgs
- type MountTargetArray
- type MountTargetArrayInput
- type MountTargetArrayOutput
- func (MountTargetArrayOutput) ElementType() reflect.Type
- func (o MountTargetArrayOutput) Index(i pulumi.IntInput) MountTargetOutput
- func (o MountTargetArrayOutput) ToMountTargetArrayOutput() MountTargetArrayOutput
- func (o MountTargetArrayOutput) ToMountTargetArrayOutputWithContext(ctx context.Context) MountTargetArrayOutput
- type MountTargetInput
- type MountTargetMap
- type MountTargetMapInput
- type MountTargetMapOutput
- func (MountTargetMapOutput) ElementType() reflect.Type
- func (o MountTargetMapOutput) MapIndex(k pulumi.StringInput) MountTargetOutput
- func (o MountTargetMapOutput) ToMountTargetMapOutput() MountTargetMapOutput
- func (o MountTargetMapOutput) ToMountTargetMapOutputWithContext(ctx context.Context) MountTargetMapOutput
- type MountTargetOutput
- func (MountTargetOutput) ElementType() reflect.Type
- func (o MountTargetOutput) ToMountTargetOutput() MountTargetOutput
- func (o MountTargetOutput) ToMountTargetOutputWithContext(ctx context.Context) MountTargetOutput
- func (o MountTargetOutput) ToMountTargetPtrOutput() MountTargetPtrOutput
- func (o MountTargetOutput) ToMountTargetPtrOutputWithContext(ctx context.Context) MountTargetPtrOutput
- type MountTargetPtrInput
- type MountTargetPtrOutput
- type MountTargetState
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/v4/go/aws/efs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := efs.NewAccessPoint(ctx, "test", &efs.AccessPointArgs{ FileSystemId: pulumi.Any(aws_efs_file_system.Foo.Id), }) if err != nil { return err } return nil }) }
```
## Import
The EFS access points can be imported using the `id`, e.g.
```sh
$ pulumi import aws:efs/accessPoint:AccessPoint test fsap-52a643fb
```
func GetAccessPoint ¶
func GetAccessPoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccessPointState, opts ...pulumi.ResourceOption) (*AccessPoint, error)
GetAccessPoint gets an existing AccessPoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAccessPoint ¶
func NewAccessPoint(ctx *pulumi.Context, name string, args *AccessPointArgs, opts ...pulumi.ResourceOption) (*AccessPoint, error)
NewAccessPoint registers a new resource with the given unique name, arguments, and options.
func (*AccessPoint) ElementType ¶
func (*AccessPoint) ElementType() reflect.Type
func (*AccessPoint) ToAccessPointOutput ¶
func (i *AccessPoint) ToAccessPointOutput() AccessPointOutput
func (*AccessPoint) ToAccessPointOutputWithContext ¶
func (i *AccessPoint) ToAccessPointOutputWithContext(ctx context.Context) AccessPointOutput
func (*AccessPoint) ToAccessPointPtrOutput ¶
func (i *AccessPoint) ToAccessPointPtrOutput() AccessPointPtrOutput
func (*AccessPoint) ToAccessPointPtrOutputWithContext ¶
func (i *AccessPoint) ToAccessPointPtrOutputWithContext(ctx context.Context) AccessPointPtrOutput
type AccessPointArgs ¶
type AccessPointArgs struct { // 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 ¶
type AccessPointArray []AccessPointInput
func (AccessPointArray) ElementType ¶
func (AccessPointArray) ElementType() reflect.Type
func (AccessPointArray) ToAccessPointArrayOutput ¶
func (i AccessPointArray) ToAccessPointArrayOutput() AccessPointArrayOutput
func (AccessPointArray) ToAccessPointArrayOutputWithContext ¶
func (i AccessPointArray) ToAccessPointArrayOutputWithContext(ctx context.Context) AccessPointArrayOutput
type AccessPointArrayInput ¶
type AccessPointArrayInput interface { pulumi.Input ToAccessPointArrayOutput() AccessPointArrayOutput ToAccessPointArrayOutputWithContext(context.Context) AccessPointArrayOutput }
AccessPointArrayInput is an input type that accepts AccessPointArray and AccessPointArrayOutput values. You can construct a concrete instance of `AccessPointArrayInput` via:
AccessPointArray{ AccessPointArgs{...} }
type AccessPointArrayOutput ¶
type AccessPointArrayOutput struct{ *pulumi.OutputState }
func (AccessPointArrayOutput) ElementType ¶
func (AccessPointArrayOutput) ElementType() reflect.Type
func (AccessPointArrayOutput) Index ¶
func (o AccessPointArrayOutput) Index(i pulumi.IntInput) AccessPointOutput
func (AccessPointArrayOutput) ToAccessPointArrayOutput ¶
func (o AccessPointArrayOutput) ToAccessPointArrayOutput() AccessPointArrayOutput
func (AccessPointArrayOutput) ToAccessPointArrayOutputWithContext ¶
func (o AccessPointArrayOutput) ToAccessPointArrayOutputWithContext(ctx context.Context) AccessPointArrayOutput
type AccessPointInput ¶
type AccessPointInput interface { pulumi.Input ToAccessPointOutput() AccessPointOutput ToAccessPointOutputWithContext(ctx context.Context) AccessPointOutput }
type AccessPointMap ¶
type AccessPointMap map[string]AccessPointInput
func (AccessPointMap) ElementType ¶
func (AccessPointMap) ElementType() reflect.Type
func (AccessPointMap) ToAccessPointMapOutput ¶
func (i AccessPointMap) ToAccessPointMapOutput() AccessPointMapOutput
func (AccessPointMap) ToAccessPointMapOutputWithContext ¶
func (i AccessPointMap) ToAccessPointMapOutputWithContext(ctx context.Context) AccessPointMapOutput
type AccessPointMapInput ¶
type AccessPointMapInput interface { pulumi.Input ToAccessPointMapOutput() AccessPointMapOutput ToAccessPointMapOutputWithContext(context.Context) AccessPointMapOutput }
AccessPointMapInput is an input type that accepts AccessPointMap and AccessPointMapOutput values. You can construct a concrete instance of `AccessPointMapInput` via:
AccessPointMap{ "key": AccessPointArgs{...} }
type AccessPointMapOutput ¶
type AccessPointMapOutput struct{ *pulumi.OutputState }
func (AccessPointMapOutput) ElementType ¶
func (AccessPointMapOutput) ElementType() reflect.Type
func (AccessPointMapOutput) MapIndex ¶
func (o AccessPointMapOutput) MapIndex(k pulumi.StringInput) AccessPointOutput
func (AccessPointMapOutput) ToAccessPointMapOutput ¶
func (o AccessPointMapOutput) ToAccessPointMapOutput() AccessPointMapOutput
func (AccessPointMapOutput) ToAccessPointMapOutputWithContext ¶
func (o AccessPointMapOutput) ToAccessPointMapOutputWithContext(ctx context.Context) AccessPointMapOutput
type AccessPointOutput ¶
type AccessPointOutput struct {
*pulumi.OutputState
}
func (AccessPointOutput) ElementType ¶
func (AccessPointOutput) ElementType() reflect.Type
func (AccessPointOutput) ToAccessPointOutput ¶
func (o AccessPointOutput) ToAccessPointOutput() AccessPointOutput
func (AccessPointOutput) ToAccessPointOutputWithContext ¶
func (o AccessPointOutput) ToAccessPointOutputWithContext(ctx context.Context) AccessPointOutput
func (AccessPointOutput) ToAccessPointPtrOutput ¶
func (o AccessPointOutput) ToAccessPointPtrOutput() AccessPointPtrOutput
func (AccessPointOutput) ToAccessPointPtrOutputWithContext ¶
func (o AccessPointOutput) ToAccessPointPtrOutputWithContext(ctx context.Context) AccessPointPtrOutput
type AccessPointPosixUser ¶
type AccessPointPosixUser struct { // 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 ¶
func (o AccessPointPosixUserOutput) Gid() pulumi.IntOutput
The POSIX group ID used for all file system operations using this access point.
func (AccessPointPosixUserOutput) SecondaryGids ¶
func (o AccessPointPosixUserOutput) SecondaryGids() pulumi.IntArrayOutput
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 ¶
func (o AccessPointPosixUserOutput) Uid() pulumi.IntOutput
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
func AccessPointPosixUserPtr ¶
func AccessPointPosixUserPtr(v *AccessPointPosixUserArgs) AccessPointPosixUserPtrInput
type AccessPointPosixUserPtrOutput ¶
type AccessPointPosixUserPtrOutput struct{ *pulumi.OutputState }
func (AccessPointPosixUserPtrOutput) Elem ¶
func (o AccessPointPosixUserPtrOutput) Elem() AccessPointPosixUserOutput
func (AccessPointPosixUserPtrOutput) ElementType ¶
func (AccessPointPosixUserPtrOutput) ElementType() reflect.Type
func (AccessPointPosixUserPtrOutput) Gid ¶
func (o AccessPointPosixUserPtrOutput) Gid() pulumi.IntPtrOutput
The POSIX group ID used for all file system operations using this access point.
func (AccessPointPosixUserPtrOutput) SecondaryGids ¶
func (o AccessPointPosixUserPtrOutput) SecondaryGids() pulumi.IntArrayOutput
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 ¶
func (o AccessPointPosixUserPtrOutput) Uid() pulumi.IntPtrOutput
The POSIX user ID used for all file system operations using this access point.
type AccessPointPtrInput ¶
type AccessPointPtrInput interface { pulumi.Input ToAccessPointPtrOutput() AccessPointPtrOutput ToAccessPointPtrOutputWithContext(ctx context.Context) AccessPointPtrOutput }
type AccessPointPtrOutput ¶
type AccessPointPtrOutput struct {
*pulumi.OutputState
}
func (AccessPointPtrOutput) ElementType ¶
func (AccessPointPtrOutput) ElementType() reflect.Type
func (AccessPointPtrOutput) ToAccessPointPtrOutput ¶
func (o AccessPointPtrOutput) ToAccessPointPtrOutput() AccessPointPtrOutput
func (AccessPointPtrOutput) ToAccessPointPtrOutputWithContext ¶
func (o AccessPointPtrOutput) ToAccessPointPtrOutputWithContext(ctx context.Context) AccessPointPtrOutput
type AccessPointRootDirectory ¶
type AccessPointRootDirectory struct { // 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (AccessPointRootDirectoryCreationInfoOutput) OwnerGid ¶
func (o AccessPointRootDirectoryCreationInfoOutput) OwnerGid() pulumi.IntOutput
Specifies the POSIX group ID to apply to the `rootDirectory`.
func (AccessPointRootDirectoryCreationInfoOutput) OwnerUid ¶
func (o AccessPointRootDirectoryCreationInfoOutput) OwnerUid() pulumi.IntOutput
Specifies the POSIX user ID to apply to the `rootDirectory`.
func (AccessPointRootDirectoryCreationInfoOutput) Permissions ¶
func (o AccessPointRootDirectoryCreationInfoOutput) Permissions() pulumi.StringOutput
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
func AccessPointRootDirectoryCreationInfoPtr ¶
func AccessPointRootDirectoryCreationInfoPtr(v *AccessPointRootDirectoryCreationInfoArgs) AccessPointRootDirectoryCreationInfoPtrInput
type AccessPointRootDirectoryCreationInfoPtrOutput ¶
type AccessPointRootDirectoryCreationInfoPtrOutput struct{ *pulumi.OutputState }
func (AccessPointRootDirectoryCreationInfoPtrOutput) ElementType ¶
func (AccessPointRootDirectoryCreationInfoPtrOutput) ElementType() reflect.Type
func (AccessPointRootDirectoryCreationInfoPtrOutput) OwnerGid ¶
func (o AccessPointRootDirectoryCreationInfoPtrOutput) OwnerGid() pulumi.IntPtrOutput
Specifies the POSIX group ID to apply to the `rootDirectory`.
func (AccessPointRootDirectoryCreationInfoPtrOutput) OwnerUid ¶
func (o AccessPointRootDirectoryCreationInfoPtrOutput) OwnerUid() pulumi.IntPtrOutput
Specifies the POSIX user ID to apply to the `rootDirectory`.
func (AccessPointRootDirectoryCreationInfoPtrOutput) Permissions ¶
func (o AccessPointRootDirectoryCreationInfoPtrOutput) Permissions() pulumi.StringPtrOutput
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 ¶
func (o AccessPointRootDirectoryOutput) CreationInfo() AccessPointRootDirectoryCreationInfoPtrOutput
Specifies the POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.
func (AccessPointRootDirectoryOutput) ElementType ¶
func (AccessPointRootDirectoryOutput) ElementType() reflect.Type
func (AccessPointRootDirectoryOutput) Path ¶
func (o AccessPointRootDirectoryOutput) Path() pulumi.StringPtrOutput
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
func AccessPointRootDirectoryPtr ¶
func AccessPointRootDirectoryPtr(v *AccessPointRootDirectoryArgs) AccessPointRootDirectoryPtrInput
type AccessPointRootDirectoryPtrOutput ¶
type AccessPointRootDirectoryPtrOutput struct{ *pulumi.OutputState }
func (AccessPointRootDirectoryPtrOutput) CreationInfo ¶
func (o AccessPointRootDirectoryPtrOutput) CreationInfo() AccessPointRootDirectoryCreationInfoPtrOutput
Specifies the POSIX IDs and permissions to apply to the access point's Root Directory. See Creation Info below.
func (AccessPointRootDirectoryPtrOutput) Elem ¶
func (o AccessPointRootDirectoryPtrOutput) Elem() AccessPointRootDirectoryOutput
func (AccessPointRootDirectoryPtrOutput) ElementType ¶
func (AccessPointRootDirectoryPtrOutput) ElementType() reflect.Type
func (AccessPointRootDirectoryPtrOutput) Path ¶
func (o AccessPointRootDirectoryPtrOutput) Path() pulumi.StringPtrOutput
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"` // 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/v4/go/aws/efs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := efs.NewFileSystem(ctx, "foo", &efs.FileSystemArgs{ Tags: pulumi.StringMap{ "Name": pulumi.String("MyProduct"), }, }) if err != nil { return err } return nil }) }
``` ### Using lifecycle policy
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/efs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := efs.NewFileSystem(ctx, "fooWithLifecylePolicy", &efs.FileSystemArgs{ LifecyclePolicy: &efs.FileSystemLifecyclePolicyArgs{ TransitionToIa: pulumi.String("AFTER_30_DAYS"), }, }) if err != nil { return err } return nil }) }
```
## Import
The EFS file systems can be imported using the `id`, e.g.
```sh
$ pulumi import aws:efs/fileSystem:FileSystem foo fs-6fa144c6
```
func GetFileSystem ¶
func GetFileSystem(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FileSystemState, opts ...pulumi.ResourceOption) (*FileSystem, error)
GetFileSystem gets an existing FileSystem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFileSystem ¶
func NewFileSystem(ctx *pulumi.Context, name string, args *FileSystemArgs, opts ...pulumi.ResourceOption) (*FileSystem, error)
NewFileSystem registers a new resource with the given unique name, arguments, and options.
func (*FileSystem) ElementType ¶
func (*FileSystem) ElementType() reflect.Type
func (*FileSystem) ToFileSystemOutput ¶
func (i *FileSystem) ToFileSystemOutput() FileSystemOutput
func (*FileSystem) ToFileSystemOutputWithContext ¶
func (i *FileSystem) ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput
func (*FileSystem) ToFileSystemPtrOutput ¶
func (i *FileSystem) ToFileSystemPtrOutput() FileSystemPtrOutput
func (*FileSystem) ToFileSystemPtrOutputWithContext ¶
func (i *FileSystem) ToFileSystemPtrOutputWithContext(ctx context.Context) FileSystemPtrOutput
type FileSystemArgs ¶
type FileSystemArgs struct { // 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 ¶
type FileSystemArray []FileSystemInput
func (FileSystemArray) ElementType ¶
func (FileSystemArray) ElementType() reflect.Type
func (FileSystemArray) ToFileSystemArrayOutput ¶
func (i FileSystemArray) ToFileSystemArrayOutput() FileSystemArrayOutput
func (FileSystemArray) ToFileSystemArrayOutputWithContext ¶
func (i FileSystemArray) ToFileSystemArrayOutputWithContext(ctx context.Context) FileSystemArrayOutput
type FileSystemArrayInput ¶
type FileSystemArrayInput interface { pulumi.Input ToFileSystemArrayOutput() FileSystemArrayOutput ToFileSystemArrayOutputWithContext(context.Context) FileSystemArrayOutput }
FileSystemArrayInput is an input type that accepts FileSystemArray and FileSystemArrayOutput values. You can construct a concrete instance of `FileSystemArrayInput` via:
FileSystemArray{ FileSystemArgs{...} }
type FileSystemArrayOutput ¶
type FileSystemArrayOutput struct{ *pulumi.OutputState }
func (FileSystemArrayOutput) ElementType ¶
func (FileSystemArrayOutput) ElementType() reflect.Type
func (FileSystemArrayOutput) Index ¶
func (o FileSystemArrayOutput) Index(i pulumi.IntInput) FileSystemOutput
func (FileSystemArrayOutput) ToFileSystemArrayOutput ¶
func (o FileSystemArrayOutput) ToFileSystemArrayOutput() FileSystemArrayOutput
func (FileSystemArrayOutput) ToFileSystemArrayOutputWithContext ¶
func (o FileSystemArrayOutput) ToFileSystemArrayOutputWithContext(ctx context.Context) FileSystemArrayOutput
type FileSystemInput ¶
type FileSystemInput interface { pulumi.Input ToFileSystemOutput() FileSystemOutput ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput }
type FileSystemLifecyclePolicy ¶
type FileSystemLifecyclePolicy struct { // Indicates how long it takes to transition files to the IA storage class. Valid values: `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, or `AFTER_90_DAYS`. TransitionToIa string `pulumi:"transitionToIa"` }
type FileSystemLifecyclePolicyArgs ¶
type FileSystemLifecyclePolicyArgs struct { // Indicates how long it takes to transition files to the IA storage class. Valid values: `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, or `AFTER_90_DAYS`. TransitionToIa pulumi.StringInput `pulumi:"transitionToIa"` }
func (FileSystemLifecyclePolicyArgs) ElementType ¶
func (FileSystemLifecyclePolicyArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o FileSystemLifecyclePolicyOutput) TransitionToIa() pulumi.StringOutput
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
func FileSystemLifecyclePolicyPtr ¶
func FileSystemLifecyclePolicyPtr(v *FileSystemLifecyclePolicyArgs) FileSystemLifecyclePolicyPtrInput
type FileSystemLifecyclePolicyPtrOutput ¶
type FileSystemLifecyclePolicyPtrOutput struct{ *pulumi.OutputState }
func (FileSystemLifecyclePolicyPtrOutput) Elem ¶
func (o FileSystemLifecyclePolicyPtrOutput) Elem() FileSystemLifecyclePolicyOutput
func (FileSystemLifecyclePolicyPtrOutput) ElementType ¶
func (FileSystemLifecyclePolicyPtrOutput) ElementType() reflect.Type
func (FileSystemLifecyclePolicyPtrOutput) ToFileSystemLifecyclePolicyPtrOutput ¶
func (o FileSystemLifecyclePolicyPtrOutput) ToFileSystemLifecyclePolicyPtrOutput() FileSystemLifecyclePolicyPtrOutput
func (FileSystemLifecyclePolicyPtrOutput) ToFileSystemLifecyclePolicyPtrOutputWithContext ¶
func (o FileSystemLifecyclePolicyPtrOutput) ToFileSystemLifecyclePolicyPtrOutputWithContext(ctx context.Context) FileSystemLifecyclePolicyPtrOutput
func (FileSystemLifecyclePolicyPtrOutput) TransitionToIa ¶
func (o FileSystemLifecyclePolicyPtrOutput) TransitionToIa() pulumi.StringPtrOutput
Indicates how long it takes to transition files to the IA storage class. Valid values: `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, or `AFTER_90_DAYS`.
type FileSystemMap ¶
type FileSystemMap map[string]FileSystemInput
func (FileSystemMap) ElementType ¶
func (FileSystemMap) ElementType() reflect.Type
func (FileSystemMap) ToFileSystemMapOutput ¶
func (i FileSystemMap) ToFileSystemMapOutput() FileSystemMapOutput
func (FileSystemMap) ToFileSystemMapOutputWithContext ¶
func (i FileSystemMap) ToFileSystemMapOutputWithContext(ctx context.Context) FileSystemMapOutput
type FileSystemMapInput ¶
type FileSystemMapInput interface { pulumi.Input ToFileSystemMapOutput() FileSystemMapOutput ToFileSystemMapOutputWithContext(context.Context) FileSystemMapOutput }
FileSystemMapInput is an input type that accepts FileSystemMap and FileSystemMapOutput values. You can construct a concrete instance of `FileSystemMapInput` via:
FileSystemMap{ "key": FileSystemArgs{...} }
type FileSystemMapOutput ¶
type FileSystemMapOutput struct{ *pulumi.OutputState }
func (FileSystemMapOutput) ElementType ¶
func (FileSystemMapOutput) ElementType() reflect.Type
func (FileSystemMapOutput) MapIndex ¶
func (o FileSystemMapOutput) MapIndex(k pulumi.StringInput) FileSystemOutput
func (FileSystemMapOutput) ToFileSystemMapOutput ¶
func (o FileSystemMapOutput) ToFileSystemMapOutput() FileSystemMapOutput
func (FileSystemMapOutput) ToFileSystemMapOutputWithContext ¶
func (o FileSystemMapOutput) ToFileSystemMapOutputWithContext(ctx context.Context) FileSystemMapOutput
type FileSystemOutput ¶
type FileSystemOutput struct {
*pulumi.OutputState
}
func (FileSystemOutput) ElementType ¶
func (FileSystemOutput) ElementType() reflect.Type
func (FileSystemOutput) ToFileSystemOutput ¶
func (o FileSystemOutput) ToFileSystemOutput() FileSystemOutput
func (FileSystemOutput) ToFileSystemOutputWithContext ¶
func (o FileSystemOutput) ToFileSystemOutputWithContext(ctx context.Context) FileSystemOutput
func (FileSystemOutput) ToFileSystemPtrOutput ¶
func (o FileSystemOutput) ToFileSystemPtrOutput() FileSystemPtrOutput
func (FileSystemOutput) ToFileSystemPtrOutputWithContext ¶
func (o FileSystemOutput) ToFileSystemPtrOutputWithContext(ctx context.Context) FileSystemPtrOutput
type FileSystemPolicy ¶
type FileSystemPolicy struct { pulumi.CustomResourceState // The ID of the EFS file system. FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"` // The JSON formatted file system policy for the EFS file system. see [Docs](https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies) for more info. Policy pulumi.StringOutput `pulumi:"policy"` }
Provides an Elastic File System (EFS) File System Policy resource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/efs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fs, err := efs.NewFileSystem(ctx, "fs", nil) if err != nil { return err } _, err = efs.NewFileSystemPolicy(ctx, "policy", &efs.FileSystemPolicyArgs{ FileSystemId: fs.ID(), Policy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Id\": \"ExamplePolicy01\",\n", " \"Statement\": [\n", " {\n", " \"Sid\": \"ExampleStatement01\",\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\n", " \"AWS\": \"*\"\n", " },\n", " \"Resource\": \"", aws_efs_file_system.Test.Arn, "\",\n", " \"Action\": [\n", " \"elasticfilesystem:ClientMount\",\n", " \"elasticfilesystem:ClientWrite\"\n", " ],\n", " \"Condition\": {\n", " \"Bool\": {\n", " \"aws:SecureTransport\": \"true\"\n", " }\n", " }\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } return nil }) }
```
## Import
The EFS file system policies can be imported using the `id`, e.g.
```sh
$ pulumi import aws:efs/fileSystemPolicy:FileSystemPolicy foo fs-6fa144c6
```
func GetFileSystemPolicy ¶
func GetFileSystemPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FileSystemPolicyState, opts ...pulumi.ResourceOption) (*FileSystemPolicy, error)
GetFileSystemPolicy gets an existing FileSystemPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFileSystemPolicy ¶
func NewFileSystemPolicy(ctx *pulumi.Context, name string, args *FileSystemPolicyArgs, opts ...pulumi.ResourceOption) (*FileSystemPolicy, error)
NewFileSystemPolicy registers a new resource with the given unique name, arguments, and options.
func (*FileSystemPolicy) ElementType ¶
func (*FileSystemPolicy) ElementType() reflect.Type
func (*FileSystemPolicy) ToFileSystemPolicyOutput ¶
func (i *FileSystemPolicy) ToFileSystemPolicyOutput() FileSystemPolicyOutput
func (*FileSystemPolicy) ToFileSystemPolicyOutputWithContext ¶
func (i *FileSystemPolicy) ToFileSystemPolicyOutputWithContext(ctx context.Context) FileSystemPolicyOutput
func (*FileSystemPolicy) ToFileSystemPolicyPtrOutput ¶
func (i *FileSystemPolicy) ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput
func (*FileSystemPolicy) ToFileSystemPolicyPtrOutputWithContext ¶
func (i *FileSystemPolicy) ToFileSystemPolicyPtrOutputWithContext(ctx context.Context) FileSystemPolicyPtrOutput
type FileSystemPolicyArgs ¶
type FileSystemPolicyArgs struct { // The ID of the EFS file system. FileSystemId pulumi.StringInput // The JSON formatted file system policy for the EFS file system. see [Docs](https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies) for more info. Policy pulumi.StringInput }
The set of arguments for constructing a FileSystemPolicy resource.
func (FileSystemPolicyArgs) ElementType ¶
func (FileSystemPolicyArgs) ElementType() reflect.Type
type FileSystemPolicyArray ¶
type FileSystemPolicyArray []FileSystemPolicyInput
func (FileSystemPolicyArray) ElementType ¶
func (FileSystemPolicyArray) ElementType() reflect.Type
func (FileSystemPolicyArray) ToFileSystemPolicyArrayOutput ¶
func (i FileSystemPolicyArray) ToFileSystemPolicyArrayOutput() FileSystemPolicyArrayOutput
func (FileSystemPolicyArray) ToFileSystemPolicyArrayOutputWithContext ¶
func (i FileSystemPolicyArray) ToFileSystemPolicyArrayOutputWithContext(ctx context.Context) FileSystemPolicyArrayOutput
type FileSystemPolicyArrayInput ¶
type FileSystemPolicyArrayInput interface { pulumi.Input ToFileSystemPolicyArrayOutput() FileSystemPolicyArrayOutput ToFileSystemPolicyArrayOutputWithContext(context.Context) FileSystemPolicyArrayOutput }
FileSystemPolicyArrayInput is an input type that accepts FileSystemPolicyArray and FileSystemPolicyArrayOutput values. You can construct a concrete instance of `FileSystemPolicyArrayInput` via:
FileSystemPolicyArray{ FileSystemPolicyArgs{...} }
type FileSystemPolicyArrayOutput ¶
type FileSystemPolicyArrayOutput struct{ *pulumi.OutputState }
func (FileSystemPolicyArrayOutput) ElementType ¶
func (FileSystemPolicyArrayOutput) ElementType() reflect.Type
func (FileSystemPolicyArrayOutput) Index ¶
func (o FileSystemPolicyArrayOutput) Index(i pulumi.IntInput) FileSystemPolicyOutput
func (FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutput ¶
func (o FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutput() FileSystemPolicyArrayOutput
func (FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutputWithContext ¶
func (o FileSystemPolicyArrayOutput) ToFileSystemPolicyArrayOutputWithContext(ctx context.Context) FileSystemPolicyArrayOutput
type FileSystemPolicyInput ¶
type FileSystemPolicyInput interface { pulumi.Input ToFileSystemPolicyOutput() FileSystemPolicyOutput ToFileSystemPolicyOutputWithContext(ctx context.Context) FileSystemPolicyOutput }
type FileSystemPolicyMap ¶
type FileSystemPolicyMap map[string]FileSystemPolicyInput
func (FileSystemPolicyMap) ElementType ¶
func (FileSystemPolicyMap) ElementType() reflect.Type
func (FileSystemPolicyMap) ToFileSystemPolicyMapOutput ¶
func (i FileSystemPolicyMap) ToFileSystemPolicyMapOutput() FileSystemPolicyMapOutput
func (FileSystemPolicyMap) ToFileSystemPolicyMapOutputWithContext ¶
func (i FileSystemPolicyMap) ToFileSystemPolicyMapOutputWithContext(ctx context.Context) FileSystemPolicyMapOutput
type FileSystemPolicyMapInput ¶
type FileSystemPolicyMapInput interface { pulumi.Input ToFileSystemPolicyMapOutput() FileSystemPolicyMapOutput ToFileSystemPolicyMapOutputWithContext(context.Context) FileSystemPolicyMapOutput }
FileSystemPolicyMapInput is an input type that accepts FileSystemPolicyMap and FileSystemPolicyMapOutput values. You can construct a concrete instance of `FileSystemPolicyMapInput` via:
FileSystemPolicyMap{ "key": FileSystemPolicyArgs{...} }
type FileSystemPolicyMapOutput ¶
type FileSystemPolicyMapOutput struct{ *pulumi.OutputState }
func (FileSystemPolicyMapOutput) ElementType ¶
func (FileSystemPolicyMapOutput) ElementType() reflect.Type
func (FileSystemPolicyMapOutput) MapIndex ¶
func (o FileSystemPolicyMapOutput) MapIndex(k pulumi.StringInput) FileSystemPolicyOutput
func (FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutput ¶
func (o FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutput() FileSystemPolicyMapOutput
func (FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutputWithContext ¶
func (o FileSystemPolicyMapOutput) ToFileSystemPolicyMapOutputWithContext(ctx context.Context) FileSystemPolicyMapOutput
type FileSystemPolicyOutput ¶
type FileSystemPolicyOutput struct {
*pulumi.OutputState
}
func (FileSystemPolicyOutput) ElementType ¶
func (FileSystemPolicyOutput) ElementType() reflect.Type
func (FileSystemPolicyOutput) ToFileSystemPolicyOutput ¶
func (o FileSystemPolicyOutput) ToFileSystemPolicyOutput() FileSystemPolicyOutput
func (FileSystemPolicyOutput) ToFileSystemPolicyOutputWithContext ¶
func (o FileSystemPolicyOutput) ToFileSystemPolicyOutputWithContext(ctx context.Context) FileSystemPolicyOutput
func (FileSystemPolicyOutput) ToFileSystemPolicyPtrOutput ¶
func (o FileSystemPolicyOutput) ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput
func (FileSystemPolicyOutput) ToFileSystemPolicyPtrOutputWithContext ¶
func (o FileSystemPolicyOutput) ToFileSystemPolicyPtrOutputWithContext(ctx context.Context) FileSystemPolicyPtrOutput
type FileSystemPolicyPtrInput ¶
type FileSystemPolicyPtrInput interface { pulumi.Input ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput ToFileSystemPolicyPtrOutputWithContext(ctx context.Context) FileSystemPolicyPtrOutput }
type FileSystemPolicyPtrOutput ¶
type FileSystemPolicyPtrOutput struct {
*pulumi.OutputState
}
func (FileSystemPolicyPtrOutput) ElementType ¶
func (FileSystemPolicyPtrOutput) ElementType() reflect.Type
func (FileSystemPolicyPtrOutput) ToFileSystemPolicyPtrOutput ¶
func (o FileSystemPolicyPtrOutput) ToFileSystemPolicyPtrOutput() FileSystemPolicyPtrOutput
func (FileSystemPolicyPtrOutput) ToFileSystemPolicyPtrOutputWithContext ¶
func (o FileSystemPolicyPtrOutput) ToFileSystemPolicyPtrOutputWithContext(ctx context.Context) FileSystemPolicyPtrOutput
type FileSystemPolicyState ¶
type FileSystemPolicyState struct { // The ID of the EFS file system. FileSystemId pulumi.StringPtrInput // The JSON formatted file system policy for the EFS file system. see [Docs](https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies) for more info. Policy pulumi.StringPtrInput }
func (FileSystemPolicyState) ElementType ¶
func (FileSystemPolicyState) ElementType() reflect.Type
type FileSystemPtrInput ¶
type FileSystemPtrInput interface { pulumi.Input ToFileSystemPtrOutput() FileSystemPtrOutput ToFileSystemPtrOutputWithContext(ctx context.Context) FileSystemPtrOutput }
type FileSystemPtrOutput ¶
type FileSystemPtrOutput struct {
*pulumi.OutputState
}
func (FileSystemPtrOutput) ElementType ¶
func (FileSystemPtrOutput) ElementType() reflect.Type
func (FileSystemPtrOutput) ToFileSystemPtrOutput ¶
func (o FileSystemPtrOutput) ToFileSystemPtrOutput() FileSystemPtrOutput
func (FileSystemPtrOutput) ToFileSystemPtrOutputWithContext ¶
func (o FileSystemPtrOutput) ToFileSystemPtrOutputWithContext(ctx context.Context) FileSystemPtrOutput
type 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 ¶
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetAccessPointPosixUserArrayOutput) Index ¶
func (o GetAccessPointPosixUserArrayOutput) Index(i pulumi.IntInput) GetAccessPointPosixUserOutput
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) ElementType() reflect.Type
func (GetAccessPointPosixUserOutput) Gid ¶
func (o GetAccessPointPosixUserOutput) Gid() pulumi.IntOutput
Group ID
func (GetAccessPointPosixUserOutput) SecondaryGids ¶
func (o GetAccessPointPosixUserOutput) SecondaryGids() pulumi.IntArrayOutput
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 ¶
func (o GetAccessPointPosixUserOutput) Uid() pulumi.IntOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutput ¶
func (o GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutput() GetAccessPointRootDirectoryArrayOutput
func (GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutputWithContext ¶
func (o GetAccessPointRootDirectoryArrayOutput) ToGetAccessPointRootDirectoryArrayOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryArrayOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetAccessPointRootDirectoryCreationInfoOutput) OwnerGid ¶
func (o GetAccessPointRootDirectoryCreationInfoOutput) OwnerGid() pulumi.IntOutput
POSIX owner group ID
func (GetAccessPointRootDirectoryCreationInfoOutput) OwnerUid ¶
func (o GetAccessPointRootDirectoryCreationInfoOutput) OwnerUid() pulumi.IntOutput
POSIX owner user ID
func (GetAccessPointRootDirectoryCreationInfoOutput) Permissions ¶
func (o GetAccessPointRootDirectoryCreationInfoOutput) Permissions() pulumi.StringOutput
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 ¶
func (o GetAccessPointRootDirectoryOutput) CreationInfos() GetAccessPointRootDirectoryCreationInfoArrayOutput
Single element list containing information on the creation permissions of the directory
func (GetAccessPointRootDirectoryOutput) ElementType ¶
func (GetAccessPointRootDirectoryOutput) ElementType() reflect.Type
func (GetAccessPointRootDirectoryOutput) Path ¶
func (o GetAccessPointRootDirectoryOutput) Path() pulumi.StringOutput
Path exposed as the root directory
func (GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutput ¶
func (o GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutput() GetAccessPointRootDirectoryOutput
func (GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutputWithContext ¶
func (o GetAccessPointRootDirectoryOutput) ToGetAccessPointRootDirectoryOutputWithContext(ctx context.Context) GetAccessPointRootDirectoryOutput
type GetAccessPointsArgs ¶
type GetAccessPointsArgs struct { // EFS File System identifier. FileSystemId string `pulumi:"fileSystemId"` }
A collection of arguments for invoking getAccessPoints.
type GetAccessPointsResult ¶
type GetAccessPointsResult struct { // Set of Amazon Resource Names (ARNs). Arns []string `pulumi:"arns"` FileSystemId string `pulumi:"fileSystemId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Set of identifiers. Ids []string `pulumi:"ids"` }
A collection of values returned by getAccessPoints.
func GetAccessPoints ¶
func GetAccessPoints(ctx *pulumi.Context, args *GetAccessPointsArgs, opts ...pulumi.InvokeOption) (*GetAccessPointsResult, error)
Provides information about multiple Elastic File System (EFS) Access Points.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/efs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := efs.GetAccessPoints(ctx, &efs.GetAccessPointsArgs{ FileSystemId: "fs-12345678", }, nil) if err != nil { return err } return nil }) }
```
type GetFileSystemLifecyclePolicy ¶
type GetFileSystemLifecyclePolicy struct {
TransitionToIa string `pulumi:"transitionToIa"`
}
type GetFileSystemLifecyclePolicyArgs ¶
type GetFileSystemLifecyclePolicyArgs struct {
TransitionToIa pulumi.StringInput `pulumi:"transitionToIa"`
}
func (GetFileSystemLifecyclePolicyArgs) ElementType ¶
func (GetFileSystemLifecyclePolicyArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetFileSystemLifecyclePolicyOutput) ToGetFileSystemLifecyclePolicyOutput ¶
func (o GetFileSystemLifecyclePolicyOutput) ToGetFileSystemLifecyclePolicyOutput() GetFileSystemLifecyclePolicyOutput
func (GetFileSystemLifecyclePolicyOutput) ToGetFileSystemLifecyclePolicyOutputWithContext ¶
func (o GetFileSystemLifecyclePolicyOutput) ToGetFileSystemLifecyclePolicyOutputWithContext(ctx context.Context) GetFileSystemLifecyclePolicyOutput
func (GetFileSystemLifecyclePolicyOutput) TransitionToIa ¶
func (o GetFileSystemLifecyclePolicyOutput) TransitionToIa() pulumi.StringOutput
type LookupAccessPointArgs ¶
type LookupAccessPointArgs struct { // The ID that identifies the file system. AccessPointId string `pulumi:"accessPointId"` // Key-value mapping of resource tags. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getAccessPoint.
type LookupAccessPointResult ¶
type LookupAccessPointResult struct { AccessPointId string `pulumi:"accessPointId"` // Amazon Resource Name of the file system. Arn string `pulumi:"arn"` // Amazon Resource Name of the file system. FileSystemArn string `pulumi:"fileSystemArn"` // The ID of the file system for which the access point is intended. FileSystemId string `pulumi:"fileSystemId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` OwnerId string `pulumi:"ownerId"` // Single element list containing operating system user and group applied to all file system requests made using the access point. PosixUsers []GetAccessPointPosixUser `pulumi:"posixUsers"` RootDirectories []GetAccessPointRootDirectory `pulumi:"rootDirectories"` // Key-value mapping of resource tags. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getAccessPoint.
func LookupAccessPoint ¶
func LookupAccessPoint(ctx *pulumi.Context, args *LookupAccessPointArgs, opts ...pulumi.InvokeOption) (*LookupAccessPointResult, error)
Provides information about an Elastic File System (EFS) Access Point.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/efs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := efs.LookupAccessPoint(ctx, &efs.LookupAccessPointArgs{ AccessPointId: "fsap-12345678", }, nil) if err != nil { return err } return nil }) }
```
type LookupFileSystemArgs ¶
type LookupFileSystemArgs struct { // Restricts the list to the file system with this creation token. CreationToken *string `pulumi:"creationToken"` // The ID that identifies the file system (e.g. fs-ccfc0d65). FileSystemId *string `pulumi:"fileSystemId"` Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getFileSystem.
type LookupFileSystemResult ¶
type LookupFileSystemResult struct { // Amazon Resource Name of the file system. Arn string `pulumi:"arn"` CreationToken string `pulumi:"creationToken"` // The DNS name for the filesystem per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html). DnsName string `pulumi:"dnsName"` // Whether EFS is encrypted. Encrypted bool `pulumi:"encrypted"` FileSystemId string `pulumi:"fileSystemId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The ARN for the KMS encryption key. KmsKeyId string `pulumi:"kmsKeyId"` // A file system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) object. LifecyclePolicy GetFileSystemLifecyclePolicy `pulumi:"lifecyclePolicy"` // The file system performance mode. PerformanceMode string `pulumi:"performanceMode"` // The throughput, measured in MiB/s, that you want to provision for the file system. // * `tags` -A map of tags to assign to the file system. ProvisionedThroughputInMibps float64 `pulumi:"provisionedThroughputInMibps"` // The current byte count used by the file system. SizeInBytes int `pulumi:"sizeInBytes"` Tags map[string]string `pulumi:"tags"` // Throughput mode for the file system. ThroughputMode string `pulumi:"throughputMode"` }
A collection of values returned by getFileSystem.
func LookupFileSystem ¶
func LookupFileSystem(ctx *pulumi.Context, args *LookupFileSystemArgs, opts ...pulumi.InvokeOption) (*LookupFileSystemResult, error)
Provides information about an Elastic File System (EFS) File System.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/efs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") fileSystemId := "" if param := cfg.Get("fileSystemId"); param != "" { fileSystemId = param } opt0 := fileSystemId _, err := efs.LookupFileSystem(ctx, &efs.LookupFileSystemArgs{ FileSystemId: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type LookupMountTargetArgs ¶
type LookupMountTargetArgs struct { // ID 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/v4/go/aws/efs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") mountTargetId := "" if param := cfg.Get("mountTargetId"); param != "" { mountTargetId = param } _, 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/v4/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/efs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { foo, err := ec2.NewVpc(ctx, "foo", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } alphaSubnet, err := ec2.NewSubnet(ctx, "alphaSubnet", &ec2.SubnetArgs{ VpcId: foo.ID(), AvailabilityZone: pulumi.String("us-west-2a"), CidrBlock: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } _, err = efs.NewMountTarget(ctx, "alphaMountTarget", &efs.MountTargetArgs{ FileSystemId: pulumi.Any(aws_efs_file_system.Foo.Id), SubnetId: alphaSubnet.ID(), }) if err != nil { return err } return nil }) }
```
## Import
The EFS mount targets can be imported using the `id`, e.g.
```sh
$ pulumi import aws:efs/mountTarget:MountTarget alpha fsmt-52a643fb
```
func GetMountTarget ¶
func GetMountTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MountTargetState, opts ...pulumi.ResourceOption) (*MountTarget, error)
GetMountTarget gets an existing MountTarget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMountTarget ¶
func NewMountTarget(ctx *pulumi.Context, name string, args *MountTargetArgs, opts ...pulumi.ResourceOption) (*MountTarget, error)
NewMountTarget registers a new resource with the given unique name, arguments, and options.
func (*MountTarget) ElementType ¶
func (*MountTarget) ElementType() reflect.Type
func (*MountTarget) ToMountTargetOutput ¶
func (i *MountTarget) ToMountTargetOutput() MountTargetOutput
func (*MountTarget) ToMountTargetOutputWithContext ¶
func (i *MountTarget) ToMountTargetOutputWithContext(ctx context.Context) MountTargetOutput
func (*MountTarget) ToMountTargetPtrOutput ¶
func (i *MountTarget) ToMountTargetPtrOutput() MountTargetPtrOutput
func (*MountTarget) ToMountTargetPtrOutputWithContext ¶
func (i *MountTarget) ToMountTargetPtrOutputWithContext(ctx context.Context) MountTargetPtrOutput
type MountTargetArgs ¶
type MountTargetArgs struct { // The ID of the file system for which the mount target is intended. FileSystemId pulumi.StringInput // The address (within the address range of the specified subnet) at // which the file system may be mounted via the mount target. IpAddress pulumi.StringPtrInput // A list of up to 5 VPC security group IDs (that must // be for the same VPC as subnet specified) in effect for the mount target. SecurityGroups pulumi.StringArrayInput // The ID of the subnet to add the mount target in. SubnetId pulumi.StringInput }
The set of arguments for constructing a MountTarget resource.
func (MountTargetArgs) ElementType ¶
func (MountTargetArgs) ElementType() reflect.Type
type MountTargetArray ¶
type MountTargetArray []MountTargetInput
func (MountTargetArray) ElementType ¶
func (MountTargetArray) ElementType() reflect.Type
func (MountTargetArray) ToMountTargetArrayOutput ¶
func (i MountTargetArray) ToMountTargetArrayOutput() MountTargetArrayOutput
func (MountTargetArray) ToMountTargetArrayOutputWithContext ¶
func (i MountTargetArray) ToMountTargetArrayOutputWithContext(ctx context.Context) MountTargetArrayOutput
type MountTargetArrayInput ¶
type MountTargetArrayInput interface { pulumi.Input ToMountTargetArrayOutput() MountTargetArrayOutput ToMountTargetArrayOutputWithContext(context.Context) MountTargetArrayOutput }
MountTargetArrayInput is an input type that accepts MountTargetArray and MountTargetArrayOutput values. You can construct a concrete instance of `MountTargetArrayInput` via:
MountTargetArray{ MountTargetArgs{...} }
type MountTargetArrayOutput ¶
type MountTargetArrayOutput struct{ *pulumi.OutputState }
func (MountTargetArrayOutput) ElementType ¶
func (MountTargetArrayOutput) ElementType() reflect.Type
func (MountTargetArrayOutput) Index ¶
func (o MountTargetArrayOutput) Index(i pulumi.IntInput) MountTargetOutput
func (MountTargetArrayOutput) ToMountTargetArrayOutput ¶
func (o MountTargetArrayOutput) ToMountTargetArrayOutput() MountTargetArrayOutput
func (MountTargetArrayOutput) ToMountTargetArrayOutputWithContext ¶
func (o MountTargetArrayOutput) ToMountTargetArrayOutputWithContext(ctx context.Context) MountTargetArrayOutput
type MountTargetInput ¶
type MountTargetInput interface { pulumi.Input ToMountTargetOutput() MountTargetOutput ToMountTargetOutputWithContext(ctx context.Context) MountTargetOutput }
type MountTargetMap ¶
type MountTargetMap map[string]MountTargetInput
func (MountTargetMap) ElementType ¶
func (MountTargetMap) ElementType() reflect.Type
func (MountTargetMap) ToMountTargetMapOutput ¶
func (i MountTargetMap) ToMountTargetMapOutput() MountTargetMapOutput
func (MountTargetMap) ToMountTargetMapOutputWithContext ¶
func (i MountTargetMap) ToMountTargetMapOutputWithContext(ctx context.Context) MountTargetMapOutput
type MountTargetMapInput ¶
type MountTargetMapInput interface { pulumi.Input ToMountTargetMapOutput() MountTargetMapOutput ToMountTargetMapOutputWithContext(context.Context) MountTargetMapOutput }
MountTargetMapInput is an input type that accepts MountTargetMap and MountTargetMapOutput values. You can construct a concrete instance of `MountTargetMapInput` via:
MountTargetMap{ "key": MountTargetArgs{...} }
type MountTargetMapOutput ¶
type MountTargetMapOutput struct{ *pulumi.OutputState }
func (MountTargetMapOutput) ElementType ¶
func (MountTargetMapOutput) ElementType() reflect.Type
func (MountTargetMapOutput) MapIndex ¶
func (o MountTargetMapOutput) MapIndex(k pulumi.StringInput) MountTargetOutput
func (MountTargetMapOutput) ToMountTargetMapOutput ¶
func (o MountTargetMapOutput) ToMountTargetMapOutput() MountTargetMapOutput
func (MountTargetMapOutput) ToMountTargetMapOutputWithContext ¶
func (o MountTargetMapOutput) ToMountTargetMapOutputWithContext(ctx context.Context) MountTargetMapOutput
type MountTargetOutput ¶
type MountTargetOutput struct {
*pulumi.OutputState
}
func (MountTargetOutput) ElementType ¶
func (MountTargetOutput) ElementType() reflect.Type
func (MountTargetOutput) ToMountTargetOutput ¶
func (o MountTargetOutput) ToMountTargetOutput() MountTargetOutput
func (MountTargetOutput) ToMountTargetOutputWithContext ¶
func (o MountTargetOutput) ToMountTargetOutputWithContext(ctx context.Context) MountTargetOutput
func (MountTargetOutput) ToMountTargetPtrOutput ¶
func (o MountTargetOutput) ToMountTargetPtrOutput() MountTargetPtrOutput
func (MountTargetOutput) ToMountTargetPtrOutputWithContext ¶
func (o MountTargetOutput) ToMountTargetPtrOutputWithContext(ctx context.Context) MountTargetPtrOutput
type MountTargetPtrInput ¶
type MountTargetPtrInput interface { pulumi.Input ToMountTargetPtrOutput() MountTargetPtrOutput ToMountTargetPtrOutputWithContext(ctx context.Context) MountTargetPtrOutput }
type MountTargetPtrOutput ¶
type MountTargetPtrOutput struct {
*pulumi.OutputState
}
func (MountTargetPtrOutput) ElementType ¶
func (MountTargetPtrOutput) ElementType() reflect.Type
func (MountTargetPtrOutput) ToMountTargetPtrOutput ¶
func (o MountTargetPtrOutput) ToMountTargetPtrOutput() MountTargetPtrOutput
func (MountTargetPtrOutput) ToMountTargetPtrOutputWithContext ¶
func (o MountTargetPtrOutput) ToMountTargetPtrOutputWithContext(ctx context.Context) MountTargetPtrOutput
type MountTargetState ¶
type MountTargetState struct { // The unique and consistent identifier of the Availability Zone (AZ) that the mount target resides in. AvailabilityZoneId pulumi.StringPtrInput // The name of the Availability Zone (AZ) that the mount target resides in. AvailabilityZoneName pulumi.StringPtrInput // The DNS name for the EFS file system. DnsName pulumi.StringPtrInput // Amazon Resource Name of the file system. FileSystemArn pulumi.StringPtrInput // The ID of the file system for which the mount target is intended. FileSystemId pulumi.StringPtrInput // The address (within the address range of the specified subnet) at // which the file system may be mounted via the mount target. IpAddress pulumi.StringPtrInput // The DNS name for the given subnet/AZ per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html). MountTargetDnsName pulumi.StringPtrInput // The ID of the network interface that Amazon EFS created when it created the mount target. NetworkInterfaceId pulumi.StringPtrInput // AWS account ID that owns the resource. OwnerId pulumi.StringPtrInput // A list of up to 5 VPC security group IDs (that must // be for the same VPC as subnet specified) in effect for the mount target. SecurityGroups pulumi.StringArrayInput // The ID of the subnet to add the mount target in. SubnetId pulumi.StringPtrInput }
func (MountTargetState) ElementType ¶
func (MountTargetState) ElementType() reflect.Type