[][src]Struct rusoto_ds::CreateDirectoryRequest

pub struct CreateDirectoryRequest {
    pub description: Option<String>,
    pub name: String,
    pub password: String,
    pub short_name: Option<String>,
    pub size: String,
    pub tags: Option<Vec<Tag>>,
    pub vpc_settings: Option<DirectoryVpcSettings>,
}

Contains the inputs for the CreateDirectory operation.

Fields

description: Option<String>

A description for the directory.

name: String

The fully qualified name for the directory, such as corp.example.com.

password: String

The password for the directory administrator. The directory creation process creates a directory administrator account with the user name Administrator and this password.

If you need to change the password for the administrator account, you can use the ResetUserPassword API call.

The regex pattern for this string is made up of the following conditions:

  • Length (?=^.{8,64}$) – Must be between 8 and 64 characters

AND any 3 of the following password complexity rules required by Active Directory:

  • Numbers and upper case and lowercase (?=.*\d)(?=.*[A-Z])(?=.*[a-z])

  • Numbers and special characters and lower case (?=.*\d)(?=.*[^A-Za-z0-9\s])(?=.*[a-z])

  • Special characters and upper case and lower case (?=.*[^A-Za-z0-9\s])(?=.*[A-Z])(?=.*[a-z])

  • Numbers and upper case and special characters (?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9\s])

For additional information about how Active Directory passwords are enforced, see Password must meet complexity requirements on the Microsoft website.

short_name: Option<String>

The NetBIOS name of the directory, such as CORP.

size: String

The size of the directory.

tags: Option<Vec<Tag>>

The tags to be assigned to the Simple AD directory.

vpc_settings: Option<DirectoryVpcSettings>

A DirectoryVpcSettings object that contains additional information for the operation.

Trait Implementations

impl Clone for CreateDirectoryRequest[src]

impl Debug for CreateDirectoryRequest[src]

impl Default for CreateDirectoryRequest[src]

impl PartialEq<CreateDirectoryRequest> for CreateDirectoryRequest[src]

impl Serialize for CreateDirectoryRequest[src]

impl StructuralPartialEq for CreateDirectoryRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.