Struct aws_sdk_nimble::types::LaunchProfileInitialization
source · #[non_exhaustive]pub struct LaunchProfileInitialization {
pub active_directory: Option<LaunchProfileInitializationActiveDirectory>,
pub ec2_security_group_ids: Option<Vec<String>>,
pub launch_profile_id: Option<String>,
pub launch_profile_protocol_version: Option<String>,
pub launch_purpose: Option<String>,
pub name: Option<String>,
pub platform: Option<LaunchProfilePlatform>,
pub system_initialization_scripts: Option<Vec<LaunchProfileInitializationScript>>,
pub user_initialization_scripts: Option<Vec<LaunchProfileInitializationScript>>,
}Expand description
A launch profile initialization contains information required for a workstation or server to connect to a launch profile.
This includes scripts, endpoints, security groups, subnets, and other configuration.
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.active_directory: Option<LaunchProfileInitializationActiveDirectory>A LaunchProfileInitializationActiveDirectory resource.
ec2_security_group_ids: Option<Vec<String>>The EC2 security groups that control access to the studio component.
launch_profile_id: Option<String>The ID of the launch profile used to control access from the streaming session.
launch_profile_protocol_version: Option<String>The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
launch_purpose: Option<String>The launch purpose.
name: Option<String>The name for the launch profile.
platform: Option<LaunchProfilePlatform>The platform of the launch platform, either Windows or Linux.
system_initialization_scripts: Option<Vec<LaunchProfileInitializationScript>>The system initializtion scripts.
user_initialization_scripts: Option<Vec<LaunchProfileInitializationScript>>The user initializtion scripts.
Implementations§
source§impl LaunchProfileInitialization
impl LaunchProfileInitialization
sourcepub fn active_directory(
&self,
) -> Option<&LaunchProfileInitializationActiveDirectory>
pub fn active_directory( &self, ) -> Option<&LaunchProfileInitializationActiveDirectory>
A LaunchProfileInitializationActiveDirectory resource.
sourcepub fn ec2_security_group_ids(&self) -> &[String]
pub fn ec2_security_group_ids(&self) -> &[String]
The EC2 security groups that control access to the studio component.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ec2_security_group_ids.is_none().
sourcepub fn launch_profile_id(&self) -> Option<&str>
pub fn launch_profile_id(&self) -> Option<&str>
The ID of the launch profile used to control access from the streaming session.
sourcepub fn launch_profile_protocol_version(&self) -> Option<&str>
pub fn launch_profile_protocol_version(&self) -> Option<&str>
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
sourcepub fn launch_purpose(&self) -> Option<&str>
pub fn launch_purpose(&self) -> Option<&str>
The launch purpose.
sourcepub fn platform(&self) -> Option<&LaunchProfilePlatform>
pub fn platform(&self) -> Option<&LaunchProfilePlatform>
The platform of the launch platform, either Windows or Linux.
sourcepub fn system_initialization_scripts(
&self,
) -> &[LaunchProfileInitializationScript]
pub fn system_initialization_scripts( &self, ) -> &[LaunchProfileInitializationScript]
The system initializtion scripts.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .system_initialization_scripts.is_none().
sourcepub fn user_initialization_scripts(
&self,
) -> &[LaunchProfileInitializationScript]
pub fn user_initialization_scripts( &self, ) -> &[LaunchProfileInitializationScript]
The user initializtion scripts.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .user_initialization_scripts.is_none().
source§impl LaunchProfileInitialization
impl LaunchProfileInitialization
sourcepub fn builder() -> LaunchProfileInitializationBuilder
pub fn builder() -> LaunchProfileInitializationBuilder
Creates a new builder-style object to manufacture LaunchProfileInitialization.
Trait Implementations§
source§impl Clone for LaunchProfileInitialization
impl Clone for LaunchProfileInitialization
source§fn clone(&self) -> LaunchProfileInitialization
fn clone(&self) -> LaunchProfileInitialization
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LaunchProfileInitialization
impl Debug for LaunchProfileInitialization
source§impl PartialEq for LaunchProfileInitialization
impl PartialEq for LaunchProfileInitialization
source§fn eq(&self, other: &LaunchProfileInitialization) -> bool
fn eq(&self, other: &LaunchProfileInitialization) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LaunchProfileInitialization
Auto Trait Implementations§
impl Freeze for LaunchProfileInitialization
impl RefUnwindSafe for LaunchProfileInitialization
impl Send for LaunchProfileInitialization
impl Sync for LaunchProfileInitialization
impl Unpin for LaunchProfileInitialization
impl UnwindSafe for LaunchProfileInitialization
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more