Sha256: e4ccfb1a169445a443cfdca64e41dec94c42268e67243d5f38e525985dc24f88

Contents?: true

Size: 1.2 KB

Versions: 56

Compression:

Stored size: 1.2 KB

Contents

Aws.config[:batch] = {
  stub_responses: {
    describe_compute_environments: {
      compute_environments: [
        {
          type: 'MANAGED',
          compute_environment_arn: 'arn:aws:batch:us-east-1:012345678910:compute-environment/P2OnDemand',
          compute_environment_name: 'P2OnDemand',
          compute_resources: {
            type: 'EC2',
            desiredv_cpus: 48,
            ec2_key_pair: 'id_rsa',
            instance_role: 'ecsInstanceRole',
            instance_types: %w[
              p2
            ],
            maxv_cpus: 128,
            minv_cpus: 0,
            security_group_ids: %w[
              sg-cf5093b2
            ],
            subnets: %w[
              subnet-220c0e0a
              subnet-1a95556d
              subnet-978f6dce
            ],
            tags: {
              'name' => 'Batch Instance - P2OnDemand'
            }
          },
          ecs_cluster_arn: 'arn:aws:ecs:us-east-1:012345678910:cluster/P2OnDemand_Batch_2c06f29d-d1fe-3a49-879d',
          service_role: 'arn:aws:iam::012345678910:role/AWSBatchServiceRole',
          state: 'ENABLED',
          status: 'VALID',
          status_reason: 'ComputeEnvironment Healthy'
        }
      ]
    }
  }
}

Version data entries

56 entries across 56 versions & 3 rubygems

Version Path
awspec-1.25.1 lib/awspec/stub/batch_compute_environment.rb
awspec-1.25.0 lib/awspec/stub/batch_compute_environment.rb
awspec-1.24.4 lib/awspec/stub/batch_compute_environment.rb
awspec-1.24.3 lib/awspec/stub/batch_compute_environment.rb
awspec-1.24.2 lib/awspec/stub/batch_compute_environment.rb
awspec-1.24.1 lib/awspec/stub/batch_compute_environment.rb
awspec-1.24.0 lib/awspec/stub/batch_compute_environment.rb
awspec-1.23.0 lib/awspec/stub/batch_compute_environment.rb
awspec-1.22.1 lib/awspec/stub/batch_compute_environment.rb
awspec-1.22.0 lib/awspec/stub/batch_compute_environment.rb
awspec-1.21.1 lib/awspec/stub/batch_compute_environment.rb
awspec-1.21.0 lib/awspec/stub/batch_compute_environment.rb
awspec-1.20.0 lib/awspec/stub/batch_compute_environment.rb
awspec-1.19.2 lib/awspec/stub/batch_compute_environment.rb
awspec-1.19.1 lib/awspec/stub/batch_compute_environment.rb
awspec-1.19.0 lib/awspec/stub/batch_compute_environment.rb
cthiesfork-awspec-1.2.4 lib/awspec/stub/batch_compute_environment.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/stub/batch_compute_environment.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/stub/batch_compute_environment.rb
awspec-1.18.6 lib/awspec/stub/batch_compute_environment.rb