CfnNFSFileShareProps Struct Added in v2.275.0
Properties for defining a CfnNFSFileShare.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_storagegateway as storagegateway } from 'aws-cdk-lib';
const cfnNFSFileShareProps: storagegateway.CfnNFSFileShareProps = {
gatewayArn: 'gatewayArn',
locationArn: 'locationArn',
role: 'role',
// the properties below are optional
auditDestinationArn: 'auditDestinationArn',
bucketRegion: 'bucketRegion',
cacheAttributes: {
cacheStaleTimeoutInSeconds: 123,
},
clientList: ['clientList'],
defaultStorageClass: 'defaultStorageClass',
encryptionType: 'encryptionType',
fileShareName: 'fileShareName',
guessMimeTypeEnabled: false,
kmsEncrypted: false,
kmsKey: 'kmsKey',
nfsFileShareDefaults: {
directoryMode: 'directoryMode',
fileMode: 'fileMode',
groupId: 123,
ownerId: 123,
},
notificationPolicy: 'notificationPolicy',
objectAcl: 'objectAcl',
readOnly: false,
requesterPays: false,
squash: 'squash',
tags: [{
key: 'key',
value: 'value',
}],
vpcEndpointDnsName: 'vpcEndpointDnsName',
};
Properties
auditDestinationArnoptionalstringaudit_destination_arnoptionalstrauditDestinationArnoptionalStringAuditDestinationArnoptionalstringAuditDestinationArnoptional*string#Removing this property from a template detaches audit logging: the update sends the empty string, which the service treats as the reset.
bucketRegionoptionalstringbucket_regionoptionalstrbucketRegionoptionalStringBucketRegionoptionalstringBucketRegionoptional*string#cacheAttributesoptionalIResolvable | CfnNFSFileShare.CacheAttributesPropertycache_attributesoptionaltyping.Union[IResolvable, CacheAttributesProperty]cacheAttributesoptionalIResolvableCacheAttributesoptionalIResolvableCacheAttributesoptionalinterface{}#Removing this property from a template leaves the share's current value: the service documents no value that resets it.
clientListoptionalstring[]client_listoptionaltyping.List[str]clientListoptionalList<String>ClientListoptionalstring[]ClientListoptional*[]*string#Removing this property from a template leaves the share's current value: the service documents no value that resets it.
defaultStorageClassoptionalstringdefault_storage_classoptionalstrdefaultStorageClassoptionalStringDefaultStorageClassoptionalstringDefaultStorageClassoptional*string#The service accepts S3_STANDARD, S3_INTELLIGENT_TIERING, S3_STANDARD_IA and S3_ONEZONE_IA; it is a length-bounded string in the API model rather than an enumeration.
encryptionTypeoptionalstringencryption_typeoptionalstrencryptionTypeoptionalStringEncryptionTypeoptionalstringEncryptionTypeoptional*string#guessMimeTypeEnabledoptionalboolean | IResolvableguess_mime_type_enabledoptionaltyping.Union[bool, IResolvable]guessMimeTypeEnabledoptionalBooleanGuessMimeTypeEnabledoptionalboolGuessMimeTypeEnabledoptionalinterface{}#kmsEncryptedoptionalboolean | IResolvablekms_encryptedoptionaltyping.Union[bool, IResolvable]kmsEncryptedoptionalBooleanKmsEncryptedoptionalboolKmsEncryptedoptionalinterface{}#true selects KMS encryption. Retained because it remains readable and settable.
kmsKeyoptionalstringkms_keyoptionalstrkmsKeyoptionalStringKmsKeyoptionalstringKmsKeyoptional*string#Removing this property from a template leaves the share's current value: the service documents no value that resets it.
notificationPolicyoptionalstringnotification_policyoptionalstrnotificationPolicyoptionalStringNotificationPolicyoptionalstringNotificationPolicyoptional*string#objectAcloptionalstringobject_acloptionalstrobjectAcloptionalStringObjectAcloptionalstringObjectAcloptional*string#readOnlyoptionalboolean | IResolvableread_onlyoptionaltyping.Union[bool, IResolvable]readOnlyoptionalBooleanReadOnlyoptionalboolReadOnlyoptionalinterface{}#requesterPaysoptionalboolean | IResolvablerequester_paysoptionaltyping.Union[bool, IResolvable]requesterPaysoptionalBooleanRequesterPaysoptionalboolRequesterPaysoptionalinterface{}#The service accepts RootSquash, NoSquash and AllSquash; it is a length-bounded string in the API model rather than an enumeration.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#vpcEndpointDnsNameoptionalstringvpc_endpoint_dns_nameoptionalstrvpcEndpointDnsNameoptionalStringVpcEndpointDnsNameoptionalstringVpcEndpointDnsNameoptional*string#