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'); 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
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 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.
The description of the environment to create.
The type of instance to connect to the environment (for example, t2.micro).
t2.micro
The name of the environment to create.
This name is visible to other AWS IAM users in the same AWS account.
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.
The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.