CfnStorageVirtualMachineProps
- class aws_cdk.aws_fsx.CfnStorageVirtualMachineProps(*, file_system_id, name, active_directory_configuration=None, root_volume_security_style=None, svm_admin_password=None, tags=None)
Bases:
object
Properties for defining a
CfnStorageVirtualMachine
.- Parameters:
file_system_id (
str
) – Specifies the FSx for ONTAP file system on which to create the SVM.name (
str
) – The name of the SVM.active_directory_configuration (
Union
[IResolvable
,ActiveDirectoryConfigurationProperty
,Dict
[str
,Any
],None
]) – Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.root_volume_security_style (
Optional
[str
]) – The security style of the root volume of the SVM. Specify one of the following values:. -UNIX
if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account. -NTFS
if the file system is managed by a Microsoft Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Microsoft Windows user as the service account. -MIXED
This is an advanced setting. For more information, see Volume security style in the Amazon FSx for NetApp ONTAP User Guide.svm_admin_password (
Optional
[str
]) – Specifies the password to use when logging on to the SVM using a secure shell (SSH) connection to the SVM’s management endpoint. Doing so enables you to manage the SVM using the NetApp ONTAP CLI or REST API. If you do not specify a password, you can still use the file system’sfsxadmin
user to manage the SVM. For more information, see Managing SVMs using the NetApp ONTAP CLI in the FSx for ONTAP User Guide .tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – A list ofTag
values, with a maximum of 50 elements.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_fsx as fsx cfn_storage_virtual_machine_props = fsx.CfnStorageVirtualMachineProps( file_system_id="fileSystemId", name="name", # the properties below are optional active_directory_configuration=fsx.CfnStorageVirtualMachine.ActiveDirectoryConfigurationProperty( net_bios_name="netBiosName", self_managed_active_directory_configuration=fsx.CfnStorageVirtualMachine.SelfManagedActiveDirectoryConfigurationProperty( dns_ips=["dnsIps"], domain_name="domainName", file_system_administrators_group="fileSystemAdministratorsGroup", organizational_unit_distinguished_name="organizationalUnitDistinguishedName", password="password", user_name="userName" ) ), root_volume_security_style="rootVolumeSecurityStyle", svm_admin_password="svmAdminPassword", tags=[CfnTag( key="key", value="value" )] )
Attributes
- active_directory_configuration
Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.
- file_system_id
Specifies the FSx for ONTAP file system on which to create the SVM.
- name
The name of the SVM.
- root_volume_security_style
.
UNIX
if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.NTFS
if the file system is managed by a Microsoft Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Microsoft Windows user as the service account.MIXED
This is an advanced setting. For more information, see Volume security style in the Amazon FSx for NetApp ONTAP User Guide.
- See:
- Type:
The security style of the root volume of the SVM. Specify one of the following values
- svm_admin_password
Specifies the password to use when logging on to the SVM using a secure shell (SSH) connection to the SVM’s management endpoint.
Doing so enables you to manage the SVM using the NetApp ONTAP CLI or REST API. If you do not specify a password, you can still use the file system’s
fsxadmin
user to manage the SVM. For more information, see Managing SVMs using the NetApp ONTAP CLI in the FSx for ONTAP User Guide .
- tags
A list of
Tag
values, with a maximum of 50 elements.