aws.storagegateway.NfsFileShare
Explore with Pulumi AI
Manages an AWS Storage Gateway NFS File Share.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.storagegateway.NfsFileShare("example", {
clientLists: ["0.0.0.0/0"],
gatewayArn: exampleAwsStoragegatewayGateway.arn,
locationArn: exampleAwsS3Bucket.arn,
roleArn: exampleAwsIamRole.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.storagegateway.NfsFileShare("example",
client_lists=["0.0.0.0/0"],
gateway_arn=example_aws_storagegateway_gateway["arn"],
location_arn=example_aws_s3_bucket["arn"],
role_arn=example_aws_iam_role["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/storagegateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storagegateway.NewNfsFileShare(ctx, "example", &storagegateway.NfsFileShareArgs{
ClientLists: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
GatewayArn: pulumi.Any(exampleAwsStoragegatewayGateway.Arn),
LocationArn: pulumi.Any(exampleAwsS3Bucket.Arn),
RoleArn: pulumi.Any(exampleAwsIamRole.Arn),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.StorageGateway.NfsFileShare("example", new()
{
ClientLists = new[]
{
"0.0.0.0/0",
},
GatewayArn = exampleAwsStoragegatewayGateway.Arn,
LocationArn = exampleAwsS3Bucket.Arn,
RoleArn = exampleAwsIamRole.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.storagegateway.NfsFileShare;
import com.pulumi.aws.storagegateway.NfsFileShareArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new NfsFileShare("example", NfsFileShareArgs.builder()
.clientLists("0.0.0.0/0")
.gatewayArn(exampleAwsStoragegatewayGateway.arn())
.locationArn(exampleAwsS3Bucket.arn())
.roleArn(exampleAwsIamRole.arn())
.build());
}
}
resources:
example:
type: aws:storagegateway:NfsFileShare
properties:
clientLists:
- 0.0.0.0/0
gatewayArn: ${exampleAwsStoragegatewayGateway.arn}
locationArn: ${exampleAwsS3Bucket.arn}
roleArn: ${exampleAwsIamRole.arn}
Create NfsFileShare Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NfsFileShare(name: string, args: NfsFileShareArgs, opts?: CustomResourceOptions);
@overload
def NfsFileShare(resource_name: str,
args: NfsFileShareArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NfsFileShare(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway_arn: Optional[str] = None,
role_arn: Optional[str] = None,
location_arn: Optional[str] = None,
client_lists: Optional[Sequence[str]] = None,
file_share_name: Optional[str] = None,
nfs_file_share_defaults: Optional[NfsFileShareNfsFileShareDefaultsArgs] = None,
default_storage_class: Optional[str] = None,
guess_mime_type_enabled: Optional[bool] = None,
kms_encrypted: Optional[bool] = None,
kms_key_arn: Optional[str] = None,
cache_attributes: Optional[NfsFileShareCacheAttributesArgs] = None,
audit_destination_arn: Optional[str] = None,
notification_policy: Optional[str] = None,
object_acl: Optional[str] = None,
read_only: Optional[bool] = None,
requester_pays: Optional[bool] = None,
bucket_region: Optional[str] = None,
squash: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
vpc_endpoint_dns_name: Optional[str] = None)
func NewNfsFileShare(ctx *Context, name string, args NfsFileShareArgs, opts ...ResourceOption) (*NfsFileShare, error)
public NfsFileShare(string name, NfsFileShareArgs args, CustomResourceOptions? opts = null)
public NfsFileShare(String name, NfsFileShareArgs args)
public NfsFileShare(String name, NfsFileShareArgs args, CustomResourceOptions options)
type: aws:storagegateway:NfsFileShare
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NfsFileShareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NfsFileShareArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NfsFileShareArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NfsFileShareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NfsFileShareArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var nfsFileShareResource = new Aws.StorageGateway.NfsFileShare("nfsFileShareResource", new()
{
GatewayArn = "string",
RoleArn = "string",
LocationArn = "string",
ClientLists = new[]
{
"string",
},
FileShareName = "string",
NfsFileShareDefaults = new Aws.StorageGateway.Inputs.NfsFileShareNfsFileShareDefaultsArgs
{
DirectoryMode = "string",
FileMode = "string",
GroupId = "string",
OwnerId = "string",
},
DefaultStorageClass = "string",
GuessMimeTypeEnabled = false,
KmsEncrypted = false,
KmsKeyArn = "string",
CacheAttributes = new Aws.StorageGateway.Inputs.NfsFileShareCacheAttributesArgs
{
CacheStaleTimeoutInSeconds = 0,
},
AuditDestinationArn = "string",
NotificationPolicy = "string",
ObjectAcl = "string",
ReadOnly = false,
RequesterPays = false,
BucketRegion = "string",
Squash = "string",
Tags =
{
{ "string", "string" },
},
VpcEndpointDnsName = "string",
});
example, err := storagegateway.NewNfsFileShare(ctx, "nfsFileShareResource", &storagegateway.NfsFileShareArgs{
GatewayArn: pulumi.String("string"),
RoleArn: pulumi.String("string"),
LocationArn: pulumi.String("string"),
ClientLists: pulumi.StringArray{
pulumi.String("string"),
},
FileShareName: pulumi.String("string"),
NfsFileShareDefaults: &storagegateway.NfsFileShareNfsFileShareDefaultsArgs{
DirectoryMode: pulumi.String("string"),
FileMode: pulumi.String("string"),
GroupId: pulumi.String("string"),
OwnerId: pulumi.String("string"),
},
DefaultStorageClass: pulumi.String("string"),
GuessMimeTypeEnabled: pulumi.Bool(false),
KmsEncrypted: pulumi.Bool(false),
KmsKeyArn: pulumi.String("string"),
CacheAttributes: &storagegateway.NfsFileShareCacheAttributesArgs{
CacheStaleTimeoutInSeconds: pulumi.Int(0),
},
AuditDestinationArn: pulumi.String("string"),
NotificationPolicy: pulumi.String("string"),
ObjectAcl: pulumi.String("string"),
ReadOnly: pulumi.Bool(false),
RequesterPays: pulumi.Bool(false),
BucketRegion: pulumi.String("string"),
Squash: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
VpcEndpointDnsName: pulumi.String("string"),
})
var nfsFileShareResource = new NfsFileShare("nfsFileShareResource", NfsFileShareArgs.builder()
.gatewayArn("string")
.roleArn("string")
.locationArn("string")
.clientLists("string")
.fileShareName("string")
.nfsFileShareDefaults(NfsFileShareNfsFileShareDefaultsArgs.builder()
.directoryMode("string")
.fileMode("string")
.groupId("string")
.ownerId("string")
.build())
.defaultStorageClass("string")
.guessMimeTypeEnabled(false)
.kmsEncrypted(false)
.kmsKeyArn("string")
.cacheAttributes(NfsFileShareCacheAttributesArgs.builder()
.cacheStaleTimeoutInSeconds(0)
.build())
.auditDestinationArn("string")
.notificationPolicy("string")
.objectAcl("string")
.readOnly(false)
.requesterPays(false)
.bucketRegion("string")
.squash("string")
.tags(Map.of("string", "string"))
.vpcEndpointDnsName("string")
.build());
nfs_file_share_resource = aws.storagegateway.NfsFileShare("nfsFileShareResource",
gateway_arn="string",
role_arn="string",
location_arn="string",
client_lists=["string"],
file_share_name="string",
nfs_file_share_defaults={
"directoryMode": "string",
"fileMode": "string",
"groupId": "string",
"ownerId": "string",
},
default_storage_class="string",
guess_mime_type_enabled=False,
kms_encrypted=False,
kms_key_arn="string",
cache_attributes={
"cacheStaleTimeoutInSeconds": 0,
},
audit_destination_arn="string",
notification_policy="string",
object_acl="string",
read_only=False,
requester_pays=False,
bucket_region="string",
squash="string",
tags={
"string": "string",
},
vpc_endpoint_dns_name="string")
const nfsFileShareResource = new aws.storagegateway.NfsFileShare("nfsFileShareResource", {
gatewayArn: "string",
roleArn: "string",
locationArn: "string",
clientLists: ["string"],
fileShareName: "string",
nfsFileShareDefaults: {
directoryMode: "string",
fileMode: "string",
groupId: "string",
ownerId: "string",
},
defaultStorageClass: "string",
guessMimeTypeEnabled: false,
kmsEncrypted: false,
kmsKeyArn: "string",
cacheAttributes: {
cacheStaleTimeoutInSeconds: 0,
},
auditDestinationArn: "string",
notificationPolicy: "string",
objectAcl: "string",
readOnly: false,
requesterPays: false,
bucketRegion: "string",
squash: "string",
tags: {
string: "string",
},
vpcEndpointDnsName: "string",
});
type: aws:storagegateway:NfsFileShare
properties:
auditDestinationArn: string
bucketRegion: string
cacheAttributes:
cacheStaleTimeoutInSeconds: 0
clientLists:
- string
defaultStorageClass: string
fileShareName: string
gatewayArn: string
guessMimeTypeEnabled: false
kmsEncrypted: false
kmsKeyArn: string
locationArn: string
nfsFileShareDefaults:
directoryMode: string
fileMode: string
groupId: string
ownerId: string
notificationPolicy: string
objectAcl: string
readOnly: false
requesterPays: false
roleArn: string
squash: string
tags:
string: string
vpcEndpointDnsName: string
NfsFileShare Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The NfsFileShare resource accepts the following input properties:
- Client
Lists List<string> - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - Gateway
Arn string - Amazon Resource Name (ARN) of the file gateway.
- Location
Arn string - The ARN of the backed storage used for storing file data.
- Role
Arn string - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- Audit
Destination stringArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- Bucket
Region string - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - Cache
Attributes NfsFile Share Cache Attributes - Refresh cache information. see Cache Attributes for more details.
- Default
Storage stringClass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - string
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - Guess
Mime boolType Enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - Kms
Encrypted bool - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - Kms
Key stringArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - Nfs
File Share Nfs File Share Defaults - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- Notification
Policy string - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - Object
Acl string - Access Control List permission for S3 objects. Defaults to
private
. - Read
Only bool - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - Requester
Pays bool - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - Squash string
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - Dictionary<string, string>
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Vpc
Endpoint stringDns Name - The DNS name of the VPC endpoint for S3 PrivateLink.
- Client
Lists []string - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - Gateway
Arn string - Amazon Resource Name (ARN) of the file gateway.
- Location
Arn string - The ARN of the backed storage used for storing file data.
- Role
Arn string - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- Audit
Destination stringArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- Bucket
Region string - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - Cache
Attributes NfsFile Share Cache Attributes Args - Refresh cache information. see Cache Attributes for more details.
- Default
Storage stringClass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - string
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - Guess
Mime boolType Enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - Kms
Encrypted bool - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - Kms
Key stringArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - Nfs
File Share Nfs File Share Defaults Args - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- Notification
Policy string - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - Object
Acl string - Access Control List permission for S3 objects. Defaults to
private
. - Read
Only bool - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - Requester
Pays bool - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - Squash string
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - map[string]string
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Vpc
Endpoint stringDns Name - The DNS name of the VPC endpoint for S3 PrivateLink.
- client
Lists List<String> - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - gateway
Arn String - Amazon Resource Name (ARN) of the file gateway.
- location
Arn String - The ARN of the backed storage used for storing file data.
- role
Arn String - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- audit
Destination StringArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- bucket
Region String - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - cache
Attributes NfsFile Share Cache Attributes - Refresh cache information. see Cache Attributes for more details.
- default
Storage StringClass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - String
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - guess
Mime BooleanType Enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - kms
Encrypted Boolean - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - kms
Key StringArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - Nfs
File Share Nfs File Share Defaults - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- notification
Policy String - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - object
Acl String - Access Control List permission for S3 objects. Defaults to
private
. - read
Only Boolean - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - requester
Pays Boolean - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - squash String
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - Map<String,String>
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - vpc
Endpoint StringDns Name - The DNS name of the VPC endpoint for S3 PrivateLink.
- client
Lists string[] - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - gateway
Arn string - Amazon Resource Name (ARN) of the file gateway.
- location
Arn string - The ARN of the backed storage used for storing file data.
- role
Arn string - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- audit
Destination stringArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- bucket
Region string - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - cache
Attributes NfsFile Share Cache Attributes - Refresh cache information. see Cache Attributes for more details.
- default
Storage stringClass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - string
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - guess
Mime booleanType Enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - kms
Encrypted boolean - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - kms
Key stringArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - Nfs
File Share Nfs File Share Defaults - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- notification
Policy string - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - object
Acl string - Access Control List permission for S3 objects. Defaults to
private
. - read
Only boolean - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - requester
Pays boolean - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - squash string
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - {[key: string]: string}
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - vpc
Endpoint stringDns Name - The DNS name of the VPC endpoint for S3 PrivateLink.
- client_
lists Sequence[str] - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - gateway_
arn str - Amazon Resource Name (ARN) of the file gateway.
- location_
arn str - The ARN of the backed storage used for storing file data.
- role_
arn str - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- audit_
destination_ strarn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- bucket_
region str - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - cache_
attributes NfsFile Share Cache Attributes Args - Refresh cache information. see Cache Attributes for more details.
- default_
storage_ strclass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - str
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - guess_
mime_ booltype_ enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - kms_
encrypted bool - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - kms_
key_ strarn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - Nfs
File Share Nfs File Share Defaults Args - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- notification_
policy str - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - object_
acl str - Access Control List permission for S3 objects. Defaults to
private
. - read_
only bool - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - requester_
pays bool - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - squash str
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - Mapping[str, str]
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - vpc_
endpoint_ strdns_ name - The DNS name of the VPC endpoint for S3 PrivateLink.
- client
Lists List<String> - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - gateway
Arn String - Amazon Resource Name (ARN) of the file gateway.
- location
Arn String - The ARN of the backed storage used for storing file data.
- role
Arn String - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- audit
Destination StringArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- bucket
Region String - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - cache
Attributes Property Map - Refresh cache information. see Cache Attributes for more details.
- default
Storage StringClass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - String
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - guess
Mime BooleanType Enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - kms
Encrypted Boolean - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - kms
Key StringArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - Property Map
- Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- notification
Policy String - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - object
Acl String - Access Control List permission for S3 objects. Defaults to
private
. - read
Only Boolean - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - requester
Pays Boolean - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - squash String
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - Map<String>
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - vpc
Endpoint StringDns Name - The DNS name of the VPC endpoint for S3 PrivateLink.
Outputs
All input properties are implicitly available as output properties. Additionally, the NfsFileShare resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of the NFS File Share.
- string
- ID of the NFS File Share.
- Id string
- The provider-assigned unique ID for this managed resource.
- Path string
- File share path used by the NFS client to identify the mount point.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- Amazon Resource Name (ARN) of the NFS File Share.
- string
- ID of the NFS File Share.
- Id string
- The provider-assigned unique ID for this managed resource.
- Path string
- File share path used by the NFS client to identify the mount point.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- Amazon Resource Name (ARN) of the NFS File Share.
- String
- ID of the NFS File Share.
- id String
- The provider-assigned unique ID for this managed resource.
- path String
- File share path used by the NFS client to identify the mount point.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- Amazon Resource Name (ARN) of the NFS File Share.
- string
- ID of the NFS File Share.
- id string
- The provider-assigned unique ID for this managed resource.
- path string
- File share path used by the NFS client to identify the mount point.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- Amazon Resource Name (ARN) of the NFS File Share.
- str
- ID of the NFS File Share.
- id str
- The provider-assigned unique ID for this managed resource.
- path str
- File share path used by the NFS client to identify the mount point.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- Amazon Resource Name (ARN) of the NFS File Share.
- String
- ID of the NFS File Share.
- id String
- The provider-assigned unique ID for this managed resource.
- path String
- File share path used by the NFS client to identify the mount point.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing NfsFileShare Resource
Get an existing NfsFileShare resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NfsFileShareState, opts?: CustomResourceOptions): NfsFileShare
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
audit_destination_arn: Optional[str] = None,
bucket_region: Optional[str] = None,
cache_attributes: Optional[NfsFileShareCacheAttributesArgs] = None,
client_lists: Optional[Sequence[str]] = None,
default_storage_class: Optional[str] = None,
file_share_name: Optional[str] = None,
fileshare_id: Optional[str] = None,
gateway_arn: Optional[str] = None,
guess_mime_type_enabled: Optional[bool] = None,
kms_encrypted: Optional[bool] = None,
kms_key_arn: Optional[str] = None,
location_arn: Optional[str] = None,
nfs_file_share_defaults: Optional[NfsFileShareNfsFileShareDefaultsArgs] = None,
notification_policy: Optional[str] = None,
object_acl: Optional[str] = None,
path: Optional[str] = None,
read_only: Optional[bool] = None,
requester_pays: Optional[bool] = None,
role_arn: Optional[str] = None,
squash: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
vpc_endpoint_dns_name: Optional[str] = None) -> NfsFileShare
func GetNfsFileShare(ctx *Context, name string, id IDInput, state *NfsFileShareState, opts ...ResourceOption) (*NfsFileShare, error)
public static NfsFileShare Get(string name, Input<string> id, NfsFileShareState? state, CustomResourceOptions? opts = null)
public static NfsFileShare get(String name, Output<String> id, NfsFileShareState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- Amazon Resource Name (ARN) of the NFS File Share.
- Audit
Destination stringArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- Bucket
Region string - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - Cache
Attributes NfsFile Share Cache Attributes - Refresh cache information. see Cache Attributes for more details.
- Client
Lists List<string> - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - Default
Storage stringClass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - string
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - string
- ID of the NFS File Share.
- Gateway
Arn string - Amazon Resource Name (ARN) of the file gateway.
- Guess
Mime boolType Enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - Kms
Encrypted bool - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - Kms
Key stringArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - Location
Arn string - The ARN of the backed storage used for storing file data.
- Nfs
File Share Nfs File Share Defaults - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- Notification
Policy string - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - Object
Acl string - Access Control List permission for S3 objects. Defaults to
private
. - Path string
- File share path used by the NFS client to identify the mount point.
- Read
Only bool - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - Requester
Pays bool - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - Role
Arn string - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- Squash string
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - Dictionary<string, string>
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Vpc
Endpoint stringDns Name - The DNS name of the VPC endpoint for S3 PrivateLink.
- Arn string
- Amazon Resource Name (ARN) of the NFS File Share.
- Audit
Destination stringArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- Bucket
Region string - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - Cache
Attributes NfsFile Share Cache Attributes Args - Refresh cache information. see Cache Attributes for more details.
- Client
Lists []string - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - Default
Storage stringClass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - string
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - string
- ID of the NFS File Share.
- Gateway
Arn string - Amazon Resource Name (ARN) of the file gateway.
- Guess
Mime boolType Enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - Kms
Encrypted bool - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - Kms
Key stringArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - Location
Arn string - The ARN of the backed storage used for storing file data.
- Nfs
File Share Nfs File Share Defaults Args - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- Notification
Policy string - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - Object
Acl string - Access Control List permission for S3 objects. Defaults to
private
. - Path string
- File share path used by the NFS client to identify the mount point.
- Read
Only bool - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - Requester
Pays bool - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - Role
Arn string - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- Squash string
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - map[string]string
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Vpc
Endpoint stringDns Name - The DNS name of the VPC endpoint for S3 PrivateLink.
- arn String
- Amazon Resource Name (ARN) of the NFS File Share.
- audit
Destination StringArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- bucket
Region String - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - cache
Attributes NfsFile Share Cache Attributes - Refresh cache information. see Cache Attributes for more details.
- client
Lists List<String> - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - default
Storage StringClass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - String
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - String
- ID of the NFS File Share.
- gateway
Arn String - Amazon Resource Name (ARN) of the file gateway.
- guess
Mime BooleanType Enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - kms
Encrypted Boolean - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - kms
Key StringArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - location
Arn String - The ARN of the backed storage used for storing file data.
- Nfs
File Share Nfs File Share Defaults - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- notification
Policy String - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - object
Acl String - Access Control List permission for S3 objects. Defaults to
private
. - path String
- File share path used by the NFS client to identify the mount point.
- read
Only Boolean - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - requester
Pays Boolean - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - role
Arn String - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- squash String
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - Map<String,String>
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vpc
Endpoint StringDns Name - The DNS name of the VPC endpoint for S3 PrivateLink.
- arn string
- Amazon Resource Name (ARN) of the NFS File Share.
- audit
Destination stringArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- bucket
Region string - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - cache
Attributes NfsFile Share Cache Attributes - Refresh cache information. see Cache Attributes for more details.
- client
Lists string[] - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - default
Storage stringClass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - string
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - string
- ID of the NFS File Share.
- gateway
Arn string - Amazon Resource Name (ARN) of the file gateway.
- guess
Mime booleanType Enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - kms
Encrypted boolean - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - kms
Key stringArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - location
Arn string - The ARN of the backed storage used for storing file data.
- Nfs
File Share Nfs File Share Defaults - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- notification
Policy string - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - object
Acl string - Access Control List permission for S3 objects. Defaults to
private
. - path string
- File share path used by the NFS client to identify the mount point.
- read
Only boolean - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - requester
Pays boolean - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - role
Arn string - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- squash string
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - {[key: string]: string}
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vpc
Endpoint stringDns Name - The DNS name of the VPC endpoint for S3 PrivateLink.
- arn str
- Amazon Resource Name (ARN) of the NFS File Share.
- audit_
destination_ strarn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- bucket_
region str - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - cache_
attributes NfsFile Share Cache Attributes Args - Refresh cache information. see Cache Attributes for more details.
- client_
lists Sequence[str] - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - default_
storage_ strclass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - str
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - str
- ID of the NFS File Share.
- gateway_
arn str - Amazon Resource Name (ARN) of the file gateway.
- guess_
mime_ booltype_ enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - kms_
encrypted bool - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - kms_
key_ strarn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - location_
arn str - The ARN of the backed storage used for storing file data.
- Nfs
File Share Nfs File Share Defaults Args - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- notification_
policy str - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - object_
acl str - Access Control List permission for S3 objects. Defaults to
private
. - path str
- File share path used by the NFS client to identify the mount point.
- read_
only bool - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - requester_
pays bool - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - role_
arn str - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- squash str
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - Mapping[str, str]
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vpc_
endpoint_ strdns_ name - The DNS name of the VPC endpoint for S3 PrivateLink.
- arn String
- Amazon Resource Name (ARN) of the NFS File Share.
- audit
Destination StringArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
- bucket
Region String - The region of the S3 bucket used by the file share. Required when specifying
vpc_endpoint_dns_name
. - cache
Attributes Property Map - Refresh cache information. see Cache Attributes for more details.
- client
Lists List<String> - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to
["0.0.0.0/0"]
to not limit access. Minimum 1 item. Maximum 100 items. - default
Storage StringClass - The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to
S3_STANDARD
. - String
- The name of the file share. Must be set if an S3 prefix name is set in
location_arn
. - String
- ID of the NFS File Share.
- gateway
Arn String - Amazon Resource Name (ARN) of the file gateway.
- guess
Mime BooleanType Enabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to
true
. - kms
Encrypted Boolean - Boolean value if
true
to use Amazon S3 server side encryption with your own AWS KMS key, orfalse
to use a key managed by Amazon S3. Defaults tofalse
. - kms
Key StringArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when
kms_encrypted
is true. - location
Arn String - The ARN of the backed storage used for storing file data.
- Property Map
- Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
- notification
Policy String - The notification policy of the file share. For more information see the AWS Documentation. Default value is
{}
. - object
Acl String - Access Control List permission for S3 objects. Defaults to
private
. - path String
- File share path used by the NFS client to identify the mount point.
- read
Only Boolean - Boolean to indicate write status of file share. File share does not accept writes if
true
. Defaults tofalse
. - requester
Pays Boolean - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true
if you want the requester to pay instead of the bucket owner. Defaults tofalse
. - role
Arn String - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
- squash String
- Maps a user to anonymous user. Defaults to
RootSquash
. Valid values:RootSquash
(only root is mapped to anonymous user),NoSquash
(no one is mapped to anonymous user),AllSquash
(everyone is mapped to anonymous user) - Map<String>
- Key-value map of resource tags. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vpc
Endpoint StringDns Name - The DNS name of the VPC endpoint for S3 PrivateLink.
Supporting Types
NfsFileShareCacheAttributes, NfsFileShareCacheAttributesArgs
- Cache
Stale intTimeout In Seconds - Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
- Cache
Stale intTimeout In Seconds - Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
- cache
Stale IntegerTimeout In Seconds - Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
- cache
Stale numberTimeout In Seconds - Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
- cache_
stale_ inttimeout_ in_ seconds - Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
- cache
Stale NumberTimeout In Seconds - Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
NfsFileShareNfsFileShareDefaults, NfsFileShareNfsFileShareDefaultsArgs
- Directory
Mode string - The Unix directory mode in the string form "nnnn". Defaults to
"0777"
. - File
Mode string - The Unix file mode in the string form "nnnn". Defaults to
"0666"
. - Group
Id string - The default group ID for the file share (unless the files have another group ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
. - Owner
Id string - The default owner ID for the file share (unless the files have another owner ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
.
- Directory
Mode string - The Unix directory mode in the string form "nnnn". Defaults to
"0777"
. - File
Mode string - The Unix file mode in the string form "nnnn". Defaults to
"0666"
. - Group
Id string - The default group ID for the file share (unless the files have another group ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
. - Owner
Id string - The default owner ID for the file share (unless the files have another owner ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
.
- directory
Mode String - The Unix directory mode in the string form "nnnn". Defaults to
"0777"
. - file
Mode String - The Unix file mode in the string form "nnnn". Defaults to
"0666"
. - group
Id String - The default group ID for the file share (unless the files have another group ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
. - owner
Id String - The default owner ID for the file share (unless the files have another owner ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
.
- directory
Mode string - The Unix directory mode in the string form "nnnn". Defaults to
"0777"
. - file
Mode string - The Unix file mode in the string form "nnnn". Defaults to
"0666"
. - group
Id string - The default group ID for the file share (unless the files have another group ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
. - owner
Id string - The default owner ID for the file share (unless the files have another owner ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
.
- directory_
mode str - The Unix directory mode in the string form "nnnn". Defaults to
"0777"
. - file_
mode str - The Unix file mode in the string form "nnnn". Defaults to
"0666"
. - group_
id str - The default group ID for the file share (unless the files have another group ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
. - owner_
id str - The default owner ID for the file share (unless the files have another owner ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
.
- directory
Mode String - The Unix directory mode in the string form "nnnn". Defaults to
"0777"
. - file
Mode String - The Unix file mode in the string form "nnnn". Defaults to
"0666"
. - group
Id String - The default group ID for the file share (unless the files have another group ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
. - owner
Id String - The default owner ID for the file share (unless the files have another owner ID specified). Defaults to
65534
(nfsnobody
). Valid values:0
through4294967294
.
Import
Using pulumi import
, import aws_storagegateway_nfs_file_share
using the NFS File Share Amazon Resource Name (ARN). For example:
$ pulumi import aws:storagegateway/nfsFileShare:NfsFileShare example arn:aws:storagegateway:us-east-1:123456789012:share/share-12345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.