Method: Aws::Batch::Types::ComputeResourceUpdate#security_group_ids
- Defined in:
- lib/aws-sdk-batch/types.rb
#security_group_ids ⇒ Array<String>
The Amazon EC2 security groups that are associated with instances launched in the compute environment. This parameter is required for Fargate compute resources, where it can contain up to 5 security groups. For Fargate compute resources, providing an empty list is handled as if this parameter wasn’t specified and no change is made. For Amazon EC2 compute resources, providing an empty list removes the security groups from the compute resource.
When updating a compute environment, changing the Amazon EC2 security groups requires an infrastructure update of the compute environment. For more information, see [Updating compute environments] in the *Batch User Guide*.
[1]: docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 |
# File 'lib/aws-sdk-batch/types.rb', line 1424 class ComputeResourceUpdate < Struct.new( :minv_cpus, :maxv_cpus, :desiredv_cpus, :subnets, :security_group_ids, :allocation_strategy, :instance_types, :ec2_key_pair, :instance_role, :tags, :placement_group, :bid_percentage, :launch_template, :ec2_configuration, :update_to_latest_image_version, :type, :image_id) SENSITIVE = [] include Aws::Structure end |