![]() |
![]()
| ![]() |
![]()
NAMEPaws::Cloud9::CreateEnvironmentEC2 - Arguments for method CreateEnvironmentEC2 on Paws::Cloud9 DESCRIPTIONThis class represents the parameters used for calling the method CreateEnvironmentEC2 on the AWS Cloud9 service. Use the attributes of this class as arguments to method CreateEnvironmentEC2. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEnvironmentEC2. SYNOPSISmy $cloud9 = Paws->service('Cloud9'); # CreateEnvironmentEC2 my $CreateEnvironmentEC2Result = $cloud9->CreateEnvironmentEC2( 'AutomaticStopTimeMinutes' => 60, 'Description' => 'This is my demonstration environment.', 'InstanceType' => 't2.micro', 'Name' => 'my-demo-environment', 'OwnerArn' => 'arn:aws:iam::123456789012:user/MyDemoUser', 'SubnetId' => 'subnet-1fab8aEX' ); # Results: my $environmentId = $CreateEnvironmentEC2Result->environmentId; # Returns a L<Paws::Cloud9::CreateEnvironmentEC2Result> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/cloud9/CreateEnvironmentEC2> ATTRIBUTESAutomaticStopTimeMinutes => IntThe number of minutes until the running instance is shut down after the environment has last been used. ClientRequestToken => StrA unique, case-sensitive string that helps Cloud9 to ensure this operation completes no more than one time. For more information, see Client Tokens (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html) in the Amazon EC2 API Reference. ConnectionType => StrThe connection type used for connecting to an Amazon EC2 environment. Valid values are "CONNECT_SSH" (default) and "CONNECT_SSM" (connected through Amazon EC2 Systems Manager). For more information, see Accessing no-ingress EC2 instances with Amazon EC2 Systems Manager (https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html) in the Cloud9 User Guide. Valid values are: "CONNECT_SSH", "CONNECT_SSM" Description => StrThe description of the environment to create. ImageId => StrThe identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path. The default AMI is used if the parameter isn't explicitly assigned a value in the request. Because Amazon Linux AMI has ended standard support as of December 31, 2020, we recommend you choose Amazon Linux 2, which includes long term support through 2023. AMI aliases
SSM paths
REQUIRED InstanceType => StrThe type of instance to connect to the environment (for example, "t2.micro"). REQUIRED Name => StrThe name of the environment to create. This name is visible to other IAM users in the same Amazon Web Services account. OwnerArn => StrThe Amazon Resource Name (ARN) of the environment owner. This ARN can be the ARN of any IAM principal. If this value is not specified, the ARN defaults to this environment's creator. SubnetId => StrThe ID of the subnet in Amazon VPC that Cloud9 will use to communicate with the Amazon EC2 instance. Tags => ArrayRef[Paws::Cloud9::Tag]An array of key-value pairs that will be associated with the new Cloud9 development environment. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateEnvironmentEC2 in Paws::Cloud9 BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|