#[non_exhaustive]pub struct DefaultWorkspaceCreationProperties {
pub enable_work_docs: Option<bool>,
pub enable_internet_access: Option<bool>,
pub default_ou: Option<String>,
pub custom_security_group_id: Option<String>,
pub user_enabled_as_local_administrator: Option<bool>,
pub enable_maintenance_mode: Option<bool>,
}
Expand description
Describes the default values that are used to create WorkSpaces. For more information, see Update Directory Details for Your WorkSpaces.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enable_work_docs: Option<bool>
Specifies whether the directory is enabled for Amazon WorkDocs.
enable_internet_access: Option<bool>
Specifies whether to automatically assign an Elastic public IP address to WorkSpaces in this directory by default. If enabled, the Elastic public IP address allows outbound internet access from your WorkSpaces when you’re using an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more information, see Configure a VPC for Amazon WorkSpaces.
default_ou: Option<String>
The organizational unit (OU) in the directory for the WorkSpace machine accounts.
custom_security_group_id: Option<String>
The identifier of the default security group to apply to WorkSpaces when they are created. For more information, see Security Groups for Your WorkSpaces.
user_enabled_as_local_administrator: Option<bool>
Specifies whether WorkSpace users are local administrators on their WorkSpaces.
enable_maintenance_mode: Option<bool>
Specifies whether maintenance mode is enabled for WorkSpaces. For more information, see WorkSpace Maintenance.
Implementations
sourceimpl DefaultWorkspaceCreationProperties
impl DefaultWorkspaceCreationProperties
sourcepub fn enable_work_docs(&self) -> Option<bool>
pub fn enable_work_docs(&self) -> Option<bool>
Specifies whether the directory is enabled for Amazon WorkDocs.
sourcepub fn enable_internet_access(&self) -> Option<bool>
pub fn enable_internet_access(&self) -> Option<bool>
Specifies whether to automatically assign an Elastic public IP address to WorkSpaces in this directory by default. If enabled, the Elastic public IP address allows outbound internet access from your WorkSpaces when you’re using an internet gateway in the Amazon VPC in which your WorkSpaces are located. If you're using a Network Address Translation (NAT) gateway for outbound internet access from your VPC, or if your WorkSpaces are in public subnets and you manually assign them Elastic IP addresses, you should disable this setting. This setting applies to new WorkSpaces that you launch or to existing WorkSpaces that you rebuild. For more information, see Configure a VPC for Amazon WorkSpaces.
sourcepub fn default_ou(&self) -> Option<&str>
pub fn default_ou(&self) -> Option<&str>
The organizational unit (OU) in the directory for the WorkSpace machine accounts.
sourcepub fn custom_security_group_id(&self) -> Option<&str>
pub fn custom_security_group_id(&self) -> Option<&str>
The identifier of the default security group to apply to WorkSpaces when they are created. For more information, see Security Groups for Your WorkSpaces.
sourcepub fn user_enabled_as_local_administrator(&self) -> Option<bool>
pub fn user_enabled_as_local_administrator(&self) -> Option<bool>
Specifies whether WorkSpace users are local administrators on their WorkSpaces.
sourcepub fn enable_maintenance_mode(&self) -> Option<bool>
pub fn enable_maintenance_mode(&self) -> Option<bool>
Specifies whether maintenance mode is enabled for WorkSpaces. For more information, see WorkSpace Maintenance.
sourceimpl DefaultWorkspaceCreationProperties
impl DefaultWorkspaceCreationProperties
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DefaultWorkspaceCreationProperties
Trait Implementations
sourceimpl Clone for DefaultWorkspaceCreationProperties
impl Clone for DefaultWorkspaceCreationProperties
sourcefn clone(&self) -> DefaultWorkspaceCreationProperties
fn clone(&self) -> DefaultWorkspaceCreationProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<DefaultWorkspaceCreationProperties> for DefaultWorkspaceCreationProperties
impl PartialEq<DefaultWorkspaceCreationProperties> for DefaultWorkspaceCreationProperties
sourcefn eq(&self, other: &DefaultWorkspaceCreationProperties) -> bool
fn eq(&self, other: &DefaultWorkspaceCreationProperties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DefaultWorkspaceCreationProperties) -> bool
fn ne(&self, other: &DefaultWorkspaceCreationProperties) -> bool
This method tests for !=
.
impl StructuralPartialEq for DefaultWorkspaceCreationProperties
Auto Trait Implementations
impl RefUnwindSafe for DefaultWorkspaceCreationProperties
impl Send for DefaultWorkspaceCreationProperties
impl Sync for DefaultWorkspaceCreationProperties
impl Unpin for DefaultWorkspaceCreationProperties
impl UnwindSafe for DefaultWorkspaceCreationProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more