NAME
Paws::Batch::CreateComputeEnvironment - Arguments for method CreateComputeEnvironment on Paws::Batch
DESCRIPTION
This class represents the parameters used for calling the method CreateComputeEnvironment on the AWS Batch service. Use the attributes of this class as arguments to method CreateComputeEnvironment.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateComputeEnvironment.
As an example:
$service_obj->CreateComputeEnvironment(Att1 => $value1, Att2 => $value2, ...);
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.
ATTRIBUTES
REQUIRED ComputeEnvironmentName => Str
The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed.
ComputeResources => Paws::Batch::ComputeResource
Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments.
REQUIRED ServiceRole => Str
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
If your specified role has a path other than /
, then you must either specify the full role ARN (this is recommended) or prefix the role name with the path.
Depending on how you created your AWS Batch service role, its ARN may contain the service-role
path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN does not use the service-role
path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments.
State => Str
The state of the compute environment. If the state is ENABLED
, then the compute environment accepts jobs from a queue and can scale out automatically based on queues.
Valid values are: "ENABLED"
, "DISABLED"
REQUIRED Type => Str
The type of the compute environment.
Valid values are: "MANAGED"
, "UNMANAGED"
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateComputeEnvironment in Paws::Batch
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