replaceComputeEnvironment

@JvmName(name = "woqkrhvrebuqofhb")
suspend fun replaceComputeEnvironment(value: Output<Boolean>)
@JvmName(name = "keosucmbrhypsqsr")
suspend fun replaceComputeEnvironment(value: Boolean?)

Parameters

value

Specifies whether the compute environment is replaced if an update is made that requires replacing the instances in the compute environment. The default value is true . To enable more properties to be updated, set this property to false . When changing the value of this property to false , do not change any other properties at the same time. If other properties are changed at the same time, and the change needs to be rolled back but it can't, it's possible for the stack to go into the UPDATE_ROLLBACK_FAILED state. You can't update a stack that is in the UPDATE_ROLLBACK_FAILED state. However, if you can continue to roll it back, you can return the stack to its original settings and then try to update it again. For more information, see Continue rolling back an update in the AWS CloudFormation User Guide . The properties that can't be changed without replacing the compute environment are in the ComputeResources property type: AllocationStrategy , BidPercentage , Ec2Configuration , Ec2KeyPair , Ec2KeyPair , ImageId , InstanceRole , InstanceTypes , LaunchTemplate , MaxvCpus , MinvCpus , PlacementGroup , SecurityGroupIds , Subnets , Tags , Type , and UpdateToLatestImageVersion .