#[non_exhaustive]pub struct LaunchProfileInitializationScript {
pub script: Option<String>,
pub studio_component_id: Option<String>,
pub studio_component_name: Option<String>,
pub secure_initialization_role_arn: Option<String>,
pub runtime_role_arn: Option<String>,
}
Expand description
The launch profile initialization script is used when start streaming session runs.
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.script: Option<String>
The initialization script.
studio_component_id: Option<String>
The unique identifier for a studio component resource.
studio_component_name: Option<String>
The name for the studio component.
secure_initialization_role_arn: Option<String>
An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.
runtime_role_arn: Option<String>
An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.
Implementations§
source§impl LaunchProfileInitializationScript
impl LaunchProfileInitializationScript
sourcepub fn studio_component_id(&self) -> Option<&str>
pub fn studio_component_id(&self) -> Option<&str>
The unique identifier for a studio component resource.
sourcepub fn studio_component_name(&self) -> Option<&str>
pub fn studio_component_name(&self) -> Option<&str>
The name for the studio component.
sourcepub fn secure_initialization_role_arn(&self) -> Option<&str>
pub fn secure_initialization_role_arn(&self) -> Option<&str>
An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.
sourcepub fn runtime_role_arn(&self) -> Option<&str>
pub fn runtime_role_arn(&self) -> Option<&str>
An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.
source§impl LaunchProfileInitializationScript
impl LaunchProfileInitializationScript
sourcepub fn builder() -> LaunchProfileInitializationScriptBuilder
pub fn builder() -> LaunchProfileInitializationScriptBuilder
Creates a new builder-style object to manufacture LaunchProfileInitializationScript
.
Trait Implementations§
source§impl Clone for LaunchProfileInitializationScript
impl Clone for LaunchProfileInitializationScript
source§fn clone(&self) -> LaunchProfileInitializationScript
fn clone(&self) -> LaunchProfileInitializationScript
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for LaunchProfileInitializationScript
impl PartialEq for LaunchProfileInitializationScript
source§fn eq(&self, other: &LaunchProfileInitializationScript) -> bool
fn eq(&self, other: &LaunchProfileInitializationScript) -> bool
self
and other
values to be equal, and is used
by ==
.