#[non_exhaustive]pub struct CreateStudioComponentInput {Show 13 fields
pub client_token: Option<String>,
pub configuration: Option<StudioComponentConfiguration>,
pub description: Option<String>,
pub ec2_security_group_ids: Option<Vec<String>>,
pub initialization_scripts: Option<Vec<StudioComponentInitializationScript>>,
pub name: Option<String>,
pub script_parameters: Option<Vec<ScriptParameterKeyValue>>,
pub studio_id: Option<String>,
pub subtype: Option<StudioComponentSubtype>,
pub tags: Option<HashMap<String, String>>,
pub type: Option<StudioComponentType>,
pub secure_initialization_role_arn: Option<String>,
pub runtime_role_arn: Option<String>,
}
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.client_token: Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
configuration: Option<StudioComponentConfiguration>
The configuration of the studio component, based on component type.
description: Option<String>
The description.
ec2_security_group_ids: Option<Vec<String>>
The EC2 security groups that control access to the studio component.
initialization_scripts: Option<Vec<StudioComponentInitializationScript>>
Initialization scripts for studio components.
name: Option<String>
The name for the studio component.
script_parameters: Option<Vec<ScriptParameterKeyValue>>
Parameters for the studio component scripts.
studio_id: Option<String>
The studio ID.
subtype: Option<StudioComponentSubtype>
The specific subtype of a studio component.
A collection of labels, in the form of key-value pairs, that apply to this resource.
type: Option<StudioComponentType>
The type of 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 CreateStudioComponentInput
impl CreateStudioComponentInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn configuration(&self) -> Option<&StudioComponentConfiguration>
pub fn configuration(&self) -> Option<&StudioComponentConfiguration>
The configuration of the studio component, based on component type.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description.
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 initialization_scripts(&self) -> &[StudioComponentInitializationScript]
pub fn initialization_scripts(&self) -> &[StudioComponentInitializationScript]
Initialization scripts for studio components.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .initialization_scripts.is_none()
.
sourcepub fn script_parameters(&self) -> &[ScriptParameterKeyValue]
pub fn script_parameters(&self) -> &[ScriptParameterKeyValue]
Parameters for the studio component 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 .script_parameters.is_none()
.
sourcepub fn subtype(&self) -> Option<&StudioComponentSubtype>
pub fn subtype(&self) -> Option<&StudioComponentSubtype>
The specific subtype of a studio component.
A collection of labels, in the form of key-value pairs, that apply to this resource.
sourcepub fn type(&self) -> Option<&StudioComponentType>
pub fn type(&self) -> Option<&StudioComponentType>
The type of 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 CreateStudioComponentInput
impl CreateStudioComponentInput
sourcepub fn builder() -> CreateStudioComponentInputBuilder
pub fn builder() -> CreateStudioComponentInputBuilder
Creates a new builder-style object to manufacture CreateStudioComponentInput
.
Trait Implementations§
source§impl Clone for CreateStudioComponentInput
impl Clone for CreateStudioComponentInput
source§fn clone(&self) -> CreateStudioComponentInput
fn clone(&self) -> CreateStudioComponentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateStudioComponentInput
impl Debug for CreateStudioComponentInput
source§impl PartialEq for CreateStudioComponentInput
impl PartialEq for CreateStudioComponentInput
source§fn eq(&self, other: &CreateStudioComponentInput) -> bool
fn eq(&self, other: &CreateStudioComponentInput) -> bool
self
and other
values to be equal, and is used
by ==
.