GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::Cloud9::CreateEnvironmentEC2(3) User Contributed Perl Documentation Paws::Cloud9::CreateEnvironmentEC2(3)

Paws::Cloud9::CreateEnvironmentEC2 - Arguments for method CreateEnvironmentEC2 on Paws::Cloud9

This 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.

    my $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>

The number of minutes until the running instance is shut down after the environment has last been used.

A 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.

The 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"

The description of the environment to create.

The 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

  • Amazon Linux (default): "amazonlinux-1-x86_64"
  • Amazon Linux 2: "amazonlinux-2-x86_64"
  • Ubuntu 18.04: "ubuntu-18.04-x86_64"

SSM paths

  • Amazon Linux (default): "resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64"
  • Amazon Linux 2: "resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64"
  • Ubuntu 18.04: "resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64"

REQUIRED InstanceType => Str

The type of instance to connect to the environment (for example, "t2.micro").

REQUIRED Name => Str

The name of the environment to create.

This name is visible to other IAM users in the same Amazon Web Services account.

The 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.

The ID of the subnet in Amazon VPC that Cloud9 will use to communicate with the Amazon EC2 instance.

An array of key-value pairs that will be associated with the new Cloud9 development environment.

This class forms part of Paws, documenting arguments for method CreateEnvironmentEC2 in Paws::Cloud9

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.