package awsfsx // The Microsoft Windows configuration for the file system that's being created. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // windowsConfigurationProperty := &WindowsConfigurationProperty{ // ThroughputCapacity: jsii.Number(123), // // // the properties below are optional // ActiveDirectoryId: jsii.String("activeDirectoryId"), // Aliases: []*string{ // jsii.String("aliases"), // }, // AuditLogConfiguration: &AuditLogConfigurationProperty{ // FileAccessAuditLogLevel: jsii.String("fileAccessAuditLogLevel"), // FileShareAccessAuditLogLevel: jsii.String("fileShareAccessAuditLogLevel"), // // // the properties below are optional // AuditLogDestination: jsii.String("auditLogDestination"), // }, // AutomaticBackupRetentionDays: jsii.Number(123), // CopyTagsToBackups: jsii.Boolean(false), // DailyAutomaticBackupStartTime: jsii.String("dailyAutomaticBackupStartTime"), // DeploymentType: jsii.String("deploymentType"), // PreferredSubnetId: jsii.String("preferredSubnetId"), // SelfManagedActiveDirectoryConfiguration: &SelfManagedActiveDirectoryConfigurationProperty{ // DnsIps: []*string{ // jsii.String("dnsIps"), // }, // DomainName: jsii.String("domainName"), // FileSystemAdministratorsGroup: jsii.String("fileSystemAdministratorsGroup"), // OrganizationalUnitDistinguishedName: jsii.String("organizationalUnitDistinguishedName"), // Password: jsii.String("password"), // UserName: jsii.String("userName"), // }, // WeeklyMaintenanceStartTime: jsii.String("weeklyMaintenanceStartTime"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html // type CfnFileSystem_WindowsConfigurationProperty struct { // Sets the throughput capacity of an Amazon FSx file system, measured in megabytes per second (MB/s), in 2 to the *n* th increments, between 2^3 (8) and 2^11 (2048). // // > To increase storage capacity, a file system must have a minimum throughput capacity of 16 MB/s. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-throughputcapacity // ThroughputCapacity *float64 `field:"required" json:"throughputCapacity" yaml:"throughputCapacity"` // The ID for an existing AWS Managed Microsoft Active Directory (AD) instance that the file system should join when it's created. // // Required if you are joining the file system to an existing AWS Managed Microsoft AD. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-activedirectoryid // ActiveDirectoryId *string `field:"optional" json:"activeDirectoryId" yaml:"activeDirectoryId"` // An array of one or more DNS alias names that you want to associate with the Amazon FSx file system. // // Aliases allow you to use existing DNS names to access the data in your Amazon FSx file system. You can associate up to 50 aliases with a file system at any time. // // For more information, see [Working with DNS Aliases](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html) and [Walkthrough 5: Using DNS aliases to access your file system](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/walkthrough05-file-system-custom-CNAME.html) , including additional steps you must take to be able to access your file system using a DNS alias. // // An alias name has to meet the following requirements: // // - Formatted as a fully-qualified domain name (FQDN), `hostname.domain` , for example, `accounting.example.com` . // - Can contain alphanumeric characters, the underscore (_), and the hyphen (-). // - Cannot start or end with a hyphen. // - Can start with a numeric. // // For DNS alias names, Amazon FSx stores alphabetical characters as lowercase letters (a-z), regardless of how you specify them: as uppercase letters, lowercase letters, or the corresponding letters in escape codes. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-aliases // Aliases *[]*string `field:"optional" json:"aliases" yaml:"aliases"` // The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-auditlogconfiguration // AuditLogConfiguration interface{} `field:"optional" json:"auditLogConfiguration" yaml:"auditLogConfiguration"` // The number of days to retain automatic backups. // // Setting this property to `0` disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is `30` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-automaticbackupretentiondays // AutomaticBackupRetentionDays *float64 `field:"optional" json:"automaticBackupRetentionDays" yaml:"automaticBackupRetentionDays"` // A boolean flag indicating whether tags for the file system should be copied to backups. // // This value defaults to false. If it's set to true, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-copytagstobackups // CopyTagsToBackups interface{} `field:"optional" json:"copyTagsToBackups" yaml:"copyTagsToBackups"` // A recurring daily time, in the format `HH:MM` . // // `HH` is the zero-padded hour of the day (0-23), and `MM` is the zero-padded minute of the hour. For example, `05:00` specifies 5 AM daily. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-dailyautomaticbackupstarttime // DailyAutomaticBackupStartTime *string `field:"optional" json:"dailyAutomaticBackupStartTime" yaml:"dailyAutomaticBackupStartTime"` // Specifies the file system deployment type, valid values are the following:. // // - `MULTI_AZ_1` - Deploys a high availability file system that is configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. You can only deploy a Multi-AZ file system in AWS Regions that have a minimum of three Availability Zones. Also supports HDD storage type // - `SINGLE_AZ_1` - (Default) Choose to deploy a file system that is configured for single AZ redundancy. // - `SINGLE_AZ_2` - The latest generation Single AZ file system. Specifies a file system that is configured for single AZ redundancy and supports HDD storage type. // // For more information, see [Availability and Durability: Single-AZ and Multi-AZ File Systems](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-deploymenttype // DeploymentType *string `field:"optional" json:"deploymentType" yaml:"deploymentType"` // Required when `DeploymentType` is set to `MULTI_AZ_1` . // // This specifies the subnet in which you want the preferred file server to be located. For in- AWS applications, we recommend that you launch your clients in the same availability zone as your preferred file server to reduce cross-availability zone data transfer costs and minimize latency. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-preferredsubnetid // PreferredSubnetId *string `field:"optional" json:"preferredSubnetId" yaml:"preferredSubnetId"` // The configuration that Amazon FSx uses to join a FSx for Windows File Server file system or an FSx for ONTAP storage virtual machine (SVM) to a self-managed (including on-premises) Microsoft Active Directory (AD) directory. // // For more information, see [Using Amazon FSx for Windows with your self-managed Microsoft Active Directory](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/self-managed-AD.html) or [Managing FSx for ONTAP SVMs](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration // SelfManagedActiveDirectoryConfiguration interface{} `field:"optional" json:"selfManagedActiveDirectoryConfiguration" yaml:"selfManagedActiveDirectoryConfiguration"` // A recurring weekly time, in the format `D:HH:MM` . // // `D` is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see [the ISO-8601 spec as described on Wikipedia](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/ISO_week_date) . // // `HH` is the zero-padded hour of the day (0-23), and `MM` is the zero-padded minute of the hour. // // For example, `1:05:00` specifies maintenance at 5 AM Monday. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-weeklymaintenancestarttime // WeeklyMaintenanceStartTime *string `field:"optional" json:"weeklyMaintenanceStartTime" yaml:"weeklyMaintenanceStartTime"` }