instanceRole

@JvmName(name = "aqymrnlcclbisbjf")
suspend fun instanceRole(value: Output<String>)
@JvmName(name = "kueojntjehjacxxf")
suspend fun instanceRole(value: String?)

Parameters

value

The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. Required for Amazon EC2 instances. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, *ecsInstanceRole* or arn:aws:iam:: *<aws_account_id>* :instance-profile/ *ecsInstanceRole* . For more information, see Amazon ECS instance role in the AWS Batch User Guide . When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the AWS Batch User Guide .

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.