pub struct CreateEnvironmentEC2Request {
pub automatic_stop_time_minutes: Option<i64>,
pub client_request_token: Option<String>,
pub description: Option<String>,
pub instance_type: String,
pub name: String,
pub owner_arn: Option<String>,
pub subnet_id: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Fields§
§automatic_stop_time_minutes: Option<i64>
The number of minutes until the running instance is shut down after the environment has last been used.
client_request_token: Option<String>
A unique, case-sensitive string that helps AWS Cloud9 to ensure this operation completes no more than one time.
For more information, see Client Tokens in the Amazon EC2 API Reference.
description: Option<String>
The description of the environment to create.
instance_type: String
The type of instance to connect to the environment (for example, t2.micro
).
name: String
The name of the environment to create.
This name is visible to other AWS IAM users in the same AWS account.
owner_arn: Option<String>
The Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any AWS IAM principal. If this value is not specified, the ARN defaults to this environment's creator.
subnet_id: Option<String>
The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
An array of key-value pairs that will be associated with the new AWS Cloud9 development environment.
Trait Implementations§
Source§impl Clone for CreateEnvironmentEC2Request
impl Clone for CreateEnvironmentEC2Request
Source§fn clone(&self) -> CreateEnvironmentEC2Request
fn clone(&self) -> CreateEnvironmentEC2Request
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more