The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

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.

SYNOPSIS

    my $cloud9 = Paws->service('Cloud9');
    my $CreateEnvironmentEC2Result = $cloud9->CreateEnvironmentEC2(
      InstanceType             => 'MyInstanceType',
      Name                     => 'MyEnvironmentName',
      AutomaticStopTimeMinutes => 1,                             # OPTIONAL
      ClientRequestToken       => 'MyClientRequestToken',        # OPTIONAL
      Description              => 'MyEnvironmentDescription',    # OPTIONAL
      OwnerArn                 => 'MyUserArn',                   # OPTIONAL
      SubnetId                 => 'MySubnetId',                  # OPTIONAL
    );

    # 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

ATTRIBUTES

AutomaticStopTimeMinutes => Int

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

ClientRequestToken => Str

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 (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html) in the Amazon EC2 API Reference.

Description => Str

The description of the environment to create.

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 AWS IAM users in the same AWS account.

OwnerArn => Str

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.

SubnetId => Str

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

SEE ALSO

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

BUGS and CONTRIBUTIONS

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